ESP32 JTAG Debugging using low cost FT232H breakout board and VisualGDB

The purpose of this post is to document the process of programming a ESP32 DEVKIT V1 clone board using VS2017, a cheap FT232H breakout board and VisualGDB.

The steps to get running are:

  1. Connect the hardware
  2. Install VisualGDB
  3. Load an example (blink?)

Hardware

The hardware is based on a CJMCU FT232H breakout board.

Connection diagram:

Untitled

AD0 TCK Out GPIO13
Clock Signal Output
AD1 TDI Out GPIO12 Serial Data Out
AD2 TDO In GPIO15 Serial Data In
AD3 TMS Out GPIO14
Select Signal Out
AC1 nSRST In/Out CHIP_PU
General Purpose I/O

VisualGDB

I am using VisualGDB 5.4 preview 1 build 2126.

Configuration:

OpenOCD interface script: ftdi/um232h.cfg

Untitled

Blink

Using this setup it was possible to single step through code.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s