Nucleo F411RE + Arduino 2.1.1: bad combination?

Working libraries, libraries being ported and related hardware
Post Reply
Wally76
Posts: 1
Joined: Thu Sep 05, 2024 12:06 am

Nucleo F411RE + Arduino 2.1.1: bad combination?

Post by Wally76 »

Hi all, my first post here!

I would like to use Nucleo F411RE for some projects, but I am struggling in making it working...

Nucleo F411RE with ST-Link upgraded to latest FW, board pops-up as mass storage.

I have to use Arduino 2.1.1, since my old laptop has Win7.
Installed STM32 package, set the board as Nuclo-64, Nucleo-F411RE, on COM11.
Loaded Blink sketch: compile and upload seem to succeed, embedded ST-link bicolor LED blinks during flashing.
But LD2 is dead. Changed LED_BUILTIN with D13 & PA_5, nothing...

Tried another example: communication --> graph. Again, complie & upload successful.
Serial Monitor in 2.1.1 gives an EOF error, I read it is a bug fixed with later versions... That I cannot use.
Connected wx Terminal to check incoming data, but no activity over COM11...

Am I missing something? :?

Thank you!
Walter
Plicated
Posts: 1
Joined: Thu Dec 12, 2024 3:30 am
Location: https://planet-clicker.com/

Re: Nucleo F411RE + Arduino 2.1.1: bad combination?

Post by Plicated »

The LD2 not blinking issue may have been changed from LED_BUILTIN` to `D13` and `PA_5`. Your pins need to be correct. STM32 boards may have different pin mappings than regular Arduino boards, so you should double check your pin configuration. Use `PC13` for the default built-in LED.
fpiSTM
Posts: 1944
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 108
Location: Le Mans
Contact:

Re: Nucleo F411RE + Arduino 2.1.1: bad combination?

Post by fpiSTM »

PA_5 is not correct syntax, use PA5.
If you well select the Nucleo F411RE in the IDE, LED_NUILTIN is properly set to the correct value.

https://github.com/stm32duino/Arduino_C ... #L101-L104

About Serial, it is ok, unfortunately, win7 is old and support has been dropped. So hard to help.
Post Reply

Return to “Libraries & Hardware”