Replies: 1 comment
-
I think you should build elf in debug mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, since the esp32s3 boards support built-in USB and JTAG support, I'm trying to come up with a reliable way to live debug with GDB, but am not having much luck. Would love to hear from anyone who has been able to use GDB with an esp32s3.
For my attempts, I'm using the Unexpected Maker FeatherS3 board. Here is what I'm doing:
make BOARD=UM_FEATHERS3
esptool.py --chip esp32s3 --port /dev/cu.usbmodem1101 erase_flash
openocd
in one shell:openocd -f ~/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/share/openocd/scripts/board/esp32s3-builtin.cfg
xtensa-esp32s3-elf-gdb build-UM_FEATHERS3/micropython.elf
At which point, I never make it to my breakpoint. When halting, I try getting a
bt
, but it doesn't appear to be finding the debug symbols or at least is not able to find the source references:Any idea what I may be missing?
Beta Was this translation helpful? Give feedback.
All reactions