ESP32-S3 USB-JTAG
Posted: Sun Jan 16, 2022 3:04 pm
Dear,
I want to use a external ESP-Prog for debugging, but the esp does not respond. Following the datasheet the setup should be correct, with setting the GPIO3 pin high over a pull-up resistor. After running openocd with: the output is following:
It seems if still the builtin debugger would be selected since running:
still works.
Additionally, I would like to know what is the disadvantage of using the builtin debugger? In openocd v0.10.0-esp32-20211111 I have received the message that its recommended to disable flash support, would this apply also to the USB-JTAG? However, this message has now disappeared in v0.11.
I want to use a external ESP-Prog for debugging, but the esp does not respond. Following the datasheet the setup should be correct, with setting the GPIO3 pin high over a pull-up resistor. After running openocd with:
Code: Select all
openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32s3-ftdi.cfg
Code: Select all
Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Warn : Interface already configured, ignoring
DEPRECATED! use 'adapter speed' not 'adapter_khz'
adapter speed: 5000 kHz
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 5000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32s3.cpu0: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : target esp32s3.cpu0 examination failed
Warn : target esp32s3.cpu1 examination failed
Info : starting gdb server for esp32s3.cpu0 on 3333
Info : Listening on port 3333 for gdb connections
Code: Select all
openocd -f board/esp32s3-builtin.cfg
Additionally, I would like to know what is the disadvantage of using the builtin debugger? In openocd v0.10.0-esp32-20211111 I have received the message that its recommended to disable flash support, would this apply also to the USB-JTAG? However, this message has now disappeared in v0.11.