Nucleo F411RE and serial

All about boards manufactured by ST
Post Reply
Kenjutsu
Posts: 27
Joined: Tue Apr 07, 2020 10:58 am
Answers: 2

Nucleo F411RE and serial

Post by Kenjutsu »

Hello everyone

I dusted off my Nucleo F411RE board today to get it working again with STM32 Core. I can upload via the onboard ST-Link (after the firmware update) and Mass Storage. My question is where does Serial.print output go? There is a serial port (/dev/cu.XXXX) but no output appears there.

What am I missing? ;)
by Kenjutsu » Wed Jun 03, 2020 4:01 pm
fpiSTM wrote: Wed Jun 03, 2020 2:14 pm So simply set USB support to None and then this should be ok.
Thank you, that did the trick 8-)
Go to full post
Pieter

OSX: 11.6.8
Arduino IDE: 1.8.19
PlatformIO: 6.1.4
STM32 Core: 2.3.0
Get a $5 off coupon on your first purchase at Kaiweets
Kaiweets Affordable & Smart Electrical Testing Tools
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Nucleo F411RE and serial

Post by fpiSTM »

Hi kenjutsu

I don't remember which dev format it is on Mac, anyway it is simple to find which one it is.
List all /dev/* with the board disconnected then with the board connected and check the diff.
The port should also be listed in Arduino, if not there is a issue.
Which Arduino IDE version you used ? Did you select the right baudrate?
Kenjutsu
Posts: 27
Joined: Tue Apr 07, 2020 10:58 am
Answers: 2

Re: Nucleo F411RE and serial

Post by Kenjutsu »

Thank you for the reply,

Under /dev are two entries related to the F411RE:
  • /dev/tty.usbmodemFA13123
  • /dev/cu.usbmodemFA13123
Under Arduino -> Tools I have the following settings:
Arduino_Tools_Settings.jpg
Arduino_Tools_Settings.jpg (48.88 KiB) Viewed 7837 times
/dev/cu.usbmodemFA13123 is automatically selected and is also the only option available. The same happens under CoolTerm.

I create a new Blink example with the following in setup():

Code: Select all

Serial.begin(115200);
and in loop():

Code: Select all

Serial.println("Toggle LED");
I upload to the board and start the Serial Monitor and nothing is displayed. The same for CoolTerm. The connection to the serial port is fine. The ST-Link V2.1 is at firmware V2J37M26
Pieter

OSX: 11.6.8
Arduino IDE: 1.8.19
PlatformIO: 6.1.4
STM32 Core: 2.3.0
Get a $5 off coupon on your first purchase at Kaiweets
Kaiweets Affordable & Smart Electrical Testing Tools
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Nucleo F411RE and serial

Post by fpiSTM »

The Nucleo F411RE has no real USB connector.
The USB connector available is for the STLink and the VCP com port created forward the data of a real USART.

So simply set USB support to None and then this should be ok.
Kenjutsu
Posts: 27
Joined: Tue Apr 07, 2020 10:58 am
Answers: 2

Re: Nucleo F411RE and serial

Post by Kenjutsu »

fpiSTM wrote: Wed Jun 03, 2020 2:14 pm So simply set USB support to None and then this should be ok.
Thank you, that did the trick 8-)
Pieter

OSX: 11.6.8
Arduino IDE: 1.8.19
PlatformIO: 6.1.4
STM32 Core: 2.3.0
Get a $5 off coupon on your first purchase at Kaiweets
Kaiweets Affordable & Smart Electrical Testing Tools
Sleipnir164
Posts: 1
Joined: Tue Mar 08, 2022 9:56 pm

Re: Nucleo F411RE and serial

Post by Sleipnir164 »

Hello,

I've got the same problem about not seeing anything in the serial com port.
Setting USB support to None didn't help me.
I'm using a stm32 nucleo f411re and the latest version of ardiuno IDE on windows.
Anyone willing to help ?
Post Reply

Return to “STM boards (Discovery, Eval, Nucleo, ...)”