TTGO board JTAG with FT2232H

tabulous
Posts: 34
Joined: Thu Nov 14, 2019 8:58 am

TTGO board JTAG with FT2232H

Postby tabulous » Mon Dec 16, 2019 5:07 pm

Can anyone point me in the right direction to get this working.

have installed espidf. start xtensa-esp32-elf-gdb and send target remote :3333

i.e.
(gdb) target remote :3333
Remote debugging using :3333
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Remote replied unexpectedly to 'vMustReplyEmpty': PacketSize=3fff;qXfer:memory-map:read+;qXfer:features:read-;qXfer:threads:read+;QStartNoAckMode+;vContSupported+
(gdb)


openocd -f interface/ftdi/minimodule.cfg -f board/esp-wroom-32.cfg
Open On-Chip Debugger v0.10.0-esp32-20191114 (2019-11-14-14:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
adapter speed: 500 kHz
Info : Configured 2 cores
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: type 'esp32' is missing virt2phys
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : clock speed 500 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: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : Target halted. CPU0: PC=0x400916EE (active)
Info : Target halted. CPU1: PC=0x40000400
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: No symbols for FreeRTOS
Info : cpu0: Target halted, PC=0x400916EA, debug_reason=00000001
Info : Flash mapping 0: 0x20010 -> 0x3f400010, 12 KB
Info : Flash mapping 1: 0x30018 -> 0x400d0018, 57 KB
Info : cpu0: Target halted, PC=0x400916EA, debug_reason=00000001
Info : Auto-detected flash bank 'esp32.flash' size 4096 KB
Info : Using flash bank 'esp32.flash' size 4096 KB
Info : cpu0: Target halted, PC=0x400916EA, debug_reason=00000001
Info : Flash mapping 0: 0x20010 -> 0x3f400010, 12 KB
Info : Flash mapping 1: 0x30018 -> 0x400d0018, 57 KB
Info : Using flash bank 'esp32.irom' size 60 KB
Info : cpu0: Target halted, PC=0x400916EA, debug_reason=00000001
Info : Flash mapping 0: 0x20010 -> 0x3f400010, 12 KB
Info : Flash mapping 1: 0x30018 -> 0x400d0018, 57 KB
Info : Using flash bank 'esp32.drom' size 16 KB
Warn : negative reply, retrying
Warn : negative reply, retrying
Warn : negative reply, retrying
Info : dropped 'gdb' connection

tabulous
Posts: 34
Joined: Thu Nov 14, 2019 8:58 am

Re: TTGO board JTAG with FT2232H

Postby tabulous » Tue Dec 17, 2019 8:41 am

bump

tabulous
Posts: 34
Joined: Thu Nov 14, 2019 8:58 am

Re: TTGO board JTAG with FT2232H

Postby tabulous » Tue Dec 17, 2019 9:57 am

just getting this

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\LTrueman>openocd -f interface/ftdi/minimodule.cfg -f target/esp32.cfg
Open On-Chip Debugger v0.10.0-esp32-20191114 (2019-11-14-14:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20 kHz
Info : Configured 2 cores
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: type 'esp32' is missing virt2phys
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : clock speed 20 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: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : Listening on port 3333 for gdb connections
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : esp32: Debug controller 0 was reset.
Error: Exception reading depc!
Info : Target halted. CPU0: PC=0x00000000 (active)
Info : Target halted. CPU1: PC=0x00000000
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : esp32: Debug controller 0 was reset.
Info : esp32: Core 0 was reset.
Info : esp32: Debug controller 0 was reset.

Who is online

Users browsing this forum: AndrewLevel100, Bing [Bot] and 99 guests