cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 discovery and Keil + GCC

prasanth
Associate
Posted on August 06, 2012 at 15:25

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-uvision
1 REPLY 1
Posted on August 06, 2012 at 16:58

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..