I have a development system running with a ESP32-DevKitC-32U core. It has a JTAG interface on the PCB connected to the ESP32-PROG programmer. It has worked flawlessly for 6 months (Visual Studio; running Visual Micro Arduino extension).
I recently purchased an ESP32-DevKitC-32E core. It fails to connect to the JTAG interface (It does work via the USB interface). The pinout is the same. I get the following error:
----
Uploading 'TitanRev05' to 'ESP32 Dev Module' using 'ESP32 PROG'
Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 2000 kHz
esp32 interrupt mask on
****[vMicro]**** Uploading App :Error: cpu0: xtensa_write_memory (line 802): DSR (FFFFFFFF) indicates target still busy!
Error: cpu0: xtensa_write_memory (line 802): DSR (FFFFFFFF) indicates DIR instruction generated an exception!
Error during upload using programmer
The uploader process failed
The uploader process failed
The uploader returned an error
Error: cpu0: xtensa_write_memory (line 802): DSR (FFFFFFFF) indicates DIR instruction generated an overrun!
Error: xtensa_write_uint32_list: error writing to 3ff48000
in procedure 'program'
embedded:startup.tcl:480: Error: ** Unable to reset target **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 505
at file "embedded:startup.tcl", line 480
---
Any suggestions would be appreciated, Thanks, David
JTAG Interface; fails on ESP32-DevKitC-32E (works on 32U)
-
- Posts: 10
- Joined: Sun May 22, 2022 9:51 pm
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: JTAG Interface; fails on ESP32-DevKitC-32E (works on 32U)
Are you sure there's no program in flash that reconfigures the JTAG GPIO pins?
-
- Posts: 10
- Joined: Sun May 22, 2022 9:51 pm
Re: JTAG Interface; fails on ESP32-DevKitC-32E (works on 32U)
This is a brand new module from Mouser Electronics. I will try again with a different module. I will program via Arduino with a running example program, which will set all the pin designations and attempt the JTAG interface.
Thanks, David
Thanks, David
-
- Posts: 10
- Joined: Sun May 22, 2022 9:51 pm
Re: JTAG Interface; fails on ESP32-DevKitC-32E (works on 32U)
I am now using a ESP32-DevKitC-32EU, as the E device is not longer available. Same error as the E device.
I would like to resolve this, as I have a new project to start soon.
--
The 32U device works just fine. I have two ESP-PROG; same results for both.
Error:
Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 2000 kHz
esp32 interrupt mask on
****[vMicro]**** Uploading App :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
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
Error during upload using programmer
The uploader process failed
The uploader process failed
The uploader returned an error
Any suggestions appreciated. Thanks, David
I would like to resolve this, as I have a new project to start soon.
--
The 32U device works just fine. I have two ESP-PROG; same results for both.
Error:
Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 2000 kHz
esp32 interrupt mask on
****[vMicro]**** Uploading App :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
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
Error during upload using programmer
The uploader process failed
The uploader process failed
The uploader returned an error
Any suggestions appreciated. Thanks, David
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: JTAG Interface; fails on ESP32-DevKitC-32E (works on 32U)
It's impossible to tell from here, sorry... if your ESP32 program for sure doesn't reconfigure the JTAG pins, this is a hardware error somewhere.
-
- Posts: 10
- Joined: Sun May 22, 2022 9:51 pm
Re: JTAG Interface; fails on ESP32-DevKitC-32E (works on 32U)
I have a complete controller that the ESP32 mounts to, with a JTAG interface.
Install a ESP32 U device (ESP32-DevKitC-32U); program and debug in Visual Studio/Visual Micro. Works perfectly.
Install a ESP32 UE device (ESP32-DevKitC-32UE); program and debug in Visual Studio/Visual Micro. Fails with the above mentioned error message.
Unless the logic or pinouts have changed for UE vs U, I have no explanation.
David
Install a ESP32 U device (ESP32-DevKitC-32U); program and debug in Visual Studio/Visual Micro. Works perfectly.
Install a ESP32 UE device (ESP32-DevKitC-32UE); program and debug in Visual Studio/Visual Micro. Fails with the above mentioned error message.
Unless the logic or pinouts have changed for UE vs U, I have no explanation.
David
Who is online
Users browsing this forum: No registered users and 258 guests