Skip to main content
prasanth
Visitor II
August 6, 2012
Question

STM32F4 discovery and Keil + GCC

  • August 6, 2012
  • 1 reply
  • 780 views
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
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
August 6, 2012
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 VenmoUp vote any posts that you find helpful, it shows what's working..