复位后,程序正常。JTAG调试就Guru Meditation Error,Memory protection fault是什么原因引起的?
复位后,程序正常。JTAG调试就Guru Meditation Error,Memory protection fault是什么原因引起的?
但是通过JTAG调试的时候,openocd读取了一些信息后,会提示drop 'dbg' connection
有时候,串口没多的提示,有时候会提示Guru错误:
Guru Meditation Error: Core 0 panic'ed (Memory protection fault).
Read operation at address 0x50000004 not permitted.
Setting breakpoint at 0x40022340 and returning...
openocd的提示,也是dropped 'gdb' connection
Re: 复位后,程序正常。JTAG调试就Guru Meditation Error,Memory protection fault是什么原因引起的?
Debug Console的输出如下:
Remote debugging using :3333
Running executable
0x4009d96a in esp_pm_impl_waiti () at C:/Users/SimonQian/.espressif/esp-idf/components/esp_pm/pm_impl.c:533
533 asm("waiti 0");
Not implemented stop reason (assuming exception): undefined
JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
esp32s2: Target halted, PC=0x40022340, debug_reason=00000001
esp32s2: Core 0 was reset.
esp32s2: Target halted, PC=0x40000400, debug_reason=00000000
Register cache flushed.
目标芯片是esp32s2
Remote debugging using :3333
Running executable
0x4009d96a in esp_pm_impl_waiti () at C:/Users/SimonQian/.espressif/esp-idf/components/esp_pm/pm_impl.c:533
533 asm("waiti 0");
Not implemented stop reason (assuming exception): undefined
JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
esp32s2: Target halted, PC=0x40022340, debug_reason=00000001
esp32s2: Core 0 was reset.
esp32s2: Target halted, PC=0x40000400, debug_reason=00000000
Register cache flushed.
目标芯片是esp32s2
Re: 复位后,程序正常。JTAG调试就Guru Meditation Error,Memory protection fault是什么原因引起的?
Hi Simon,
Could you try disabling CONFIG_ESP32S2_MEMPROT_FEATURE in menuconfig? It is under Component Config -> ESP32-S2 specific -> Memory Protection.
Could you try disabling CONFIG_ESP32S2_MEMPROT_FEATURE in menuconfig? It is under Component Config -> ESP32-S2 specific -> Memory Protection.
Who is online
Users browsing this forum: No registered users and 104 guests