Please, use the following diff to enable debugger support in PlatformIO using openocd:
In boards/lilygo-t-displays3.json replace existing openocd_target with:
openocd_board": "esp32s3-builtin.cfg
If the GSB single-stepping/breakpoint doesn't work because software breakpoint cannot be written (code executed from FLASH), then in the debugger console mark the code memory as read-only, for example:
mem 0x40000000 0x4fffffff ro
Without these changes the openocd is run with incorrect interface and there are error messages about invalid command espusbjtag.
Please, use the following diff to enable debugger support in PlatformIO using openocd: In
boards/lilygo-t-displays3.json
replace existing openocd_target with:openocd_board": "esp32s3-builtin.cfg
In
platformio.ini
add in [env]:If the GSB single-stepping/breakpoint doesn't work because software breakpoint cannot be written (code executed from FLASH), then in the debugger console mark the code memory as read-only, for example:
mem 0x40000000 0x4fffffff ro
Without these changes the openocd is run with incorrect interface and there are error messages about invalid command
espusbjtag
.