LyraT mini JTAG issues

theturai
Posts: 1
Joined: Thu Nov 25, 2021 12:23 am

LyraT mini JTAG issues

Postby theturai » Thu Nov 25, 2021 12:31 am

I can't seem to get JTAG working on these boards, both of them are brand new. I'm sure it's wired up right and the exact same setup works fine with a cheap aliexpress ESP32 board. Found something about a resistor near the sd slot, R128 but I'm not sure which one it is. I'll desolder it if that's a must, just a 0R so a solder bridge later might do if I need the SD.
This is what openocd says:

Code: Select all

Open On-Chip Debugger  v0.10.0-esp32-20210401 (2021-04-01-15:46)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : J-Link EDU Mini V1 compiled Nov  2 2021 11:12:01
Info : Hardware version: 1.00
Info : VTarget = 3.293 V
Info : clock speed 1000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x00020005 (mfg: 0x002 (AMI), part
: 0x0020, ver: 0x0)
Warn : JTAG tap: esp32.cpu0       UNEXPECTED: 0x00020005 (mfg: 0x002 (AMI), part
: 0x0020, ver: 0x0)
Error: JTAG tap: esp32.cpu0  expected 1 of 1: 0x120034e5 (mfg: 0x272 (Tensilica)
, part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0xffffffff (mfg: 0x7ff (<invalid>)
, part: 0xffff, ver: 0xf)
Warn : JTAG tap: esp32.cpu1       UNEXPECTED: 0xffffffff (mfg: 0x7ff (<invalid>)
, part: 0xffff, ver: 0xf)
Error: JTAG tap: esp32.cpu1  expected 1 of 1: 0x120034e5 (mfg: 0x272 (Tensilica)
, part: 0x2003, ver: 0x1)
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu1: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Listening on port 3333 for gdb connections
Info : JTAG tap: esp32.cpu0 tap/device found: 0x00020005 (mfg: 0x002 (AMI), part
: 0x0020, ver: 0x0)
Warn : JTAG tap: esp32.cpu0       UNEXPECTED: 0x00020005 (mfg: 0x002 (AMI), part
: 0x0020, ver: 0x0)
Error: JTAG tap: esp32.cpu0  expected 1 of 1: 0x120034e5 (mfg: 0x272 (Tensilica)
, part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0xffffffff (mfg: 0x7ff (<invalid>)
, part: 0xffff, ver: 0xf)
Warn : JTAG tap: esp32.cpu1       UNEXPECTED: 0xffffffff (mfg: 0x7ff (<invalid>)
, part: 0xffff, ver: 0xf)
Error: JTAG tap: esp32.cpu1  expected 1 of 1: 0x120034e5 (mfg: 0x272 (Tensilica)
, part: 0x2003, ver: 0x1)
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu1: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error during pretty printers setup: Undefined info command: "pretty-printer".  Try "help info".

Some features and performance optimizations will not be available.

Info : esp32.cpu0: Debug controller was reset.
Error: Couldn't halt target before SoC reset

GDB Server stopped, exit code 1
com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver$GDBCommandException: tcp:localhost:3333: No connection could be made because the target machine actively refused it.
Debugger disconnected

Process finished with exit code 0

Who is online

Users browsing this forum: No registered users and 73 guests