cancel
Showing results for 
Search instead for 
Did you mean: 

Error while firmware loading

tk446
Associate
Posted on December 09, 2014 at 12:34

Hello all

I am working on STM32F4 Discovery board. I loaded a firmware on my board and it worked fine. Now I want to load new firmware which must be overwritten on previous one. When I load it says

''Loading Section .isr_vector, size 0x2724 lma 0x8000000

Load failed''.

Do I need to reset board configuration in some way.? or do I need to erase previous firmware first? or is there any other action which must be applied before this operation?

Thanks

Tarun

#stm32f4 #eeprom #discovery #flash #stm32f #rewrite #tags-are-pointless
2 REPLIES 2
Posted on December 09, 2014 at 13:05

Not sure what tools you're using, or what settings the ST-LINK has.

Try ''Connect Under Reset'', SWD mode, or pull BOOT0 High to defeat issues were user code is breaking SWD/JTAG connectivity. Erase the user code and start over.

Only SWD mode is supported. You can break the SWD interface in several ways in your code, low-power modes, reconfiguring the GPIO pins, etc. Try to avoid those.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tk446
Associate
Posted on December 11, 2014 at 12:27

Thanks for replying. I erased flash with STM32 ST-LINK Utility software and then tried to load and It works...!!

Thanks

Tarun