Nucleo F411RE and serial

All about boards manufactured by ST
Post Reply
Kenjutsu
Posts: 12
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: 10.13.6
Arduino IDE: 1.8.12
PlatformIO: 4.3.3
STM32 Core: 1.9.0

User avatar
fpiSTM
Posts: 851
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 33
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: 12
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 1449 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: 10.13.6
Arduino IDE: 1.8.12
PlatformIO: 4.3.3
STM32 Core: 1.9.0

User avatar
fpiSTM
Posts: 851
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 33
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: 12
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: 10.13.6
Arduino IDE: 1.8.12
PlatformIO: 4.3.3
STM32 Core: 1.9.0

Post Reply

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