ESP32 GDB debugging not working
Posted: Fri Dec 13, 2019 9:57 am
Hi
I am trying to use ESP32 Nina w102 module and flashing using Jtag - Jlink and when i am flashing it says successful but when i am trying to debug it always stops at "Hardware assisted breakpoint 1 at 0x400d23bc: file ../main/http_request_example_main.c, line 251".
When i tried to use the same build and code to the evaluation kit EVK nina W102 the flashing is successful and I am able to debug.
On looking at the 2 log I noticed that one difference during flashing . in Esp32 it says "Warn : Empty flash mapping!
Warn : Failed to get flash mappings (0)!" where as in evaluation Kit it says Flash mapping 0: 0x10020 -> 0x3f400020, 91 KB
Info : Flash mapping 1: 0x30018 -> 0x400d0018, 410 KB. I am new to ESP so can someone let me know what am I missing here. I have attached the two outputs of Evaluation kit and normal esp32 module.
I am trying to use ESP32 Nina w102 module and flashing using Jtag - Jlink and when i am flashing it says successful but when i am trying to debug it always stops at "Hardware assisted breakpoint 1 at 0x400d23bc: file ../main/http_request_example_main.c, line 251".
When i tried to use the same build and code to the evaluation kit EVK nina W102 the flashing is successful and I am able to debug.
On looking at the 2 log I noticed that one difference during flashing . in Esp32 it says "Warn : Empty flash mapping!
Warn : Failed to get flash mappings (0)!" where as in evaluation Kit it says Flash mapping 0: 0x10020 -> 0x3f400020, 91 KB
Info : Flash mapping 1: 0x30018 -> 0x400d0018, 410 KB. I am new to ESP so can someone let me know what am I missing here. I have attached the two outputs of Evaluation kit and normal esp32 module.