Hi! I'm having a strange problem with debugging a simple example from Arduino IDE, whereas "Hello World" example from ESP-IDF can be debugged perfectly.
Hardware: FT2232H + esp32 dev board connected via JTAG.
When I'm trying to debug a simple "WiFiScan" sketch from Arduino in GDB I see either this GDB log with next openOCD log (looks like MCU stuck in ResetVector) or this one and this openOCD log with a strange thread number.
gdbinit it the same for both cases:
target remote :3333
mon reset halt
hb app_main
x $a1=0
c
Am I missing something? Any advice and suggestions will be greatly appreciated!