cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to load flash loader with STM32F4 Discovery

dfranch6
Associate
Posted on March 31, 2012 at 23:17

Hello, 

I am using STM32F4 Discovery for a DSP project at my University. The professor uses the previous version of Discovery with the Cortex-M3. When I tried running his project on my board I get the following message when I try to download and debug using EWARM:

Sat Mar 31, 2012 17:42:02: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\config\flashloader\ST\FlashSTM32F4xxx.flash 

Then I tried running other example projects, specific to the STM32F4, and always got the same error. I never ran anything besides the example pre-loaded software that came with the board.

I can't find any useful information on the internet about how I can solve this. The other thread about this topic hasn't a solution.

#stm32f4-discovery-st-link
2 REPLIES 2
Posted on April 01, 2012 at 16:39

I guess the first place to start is with the drivers, ensure SWD mode is selected, and also try the ST-LINK utilities.

http://www.st.com/internet/evalboard/product/251168.jsp

http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/stm32_st-link_utility.zip

http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DRIVER/st-link_v2_usbdriver.zip

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
dfranch6
Associate
Posted on April 02, 2012 at 03:51

The problem was the driver. It wasn't installed correctly, so I had to reinstall it. I spent just too much time trying to find out what was wrong with the flash loader. 

Thank you very much. :)