cancel
Showing results for 
Search instead for 
Did you mean: 

My STM32F303RE wont load any bin files. It shows zero bytes available. I tried using ST link to flash the MCU, However it doesnt detect the MC. Your help would be appreciated.

Posted on May 08, 2017 at 00:01

I tried to load a bin file I created for my project onto the STM32 F303re. The moment I tried to load it, it showed zero bytes available. I am unable to load any program onto the microcontroller since due to this issue.

3 REPLIES 3
S.Ma
Principal
Posted on May 08, 2017 at 12:54

Maybe try to enter bootloader mode to mass erase the device in non user mode. 

AvaTar
Lead
Posted on May 08, 2017 at 13:27

Sounds like you are talking about an Arduino or mbed bootloader, which appears as Mass Storage Device.

Try a debug pod (JTAG/SWD) from a C/C++ IDE, or the ST-Link Utility from ST..

Posted on May 08, 2017 at 14:39

Most current ST-LINK Utilities, update firmware, do a full/mass erase of the part.

Then reflect on what your code is doing that might break the debug interface, ie reconfiguring the pins, putting the device in low power mode, etc.

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