cancel
Showing results for 
Search instead for 
Did you mean: 

Problem loading code

msanchez
Associate II
Posted on November 24, 2015 at 09:51

Hello,

I' m programming stm32f103RB and my code goes well but I'm doing some changes and when I try to load the code the IAR show my this error:

* Programming failed @address 0x0800400 (program error)

I don't know what can I do because the code was ok. Also I try to load others codes which go good but the error is the same. Maybe the microcontroller is wrong?

Thank you.
1 REPLY 1
Posted on November 24, 2015 at 13:37

You might want to double check what STM32 core the programming thinks it is dealing with. You could erase the chip and see if that helps.

If you are using an ST-LINK, you could use the Utilities to erase/program/verify the chip.

Really not enough context here to know what you're doing wrong, or why it is failing.

It could be a chip issue, but I'd have to eliminate all user induced failures first.

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