Unable to program ESP32-SOLO-1 using JTAG

ajaykk
Posts: 4
Joined: Fri Oct 05, 2018 2:34 pm
Location: India

Unable to program ESP32-SOLO-1 using JTAG

Postby ajaykk » Thu Oct 11, 2018 6:35 am

I am trying to program a bare esp32-solo-1 module through JTAG. I am using ESP-WROVER-KIT v3 for JTAG programming but could not program, getting this message:-

Code: Select all

$~/esp/openocd-esp32/bin/openocd -s ~/esp/openocd-esp32/share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg -c "program_esp32 build/app-template.bin 0x10000 verify exit"

Open On-Chip Debugger 0.10.0-dev (2018-09-20-12:52)Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
esp32 interrupt mask on
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 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
cpu0: Current bits set: none
cpu1: Current bits set: BreakIn
Info : JTAG tap: esp32.cpu0 tap/device found: 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
cpu0: Current bits set: none
cpu1: Current bits set: BreakIn
Error: timed out while waiting for target halted / 1 - 2
Error: timed out while waiting for target halted / 1 - 2
Error: timed out while waiting for target halted / 1 - 2


also I tried enabling single core mode in menuconfig and uncommenting set ESP32_ONLYCPU 1 in esp-wroom-32.cfg, but nothing changed.

BTW I am able to flash program through serial bootloader.

Who is online

Users browsing this forum: ESP_Alvin and 12 guests