openocd/jtag no thread access
Posted: Sun Jul 23, 2017 6:58 pm
Hello,
after launching openocd I get no access to threads.
openocd -s ./tcl -f ./esp32.cfg
Lines like:
Info : esp32.cpu0: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32.cpu0: Core was reset (pwrstat=0x5F, after clear 0x0F).
missing.
After Running xtensa-esp32-elf-gdb -ex 'target remote localhost:3333' ./build/blink.elf I got this additional:
Sdkconfig settings enable openocd/jtag seems enabled.
Any Ideas?
regards,
linuxpaul
after launching openocd I get no access to threads.
openocd -s ./tcl -f ./esp32.cfg
Code: Select all
Open On-Chip Debugger 0.10.0-dev-gb5ec731f (2017-07-23-00:08)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 200 kHz
force hard breakpoints
Info : clock speed 200 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.cpu0: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32.cpu0: Core was reset (pwrstat=0x5F, after clear 0x0F).
missing.
After Running xtensa-esp32-elf-gdb -ex 'target remote localhost:3333' ./build/blink.elf I got this additional:
Code: Select all
Info : accepting 'gdb' connection on tcp/3333
Info : Set current thread to 0x00000000, old= 0x00000000
Warn : xtensa_read_memory: esp32: target not halted
Error: Could not read FreeRTOS thread count from target
Any Ideas?
regards,
linuxpaul