2010-10-19 12:40 PM
Total noob at this, trying to (re-)build and launch the demo code on the Discovery board as a baseline.
I'm running under Windows XP, downloaded and installed
Atollic TrueSTUDIO lite.
Discovery board is connected via USB cable, and happily runs its default program.
I succeeded in opening and (at least apparently) building the project, but what now?
When I select Run, I get ''Unable To Launch: The selection cannot be launched, and there are no recent launches.'' popup.
Is there a simple, clear, step-by-step beginner's guide to operating the tools?
Thanks!
Dave
2010-10-20 03:11 PM
I've tried to install 1.3.0 and 1.4.0, neither installed properly on my system, and the thing is huge and slow. I'm underwhelmed..
Download the 32KB demo/eval of Keil's uv4, it builds the VL demo with pretty much zero effort. Use debug to download and run as the ST-LINK driver is a bit buggy.2010-10-20 09:19 PM
.
2010-10-21 01:21 PM
I'll give it a try. First time I looked at Keil, it didn't appear that their toolset supported the STM32 family. Are the eval limitations significant?
Thanks,
Dave
2010-10-21 01:43 PM
I'll give it a try. First time I looked at Keil, it didn't appear that their toolset supported the STM32 family. Are the eval limitations significant?
The Link/Debug is limited to 32 KB of object code. The printf()/scanf() work, and it can output .HEX files. There is a nag message that comes up when you start the debugger, and the link output indicates how much code has been generated. It's bundled with a lot of the dev kits, although for the VL you have to download it. 4.11 or 4.12 should both work. The STM32 has been supported since 3.xx something, and Keil has their own STM32 dev board. A 256KB version is available for about $2900. Cheaper options worth considering are Rowley, and WinARM2010-10-21 02:45 PM
Ouch! $2900 to support a $10 dev board!
OK, downloaded and installed fine. I see some examples for various STM32F1xx devices and boards, but how do I configure it to talk to the Discovery board?
As I said, I'm totally new to this board and obviously to the tool, as well.
All I want to do to start with, is to rebuild the Discovery board's button/LED demo code, flash it, and then start to make incremental changes.
Dave
2010-10-21 04:22 PM
So presuming you have the VL firmware source, including the demo app, you need to open the project in the Project\Demo\MDK-ARM directory. Make sure the options for the project have the ST-LINK selected for Debug, along with checking ''load application at startup''. Build the project, then Debug -> Start/Stop, then Run.
2010-10-22 09:38 AM
Yes!! Thank you, Clive!
I very much appreciate your help...
Dave
2010-10-22 09:46 AM
''Ouch! $2900 to support a $10 dev board!''
No, of course not! It's $2900 to support any ARM-based chip with up to 256K of code!2010-10-22 09:55 AM
The full version is $5K, then again the Green Hills equivalent is about $20K