Code doesn't seem to run Nucleo-F401RE

Post here all questions related to STM32 core if you can't find a relevant section!
Post Reply
Posts: 1
Joined: Fri Jul 17, 2020 10:47 am

Code doesn't seem to run Nucleo-F401RE

Post by quasio »

Hi All,
been trying to get this STM32 Nucleo - F401RE working. Downloaded the stm32 core libraries (1.9.0) for arduino 1.8.9.

Managed to update STLink to V2.J37.M26 ( attached picture) as the flasher asked to.
flashed_stlink.png (42.39 KiB) Viewed 529 times
The settings i used to flash:
settings.jpg (58.42 KiB) Viewed 529 times
And then it seemed to be able to flash the Nucleo F401RE using STM32Cubeprogrammer(SWD) , the default program of blinking led light dissapeared.
flashswd.png (24.88 KiB) Viewed 529 times
However it doesn't seem the program runs. I did the default blink led sketch and nothing, and then tried to look at the serial monitor (for other programs with serial.println and also nothing.)

Anyone know what i'm doing wrong?

(thanks in advance)

User avatar
Posts: 746
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 27
Location: Le Mans

Re: Code doesn't seem to run Nucleo-F401RE

Post by fpiSTM »


all seems right. I've tested with the latest STLink FW V2.J37.M26 and it works.

Did you made some change on the jumper configuration or soldier bridge?

Could you try with the mass storage upload method ?

Post Reply

Return to “General discussion”