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.
ESP32 GDB debugging not working
ESP32 GDB debugging not working
- Attachments
-
- Evaluation kit
- EVK.PNG (77.2 KiB) Viewed 4161 times
-
- ESP32.PNG (81.41 KiB) Viewed 4161 times
Re: ESP32 GDB debugging not working
Can anyone help me out with this one ? I still havent found any solution for this!!
-
- Posts: 13
- Joined: Thu Nov 28, 2019 9:48 am
Re: ESP32 GDB debugging not working
Have you find any solution for this issue? I am also seeing similar logs and debugging just won't start though flashing is working fine.
-
- Posts: 13
- Joined: Thu Nov 28, 2019 9:48 am
Re: ESP32 GDB debugging not working
I am able to fix this problem with the help of espressif support by using below openOCD version
https://github.com/espressif/openocd-es ... 2-20210401
Cfg file used for debugging is
-f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32-solo-1.cfg
Also it is required to power ESP32 board with 3.3v using USB even if 3.3v from ESP PROG has been connected.
Hope this helps.
https://github.com/espressif/openocd-es ... 2-20210401
Cfg file used for debugging is
-f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32-solo-1.cfg
Also it is required to power ESP32 board with 3.3v using USB even if 3.3v from ESP PROG has been connected.
Hope this helps.
Who is online
Users browsing this forum: No registered users and 125 guests