cancel
Showing results for 
Search instead for 
Did you mean: 

IAR + STM32VLDISCOVERY won't flash MCU

milan
Associate II
Posted on October 11, 2010 at 12:53

Hi,

i have a problem with this evalution board. I opened the project in EWARM 5.50 and tried to Download & Debug the base project(with blinking diodes), but i get this error message

Failed to load flash loader ..../FlashSTM32F100xB.flash

The debugging session could not be started. Either the debugger initialisation failed or the output file ..../DISCOVER.out was corrupted.

in the debug log window is

Loaded macro file: C:\IAR Systems\Embedded Workbench 5.4_2\arm\config\flashloader\ST\FlashSTM32F10xxx.mac

Failed to load flash loader: C:\IAR Systems\Embedded Workbench 5.4_2\arm\config\flashloader\ST\FlashSTM32F100xB.out

Failed to load flash loader: C:\IAR Systems\Embedded Workbench 5.4_2\arm\config\flashloader\ST\FlashSTM32F100xB.flash

Debugging without downloading works.

Can somebody help me pls?

#ewarm #stm32vldiscovery
2 REPLIES 2
gdoura.marwa
Associate II
Posted on October 12, 2010 at 17:37

Hi,

This is a known bug in EWARM 5.50 with value line flashloader. It is fixed in EWARM5.50.5.

I advise you, if possible, to upgrade your EWARM version to 5.50.5 (available on IAR web site: www.iar.com).

Else , you can use the attached patch to fix this problem with your installed version. It contains a readme that explains hosw to use it.

Hope this helps,

regards,

VLINE.

milan
Associate II
Posted on October 12, 2010 at 18:06

Thank you! this solved my problem.