ESP32-WROOM-32D debugging

micronpn
Posts: 7
Joined: Sun Aug 16, 2020 12:48 pm

ESP32-WROOM-32D debugging

Postby micronpn » Sun Aug 16, 2020 12:58 pm

I bought a HiLetGo ESP-32S module based on ESP32-WROOM-32D module. On the board there is a Silicon Labs CP2102 USB to serial converter instead of FTDI232 used in the past in the same module. The problem is that I am not able to setup Eclipse to manage the CP2102 so actually I am not able to start a debugging session. I am searching for documentation about how to setup OpenOCD for te CP2102 or a ready to use configuration file.
Thanks

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-WROOM-32D debugging

Postby ESP_Sprite » Mon Aug 17, 2020 7:59 am

Neither FT232 nor CP2101 boards support OpenOCD JTAG debugging. The only boards that do are boards containing e.g. a FT2232 chip.

micronpn
Posts: 7
Joined: Sun Aug 16, 2020 12:48 pm

Re: ESP32-WROOM-32D debugging

Postby micronpn » Mon Aug 17, 2020 2:54 pm

bad news..... so I should write a driver and a configuration file for OpenOCD to support it or connecting an external FTDI2232 board

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-WROOM-32D debugging

Postby ESP_Sprite » Tue Aug 18, 2020 7:48 pm

I'd go with the 2nd option; even if you'd succeed in fixing up a driver somehow, your devboard doesn't have the connections to the JTAG pins required.

Who is online

Users browsing this forum: No registered users and 56 guests