Using Esp32 board to debug another boards with UART communication.
- Programming a ESP32 board with this code.
- Connect wire on RX2 in ESP32.
- Connect another side of this wire on target board pin that send debug info as UART.
- Connect GND of Esp32 with GND of target board
- Connect USB on Esp32 to power up.
- Open Putty, set Connection Type to Serial.
- Set Com Port of ESP32 device, eg. COM3
- Set speed to 115200 (same speed of target board to debug)
- Connect!
- The debug log should be show