cancel
Showing results for 
Search instead for 
Did you mean: 

mbed Nucleo64 F401RE: Binary file gets flashed but doesn't run

eightbit
Associate

I have compiled some code on the mbed online compiler and copied the binary code onto the mbed Nucleo64 F401RE board. The LED on the ST_Link board starts blinking for a few seconds, and then the binary file disappears from the USB drive. I assume that my code has been flashed, but actually the previous code keeps running, even if I power-cycle the board or press the reset button. This is 100% reproducible. The ST-Link firmware has already been updated with the latest version.

2 REPLIES 2

> actually the previous code keeps running

How do you know?

Try some "known good" binary, a blinky for example.

JW

eightbit
Associate

Hi Jan,

-- exactly that's what I did. I tried the above with a short demo that blinks a simple pattern on the user LED.

Instead the previous blink pattern remains: 3 short LED pulses, 4 long LED pulses alternating.

I suppose this is the original demo program that's installed by ST during production of the board.

Thanks & best regards,

eightbit