Page 1 of 1

ESP32-WROOM-32D debugging

Posted: Sun Aug 16, 2020 12:58 pm
by micronpn
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

Re: ESP32-WROOM-32D debugging

Posted: Mon Aug 17, 2020 7:59 am
by ESP_Sprite
Neither FT232 nor CP2101 boards support OpenOCD JTAG debugging. The only boards that do are boards containing e.g. a FT2232 chip.

Re: ESP32-WROOM-32D debugging

Posted: Mon Aug 17, 2020 2:54 pm
by micronpn
bad news..... so I should write a driver and a configuration file for OpenOCD to support it or connecting an external FTDI2232 board

Re: ESP32-WROOM-32D debugging

Posted: Tue Aug 18, 2020 7:48 pm
by ESP_Sprite
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.