Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 months ago.
How to prevent F411RE delete bin files?
Hi!
I notice my F411RE delete all the bin files every time I unplug its power supply. How can I stop it from doing this?
Thanks
Question relating to:
1 Answer
8 years, 10 months ago.
It should delete its bin files everytime it programs itself. If it does not, then what you see is just an artifact of your OS buffering the contents on a USB drive, showing you files which aren't there. Even if you press refresh the contents, an OS will not reload the values from the USB drive, and it will just show you what it thinks is there. I don't have the F411, and to be fair never checked it myself on Nucleo boards, but the general workaround used for that by mbed boards is disabling its USB drive shortly when a new bin file is dragged onto it, and re-enabling it again.
So the TL;DR is: This is normal, it does not have the memory to actually store old bin files. It however should still run its last bin file when you unplug its power supply and plug it in again.