Closed 5ami closed 7 months ago
Extra note: I have a costume partition table in csv format.
@5ami Before getting into detail, can you update your OpenOCD to the latest release and share the verbose logs with -d3 option? Also, it might be useful to see your idf application boot logs.
@5ami do you still have an issue?
Thanks for reporting. Feel free to re-open if you still have an issue.
Development Kit
Customs Board
Module or chip used
ESP32s3 Chip
Debug Adapter
esp32s3 on-chip JTAG
OpenOCD version
v0.11.0-esp32-20220706
Operating System
Windows
Using an IDE ?
VScode with ESP-IDF extension
OpenOCD command line
openocd -f board/esp32s3-builtin.cfg
JTAG Clock Speed
40000 kHz
ESP-IDF version
v5.0
Problem Description
I have a costume board with esp32s3 chip (not a wroom). I could flash software for it using the USB/JTAG, however I cant get the Debuger connected to it. I get Failed To init Debug adapter (Failed to get flash maps, failed to get flash size).
With the same menuconfig settings, same environment and same software uploaded, the debugger works with other esspressif boards.
The only difference is that My costume board has a 512KB flash. and the log from openOCD says: [OpenOCD] ❌ Error: Failed to get flash maps (4294967295)! Warn : Failed to get flash mappings (-4)!
[OpenOCD] Info : [esp32s3.cpu0] Target halted, PC=0x403B2482, debug_reason=00000001
[OpenOCD] ❌ Error: Failed to get flash size!
[OpenOCD] Info : [esp32s3.cpu0] Target halted, PC=0x403B2482, debu [OpenOCD] g_reason=00000001
[OpenOCD] ❌ Error: Failed to get flash size! Error: Failed to probe flash, size 0 KB [OpenOCD] ❌
Debug Logs
Expected behavior
The debugger should connect.
Screenshots
No response