Hi I have the below setup
Jlink + ESP32-DevKit-C + OpenOCD on Ubuntu 14.04 64 bit and I am not able to setup a breakpoint and I see few errors
I have enabled panic handler behaviour to Invoke GDBStub . I have attached the logs for openocd, debugger, esp32 .
Thanks
Not able to use JTAG and Debugger on Linux
Not able to use JTAG and Debugger on Linux
- Attachments
-
- openocd log.txt
- (19.58 KiB) Downloaded 635 times
-
- esp32 log.txt
- (2.62 KiB) Downloaded 621 times
-
- debugger log.txt
- (2.85 KiB) Downloaded 617 times
Re: Not able to use JTAG and Debugger on Linux
An Update on this ,
I have changed the adapter frequency to 2MHz as per the post ( https://github.com/espressif/openocd-esp32/issues/15)and it started working somehow , but I got a new error and after setting a break point and continuously pressing 'C' on gdb i received below error on
openocd :
Info : Target halted. PRO_CPU: PC=0x400D23CB (active) APP_CPU: PC=0x400E183A
Error: Error reading FreeRTOS thread name
gdb :
35 printf("GPIO : %d \n",BLINK_GPIO);
(gdb) c
Continuing.
Target halted. PRO_CPU: PC=0x400D23CB (active) APP_CPU: PC=0x400E183A
Could you please me this.
Thanks,
Karim
I have changed the adapter frequency to 2MHz as per the post ( https://github.com/espressif/openocd-esp32/issues/15)and it started working somehow , but I got a new error and after setting a break point and continuously pressing 'C' on gdb i received below error on
openocd :
Info : Target halted. PRO_CPU: PC=0x400D23CB (active) APP_CPU: PC=0x400E183A
Error: Error reading FreeRTOS thread name
gdb :
35 printf("GPIO : %d \n",BLINK_GPIO);
(gdb) c
Continuing.
Target halted. PRO_CPU: PC=0x400D23CB (active) APP_CPU: PC=0x400E183A
Could you please me this.
Thanks,
Karim
Re: Not able to use JTAG and Debugger on Linux
in board/esp-wroom-32.cfg
refer Configuration of OpenOCD for specific targe under tips and tricks
Code: Select all
# If single core debugging is required, uncomment the following line
# set ESP32_ONLYCPU 1
# To disable RTOS support, uncomment the following line
set ESP32_RTOS none #<--- uncomment here
# Tell OpenOCD which SPI flash voltage is used by the board (3.3 or 1.8)
Who is online
Users browsing this forum: Baidu [Spider] and 100 guests