Can't debug esp32s3 (DPTechnics Walter board) with GDB #84426
-
Hi, When I try to debug the code with GDB, I get the following errors after setting a breakpoint and trying to continue executing the code: I created a test repo to reproduce the bug that you can find here https://github.com/fatalkiller/test_zephyr_esp32_s3. What can I do to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
the openocd in the zephyr toolchain does not work, you need to use the espressiff one follow these instructions: once installed launch it by doing: then go to ur build in anotha terminal and do FYI software breakpoints dont work, you can only do hardware breakpoints |
Beta Was this translation helpful? Give feedback.
the openocd in the zephyr toolchain does not work, you need to use the espressiff one
follow these instructions:
https://docs.espressif.com/projects/esp-idf/en/v4.2-beta1/esp32/api-guides/jtag-debugging/building-openocd-linux.html
once installed launch it by doing:
<path_to_espressif_openocd>/openocd -f board/esp32s3-builtin.cfg
then go to ur build in anotha terminal and do
west debug
FYI software breakpoints dont work, you can only do hardware breakpoints