Page 1 of 1

ESP32-LyraT-Mini V1.2 - JTAG setup

Posted: Thu Mar 26, 2020 3:53 pm
by J.Lunz
Hi:

I am trying to setup JTAG on a ESP32-LyraT-Mini V1.2 with an FTDI-2232H-module.

I get the following output:

Code: Select all

openocd -f board/esp32-wrover-kit-1.8v.cfg 
Open On-Chip Debugger  v0.10.0-esp32-20191114 (2019-11-14-14:15)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 1000 kHz
Info : Configured 2 cores
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: type 'esp32' is missing virt2phys
Info : clock speed 1000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x0b000059 (mfg: 0x02c (Micron Technology), part: 0xb000, ver: 0x0)
Warn : JTAG tap: esp32.cpu0       UNEXPECTED: 0x0b000059 (mfg: 0x02c (Micron Technology), part: 0xb000, ver: 0x0)
Error: JTAG tap: esp32.cpu0  expected 1 of 1: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : TAP esp32.cpu1 does not have IDCODE
Info : TAP auto0.tap does not have IDCODE
Info : TAP auto1.tap does not have IDCODE
Info : TAP auto2.tap does not have IDCODE
Info : TAP auto3.tap does not have IDCODE
Info : TAP auto4.tap does not have IDCODE
Info : TAP auto5.tap does not have IDCODE
Info : TAP auto6.tap does not have IDCODE
Info : TAP auto7.tap does not have IDCODE
Info : TAP auto8.tap does not have IDCODE
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu1: IR capture error; saw 0x18 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Listening on port 3333 for gdb connections
Adding a SD-card changes the tap-section output like this:

Code: Select all

Info : JTAG tap: esp32.cpu0 tap/device found: 0x4c000099 (mfg: 0x04c (SCI), part: 0xc000, ver: 0x4)
Warn : JTAG tap: esp32.cpu0       UNEXPECTED: 0x4c000099 (mfg: 0x04c (SCI), part: 0xc000, ver: 0x4)
Error: JTAG tap: esp32.cpu0  expected 1 of 1: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
So I suspect the SD-Interface is interfering, do I just need to remove R128 or is there another way setting it up?
sd_io13.png
sd_io13.png (11.08 KiB) Viewed 1847 times
Thanks a lot,
Julian