× Debug Port Termite Setup

Yuktix PCB Debugging

When things go wrong, we need to get debug logs from the devices and send it to support for troubleshooting. All Yuktix PCB provide useful information about operations on the DEBUG PORT. When extra tracing is needed, a debug version of the hex file can be loaded. To get debug messages, we need a serial cable to connect to the debug port of the PCB (refer to pcb guides) and a serial terminal on the PC.


Cable connection

We recommend using FTDI USB-RS232-WE cable. This cable has USB on one end and 4-wire pigtails on the other end. The 4-wire pigtails are color coded. The details of the DEBUG PORT are available in individual PCB guides.

Red
Vcc NC Do not connect
Orange
Tx MCU Rx
Yellow
Rx MCU Tx
Black
GND  

Setup Serial terminal on PC

We recommend using termite software on the PC. You can use any other serial terminal too but then you have to translate the instructions for the tool of your choice. You can download termite from their website. Here is an annotated screenshot of Termite application screen on PC showing useful features.

Termite settings Termite settings
  • set the baud rate to 38400
  • set communication for 8N1 data
  • select the appropriate port for communication
Steps to communicate
  1. Check the details of DEBUG PORT in PCB pinout diagram
  2. Connect DEBUG cable to the device debug port like explained above
  3. Power ON the PCB
  4. Connect DEBUG cable to your PC
  5. Find COM port of USB cable in your device drivers window
  6. Open Termite and set PORT and change baud rate to 38400. set communication for 8N1
  7. Press reset and you should see message from yuktix logger program.

Common gotchas