Page 1 of 1

Using ESP WROVER KIT for debugging with Jtag: Found No symbol for FreeRTOS

Posted: Thu Jun 20, 2019 11:38 am
by manish_kumar
Hi all,
I am using ESP WROVER kit for debugging. I pass the following instructions as:

Code: Select all

openocd -f interface/ftdi/esp32_devkitj_v1.cfg -c 'set ESP32_ONLYCPU 1' -f board/esp32-wrover.cfg

user@user:~/esp/openocd-esp32$ src/openocd -s tcl -f interface/ftdi/esp32_devkitj_v1.cfg -c 'set ESP32_ONLYCPU 1' -f board/esp32-wrover.cfg
Open On-Chip Debugger v0.10.0-esp32-20190313-12-g1821e343 (2019-06-19-19:11)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
1
adapter speed: 20 kHz
Warn : Interface already configured, ignoring
none separate
Info : Configured 1 cores
esp32 interrupt mask on
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 20 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: auto0.tap tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 5 -expected-id 0x120034e5"
Info : Detected debug stubs @ 3ffb27a8 on core0 of target 'esp32'
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: No symbols for FreeRTOS
Info : Target halted. PRO_CPU: PC=0x400E2796

Code: Select all

xtensa-esp32-elf-gdb -ex 'target remote localhost:3333' ./examples/get-started/blink/build/blink.elf
Meanwhile the gdb logs are as:

user@user:~/esp/esp-idf/examples/get-started/blink$ xtensa-esp32-elf-gdb -x gdbinit build/blink.elf
GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-build_pc-linux-gnu --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/blink.elf...done.
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
gdbinit:1: Error in sourced command file:
Bogus trace status reply from target: timeout
(gdb)


I'm using Linux mint 19 system.
The error message is "No symbol for FreeRTOS"
How can i fix that error.

Re: Using ESP WROVER KIT for debugging with Jtag: Found No symbol for FreeRTOS

Posted: Mon Nov 18, 2019 7:22 am
by Terry.Yao
I also met this issue when run debugger from command-line, is there any method to fix this issue?
log likes below:
$ xtensa-esp32-elf-gdb -x gdbinit build/mc_iot.elf
GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/mc_iot.elf...done.
gdbinit:1: Error in sourced command file:
:3333: The system tried to join a drive to a directory on a joined drive.
(gdb)