Garbled Characters in ESP-IDF with MacBook
Posted: Thu Jan 07, 2021 6:41 am
Hello forum,
I get the garbled characters when I enter the following command in ESP-IDF:
idf.py -p [PORT] -b 115200 monitor
( PORT is the serial port number of my PC. )
I set the baud rate to 115200 in both of the menuconfig and my source code.
In addition, I set the Main_XTAL_frequency to 40 MHz, 26 MHz and Autodetect.
But, all attempts are bad, I get the above garbled characters.
---my environment---
[Macbook Pro 16inch.]---[USB-c and USB-A converter made by Apple]---[USB-A and USB-microB cable]---[e-puck2 robot]
( e-puck2 robot is an autonomous mobile robot have the ESP32 for communicating other robots.)
Why do I get the garbled characters?
Is the USB-C and USB-A converter bad?
Please share some idea to solve this problem.
I get the garbled characters when I enter the following command in ESP-IDF:
idf.py -p [PORT] -b 115200 monitor
( PORT is the serial port number of my PC. )
I set the baud rate to 115200 in both of the menuconfig and my source code.
In addition, I set the Main_XTAL_frequency to 40 MHz, 26 MHz and Autodetect.
But, all attempts are bad, I get the above garbled characters.
---my environment---
[Macbook Pro 16inch.]---[USB-c and USB-A converter made by Apple]---[USB-A and USB-microB cable]---[e-puck2 robot]
( e-puck2 robot is an autonomous mobile robot have the ESP32 for communicating other robots.)
Why do I get the garbled characters?
Is the USB-C and USB-A converter bad?
Please share some idea to solve this problem.