Page 1 of 1

Nucleo F411RE + Arduino 2.1.1: bad combination?

Posted: Thu Sep 05, 2024 6:29 am
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

Re: Nucleo F411RE + Arduino 2.1.1: bad combination?

Posted: Fri Jan 10, 2025 3:35 am
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.

Re: Nucleo F411RE + Arduino 2.1.1: bad combination?

Posted: Fri Jan 10, 2025 8:54 am
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.