Debug Espressif ESP32
Jump to navigation
Jump to search
Enabling external JTAG interface
ESP32 devices have an embedded JTAG-adapter that is connected to JTAG-pins internally.To enable connection to the external J-Link probe, JTAG interface must be switched to GPIO pins.
External JTAG interface is controlled via burning eFuses. Information on how to burn eFuse configuration can be found at the following link: Configure eFuses
Disabling hardware stack protection
When debugging applications compiled with ESP-IDF framework, "SDK Config -> Component config -> ESP System Settings -> Hardware stack guard" option must be turned off to prevent core panic on writes to SP register(performed by J-Link logic).