cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ellaine
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
berendi
Principal

> 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.

View solution in original post

3 REPLIES 3
berendi
Principal

> 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
Associate II

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

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