Skip to main content
eightbit
Associate
July 22, 2021
Question

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

  • July 22, 2021
  • 2 replies
  • 947 views

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.

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
July 22, 2021

> actually the previous code keeps running

How do you know?

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

JW

eightbit
eightbitAuthor
Associate
July 25, 2021

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