Page 1 of 1

How to use Serial Monitor on STM32F407VG Black Board

Posted: Sat Dec 14, 2024 7:45 am
by narendra.desilva
Hi

I am new to STM32 on Arduino. I am trying to program STM32F407VG Diymore black board using Arduino. Could someone please help me understand the serial monitor to be connected to Arduino? At the moment I am programming STM32 by the USB Mini. The USB port on this board cannot operate on the Serial Monitor as it is connected as USB port but not as a COM port. Could someone please help me use the serial monitor? Without the serial monitor, it has been a mess to develop programs.

Regards

Re: How to use Serial Monitor on STM32F407VG Black Board

Posted: Sat Dec 14, 2024 8:32 am
by GonzoG
In ide, menu -> tools set USB mode to CDC (supersede Serial) and it will connect to PC with COM prot.
Then use it as with any Arduino board: Serial.begin(1); (with USB there's no baud rate) and Serial.print();

Re: How to use Serial Monitor on STM32F407VG Black Board

Posted: Sat Dec 14, 2024 4:41 pm
by narendra.desilva
Hi

Thanks a lot. It worked. Thanks again and it is really great to have this forum.
have a nice day
Regards