cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK V2/IAR not programming?

alexanders.farley9
Associate II
Posted on November 28, 2012 at 22:36

I'm trying to upload a ChibiOS demo to the STM32F3 Discovery board. The project builds fine under IAR and appears to connect & program correctly over the onboard ST-LINK. However, when I change the code (i.e. comment out everything, etc) , the board still seems to behave the same so I believe it's not really being programmed. 

Is there something I have to do other than Project -> Download & Debug?

Both jumpers are on the ST-LINK/Discovery header. 

2 REPLIES 2
Posted on November 29, 2012 at 00:47

Well you'll want to make sure you're targeting FLASH and not RAM. That you have not selected a simulated target. And the code is located at the base of FLASH, and not dependent on a Boot Loader.

You could also erase the flash.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
alexanders.farley9
Associate II
Posted on November 29, 2012 at 16:28

That did it, thanks for the help sir.