cancel
Showing results for 
Search instead for 
Did you mean: 

AN3990: Upgrade STM32F4DISCOVERY board firmware using a USB key.

magnus2
Associate II
Posted on May 06, 2016 at 15:57

Hi ,

I'm trying to Upgrade STM32F4DISCOVERY board firmware using a USB key, like

AN3990.

At the USB key I have ''STM32F4-Discovery_MEMS_0x08008000.bin'' renamed to

''image.bin''

I'am using .dfu and .bin form :

https://github.com/rowol/stm32_discovery_arm_gcc/tree/master/STM32F4-Discovery_FW_V1.1.0/Project/FW_upgrade/Binary

#an3990-bootloader-usb-key
3 REPLIES 3
Posted on May 06, 2016 at 16:40

I suspect you'll want to build the code yourself and use a debugger?

You can also add diagnostic output via a serial port or SWV to understand what's going on internally.

Try other flash drives, I think the read me alludes to certain drives not working due to their design, etc. ST has historic problems dealing with storage devices >2-4GB

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
magnus2
Associate II
Posted on May 07, 2016 at 21:21

Hi Clive1!

Thanks for your answer!

Do you know how to change the source code of AN3990 to make it support bigger USB keys? For example 4 GB.

Do you know where to find a CooCox project of the AN3990? 

Regards

Magn

Posted on May 08, 2016 at 02:37

Just skimmed the MSC HOST code, looks to handle block rather than byte offsets, so should work >2GB

Sorry I don't use CooCox

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