2020-07-08 10:45 PM
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.)
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?
Solved! Go to Solution.
2020-07-08 11:45 PM
> 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.
2020-07-08 11:45 PM
> 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.
2020-07-09 01:35 AM
I changed "/dev/sdc" to "/dev/ttyACM0", and it showed the correct message. Thanks.
2020-07-09 01:36 AM
I changed "/dev/sdc" to "/dev/ttyACM0", and it showed the correct message. Thanks.