cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino serial Monitor / STM32 Nucleo equivalent ?

LHerm.1
Associate III

Hello everyone, I would like to know wath's the STM32 equivalent of the serial monitor on Arduino .. Wath's the simpliest way to display integer value like temp or number with a nucleoF401re stuff ?

Thank a lot for your responses !

1 ACCEPTED SOLUTION

Accepted Solutions
Javier1
Principal

With arduino you dont have access to all the cool debugger capabilities of stm32.

You can stop the code and create halt points, thats very handy.

  1. If you hate the debugger you can use a USB-UART converter
  2. if you need the mcu not to be interrupted you could use stmstudio (the debugger will try to fish in real time your variables directly from memory)
  3. if a console is what you need you could use printf() to the stm32cubeide console
we dont need to firmware by ourselves, lets talk

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

The easiest way is the virtual COM port. It tunnels the connected UART from the target (here STM32F401) via USB and makes its data available to every terminal running on the host. These data could e.g. be sent from the target UART with printf.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Javier1
Principal

With arduino you dont have access to all the cool debugger capabilities of stm32.

You can stop the code and create halt points, thats very handy.

  1. If you hate the debugger you can use a USB-UART converter
  2. if you need the mcu not to be interrupted you could use stmstudio (the debugger will try to fish in real time your variables directly from memory)
  3. if a console is what you need you could use printf() to the stm32cubeide console
we dont need to firmware by ourselves, lets talk
LHerm.1
Associate III

Thank for your responses. It helps me a lot !!