2012-03-31 02:17 PM
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-link2012-04-01 07:39 AM
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
2012-04-01 06:51 PM
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. :)