cant open the stm32f401cc serial terminal

Post here first, or if you can't find a relevant section!
Post Reply
leonardo
Posts: 18
Joined: Sat Mar 06, 2021 2:37 pm

cant open the stm32f401cc serial terminal

Post by leonardo »

my board is stm32f401cc,and IDE is PlatformIO in vscode.
Image
When I build and upload the code (via serial port), I open the monitor with serial port but can't see any data, thanks for your help

Code: Select all

#include <Arduino.h>
void setup() {

Serial.begin(9600);

}

void loop() 
{

    Serial.println(" Hello Arduino ");

}
This is what I have after opening the serial monitor

Code: Select all

--- Terminal on /dev/cu.SLAB_USBtoUART | 9600 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
Attachments
截屏2022-08-13下午5.43.19.png
截屏2022-08-13下午5.43.19.png (40.85 KiB) Viewed 972 times
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: cant open the stm32f401cc serial terminal

Post by GonzoG »

What are your board settings ??
As Serial might be USB Serial, not UART.
leonardo
Posts: 18
Joined: Sat Mar 06, 2021 2:37 pm

Re: cant open the stm32f401cc serial terminal

Post by leonardo »

GonzoG wrote: Sat Aug 13, 2022 10:40 am What are your board settings ??
As Serial might be USB Serial, not UART.
hi,thanks.my board setting is UART.
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: cant open the stm32f401cc serial terminal

Post by GonzoG »

UART what ??
Post Reply

Return to “General discussion”