Skip to main content
Ellaine
Associate II
July 9, 2020
Solved

How should I set the config of minicom to get the correct message from NUCLEO-F746ZG?

  • July 9, 2020
  • 2 replies
  • 4609 views

I have searched lots of articles, and followed their approach, but minicom still show garbled. (I tried teraterm on windows before. Its message is correct.)

0693W000001sUYFQA2.png

The following is my command lines:

---------------------------------------------------------

$ sudo minicom -s

Serial port setup >

  | A -  Serial Device   : /dev/sdc

  | B - Lockfile Location   : /var/lock

  | C -  Callin Program   :

  | D - Callout Program   :

  | E -  Bps/Par/Bits    : 115200 8N1

  | F - Hardware Flow Control : No

  | G - Software Flow Control : No 

---------------------------------------------------------

I'm pretty sure the config is equal to my USART3 setting:

---------------------------------------------------------

/* USER CODE END USART3_Init 1 */

 huart3.Instance = USART3;

 huart3.Init.BaudRate = 115200;

 huart3.Init.WordLength = UART_WORDLENGTH_8B;

 huart3.Init.StopBits = UART_STOPBITS_1;

---------------------------------------------------------

Is there any step I lost?

This topic has been closed for replies.
Best answer by berendi

> A -  Serial Device   : /dev/sdc

/dev/sdc is a hard disk or some other mass storage device. You are actually seeing its boot sector in the terminal. Try with a serial port instead.

2 replies

berendi
berendiAnswer
Principal
July 9, 2020

> A -  Serial Device   : /dev/sdc

/dev/sdc is a hard disk or some other mass storage device. You are actually seeing its boot sector in the terminal. Try with a serial port instead.

Ellaine
EllaineAuthor
Associate II
July 9, 2020

I changed "/dev/sdc" to "/dev/ttyACM0", and it showed the correct message. Thanks.

Ellaine
EllaineAuthor
Associate II
July 9, 2020

I changed "/dev/sdc" to "/dev/ttyACM0", and it showed the correct message. Thanks.