开发板:ESP32-S2-saola-1_V1.2
开发环境安装方式:esp-idf-tools-setup-offline-2.8.exe
安装后是 v4.2版本
开发环境 :eclipse
使用j-li
nk调试时出现以下问题,未找到原因:
Code: Select all
Open On-Chip Debugger v0.10.0-esp32-20200709 (2020-07-09-08:54)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 9600 kHz
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connec
tions
Info : Listening on port 4444 for telnet connections
Info : J-Link V9 compiled Dec 13 2019 11:14:50
Info : Hardware version: 9.20
Info : VTarget = 3.301 V
Info : clock speed 9600 kHz
Info : JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32s2: Target halted, PC=0x400314A4, debug_reason=00000001
Info : Detected ESP32-S2 chip
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: No symbols for FreeRTOS
Error: esp32s2: DSR (8000CC13) indicates DIR instruction generated an exception!
Warn : esp32s2: Failed reading 5284 bytes at address 0x40030000
Error: no working area available, can't alloc space for stub code!
Error: Failed to load stub (-308)!
Error: Algorithm run failed (-308)!
Error: Failed to run flasher stub (-308)!
Warn : Failed to get flash mappings (-308)!
Error: esp32s2: DSR (8000CC13) indicates DIR instruction generated an exception!
Warn : esp32s2: Failed reading 5284 bytes at address 0x40030000
Error: no working area available, can't alloc space for stub code!
Error: Failed to load stub (-308)!
Error: Algorithm run failed (-308)!
Error: Failed to run flasher stub (-308)!
Error: esp32s2: DSR (8000CC13) indicates DIR instruction generated an exception!
Warn : esp32s2: Failed reading 5284 bytes at address 0x40030000
Error: no working area available, can't alloc space for stub code!
Error: Failed to load stub (-308)!
Error: Algorithm run failed (-308)!
Error: Failed to run flasher stub (-308)!
Error: Failed to probe flash, size 0 KB
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected