2012-08-06 06:25 AM
Can anyone give me exact steps to use STM32F4 Discovery - M4 board with, Keil and GCC? I am not able to download it (I am new to ST too, but I want to do some programming with GCC on M4) via ST_LINK, it says could not flash board. When I don't check on flash, it connects via debugger, but the debug doesn't happen with my code - it just shows erased memory.
Thanks
#keil-uvision2012-08-06 07:58 AM
Make sure the project has the correct CPU, and defines. Is it a project you built from scratch?
Make sure you've specified a flash algorithm for the part, check things like ''Update Target before Debugging'' and ''Load Application at Startup'' Use ''ST-Link (Deprecated Version)'' if using v4.5x, and SWD mode.