TUMPA and JTAG

pokmo6
Posts: 5
Joined: Thu Jul 13, 2017 11:42 pm

TUMPA and JTAG

Postby pokmo6 » Mon Jul 31, 2017 1:37 pm

Hi

I'm having a tough time trying to setup TUMPA with a ESP-WROOM-32 breakout on OSX 10.12.6, but I'm stuck with the "all ones" error:

"Error: JTAG scan chain interrogation failed: all ones"

I believe I have the wiring correct, because I get the "all zeroes" error when I ground TDO:

"Error: JTAG scan chain interrogation failed: all zeroes"

The VTAR_PWD led is lid and the VT-SEL jumper is set to pin 1 and pin 2 position (I've tried pin 2 and pin 3 as well, but to no avail). Does anyone know what I might be missing? Here's a photo of the jumper settings:

Image

I'm running openocd using 'openocd -s ./tcl -f esp32.cfg'. Here's the full error log:

Code: Select all

Open On-Chip Debugger 0.10.0-dev-g4106faa5 (2017-07-30-23:42)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 200 kHz
force hard breakpoints
Info : clock speed 200 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 : esp32: Debug controller was reset (pwrstat=0xFF, after clear 0xFF).
Info : esp32: Core was reset (pwrstat=0xFF, after clear 0xFF).
Error: cpu0: esp32_fetch_all_regs (line 163): DSR (FFFFFFFF) indicates target still busy!
Error: cpu0: esp32_fetch_all_regs (line 163): DSR (FFFFFFFF) indicates DIR instruction generated an exception!
Error: cpu0: esp32_fetch_all_regs (line 163): DSR (FFFFFFFF) indicates DIR instruction generated an overrun!
Error: cpu0: esp32_fetch_all_regs (line 190): DSR (FFFFFFFF) indicates target still busy!
Error: cpu0: esp32_fetch_all_regs (line 190): DSR (FFFFFFFF) indicates DIR instruction generated an exception!
Error: cpu0: esp32_fetch_all_regs (line 190): DSR (FFFFFFFF) indicates DIR instruction generated an overrun!
Error: Exception reading pc!

Info : Target halted. PRO_CPU: PC=0x00000000             APP_CPU: PC=0x00000000 (active)
Error: cpu0: xtensa_write_memory (line 696): DSR (FFFFFFFF) indicates target still busy!
Error: cpu0: xtensa_write_memory (line 696): DSR (FFFFFFFF) indicates DIR instruction generated an exception!
Error: cpu0: xtensa_write_memory (line 696): DSR (FFFFFFFF) indicates DIR instruction generated an overrun!
Warn : esp32: Failed writing 4 bytes at address 0x3FF5F064, data - a1, 3a, d8, 50, a1, 3a, d8, 50
embedded:startup.tcl:21: Error:
in procedure 'init'
in procedure 'ocd_bouncer'
in procedure 'flash'
in procedure 'ocd_bouncer'
in procedure 'esp_core_halt'
in procedure 'esp32' called at file "./tcl/target/esp32.cfg", line 44
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
My esp32.cfg looks like:

Code: Select all

source [find interface/ftdi/tumpa.cfg]
# The ESP32 only supports JTAG.
transport select jtag
adapter_khz 200
source [find target/esp32.cfg]
esp32 flashbootstrap 1.8
Any help would be much appreciated!
Last edited by pokmo6 on Tue Aug 01, 2017 10:24 am, edited 2 times in total.

xrCyhxcPN
Posts: 6
Joined: Sun Jul 23, 2017 8:43 am

Re: TUMPA and JTAG

Postby xrCyhxcPN » Tue Aug 01, 2017 9:04 am

Hi,

have you double checked the JTAG PIN connection? Attached you will find my cabling (esp32 DEV C).
I am not using this entry in the config:

Code: Select all

esp32 flashbootstrap 1.8
HTH
br
Patrick
Attachments
33F67653-67E2-4235-96EF-90E27EBBA1A2.JPG
33F67653-67E2-4235-96EF-90E27EBBA1A2.JPG (1.9 MiB) Viewed 6738 times

pokmo6
Posts: 5
Joined: Thu Jul 13, 2017 11:42 pm

Re: TUMPA and JTAG

Postby pokmo6 » Tue Aug 01, 2017 3:06 pm

xrCyhxcPN wrote:Hi,

have you double checked the JTAG PIN connection? Attached you will find my cabling (esp32 DEV C).
I am not using this entry in the config:

Code: Select all

esp32 flashbootstrap 1.8
HTH
br
Patrick
Thanks for posting your setup. Now I'm quite certain my wiring and jumper settings are correct. Perhaps my TUMPA is a dud. I'll ask csbooth and see if I can get a replacement...

Who is online

Users browsing this forum: No registered users and 140 guests