GDB stopped working for ESP32 Arduino

Sysprogs forums Forums VisualGDB GDB stopped working for ESP32 Arduino

This topic contains 2 replies, has 2 voices, and was last updated by  felixcollins 3 weeks, 4 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #31230


    I Have been using VGDB with a Tumpa Lite board to work with an ESP32 Wroom Module on a custom board. Everything has been fine. Today I tried a custom partitions.csv in the sketches folder. Now I can’t program the ESP32 over JTAG anymore. I’ve taken the partitions.csv file back out and done a clean and rebuild. But it still fails. Does anyone know what might be stuck? In particular what does the message @”not enough working area available(requested 10433)\n” @”no working area available, can’t alloc space for stub code!\n” mean?  Is this space in the flash? Or in the PC memory? Or where?






    This looks like a message coming from the ESP32 OpenOCD port that is maintained by Espressif. Most likely, some changes to the project configuration are either incompatible with JTAG debugging, or trigger a bug in OpenOCD.

    Our best advice would be to try erasing the FLASH memory via and reverting the change that triggered it. If you need further help with this, please consider submitting a bug to the ESP32 OpenOCD repository on Github.



    Yay! Thanks for the advice. Erasing the whole flash using esptool got JTAG working again.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.