-1

I am new in microcontroller and I was trying to send data from stm32F407VG to usb serial port connected to st-link using usart2 and HAL. I tried to print the data received on PuTTy . On PuTTyI set my port which is /dev/ttyACM0 and selected the baud rate as 9600 which is matching with the baud rate of my stm32F4 board.

But PuTTy is not showing anything, Note that I am using Linux Mint.

Can anyone help me out ?

DextroLaev
  • 106
  • 6

1 Answers1

-1

You cannot send data using HAL_UART via ST-Link. ST-Link provides only Serial Wire Debugging/Trace. You should select different UART/USART port to connect your PC's com port.

Edit: Grammer

daaarwiin
  • 127
  • 1
  • 13