JTAG on LyraT-Mini v1.2

l.wuyts
Posts: 7
Joined: Wed Mar 24, 2021 12:48 pm

JTAG on LyraT-Mini v1.2

Postby l.wuyts » Thu Mar 25, 2021 7:44 am

Hello everyone,

I'm trying to use the JTAG interface of the LyraT-Mini developement board, but I can't seem to get it working.
I saw in the schematic that some pins of the JTAG are shared with the SD card interface, does this conflict when using JTAG?

Do I need to remove the 0 ohm resistors to the SD card interface to be able to flash the ESP32 over JTAG?
I'm using a J-Link Ultra+ with the winUSB driver and openocd.

This is my openocd output:

Code: Select all

> Executing task in folder IPROG-80LANBOARD-T1-APP: openocd -f interface/jlink.cfg -f esp32-openocd.cfg <

Open On-Chip Debugger  v0.10.0-esp32-20200709 (2020-07-09-08:54)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Warn : Transport "jtag" was already selected
Info : Configured 2 cores
Info : Listening on port 6666 for tcl connections   
Info : Listening on port 4444 for telnet connections
Info : J-Link Ultra V5 compiled Aug 24 2020 10:18:43
Info : Hardware version: 5.00
Info : VTarget = 3.269 V
Info : clock speed 10000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: No symbols for FreeRTOS
Error: Target not examined yet
Error executing event gdb-attach on target esp32:

Error: Target not halted
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
If anyone has any clues please let me know. :)

Kind regards
Laurens

Who is online

Users browsing this forum: Google [Bot] and 63 guests