我根据 0x40088c65:spi_flash_op_block_func at C:/Users/DELL/Desktop/esp-idf/components/spi_flash/cache_utils.c:82这行信息,给s_flash_op_complete的定义添加DRAM_ATTR,运行了一下结果变成了IllegalInstruction,这个问题要怎么解决,有谁能指导一下吗?
谢谢!
刚开始的log message
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Core 0 register dump:
PC : 0xbad00bad PS : 0x00060034 A0 : 0x80082f75 A1 : 0x3ffbe2f0
A2 : 0xbad00bad A3 : 0x00000000 A4 : 0x3ffcc750 A5 : 0x3ffcc750
A6 : 0x00001004 A7 : 0x3ffcc74c A8 : 0x00000009 A9 : 0x3ffbe2c0
A10 : 0x00000000 A11 : 0x3ff44000 A12 : 0x8008158d A13 : 0x3ffb7d20
A14 : 0x00000001 A15 : 0x00000000 SAR : 0x0000000b EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x40088c65 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0xbad00bad
0x40088c65: spi_flash_op_block_func at C:/Users/DELL/Desktop/esp-idf/components/spi_flash/cache_utils.c:82 (discriminator 1)
ELF file SHA256: 07e981bd6cb7f8aa
Backtrace: 0x7ad00baa:0x3ffbe2f0 |<-CORRUPTED
Rebooting...
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6904
load:0x40078000,len:14076
load:0x40080400,len:4304
entry 0x400806e8
I (70) boot: Chip Revision: 1
I (70) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot: ESP-IDF v4.0.1-dirty 2nd stage bootloader
I (39) boot: compile time 09:56:23
I (39) boot: Enabling RNG early entropy source...
I (44) boot: SPI Speed : 40MHz
I (49) boot: SPI Mode : DIO
I (53) boot: SPI Flash Size : 4MB
I (57) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (68) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 2 factory factory app 00 00 00010000 00200000
I (90) boot: End of partition table
I (94) boot_comm: chip revision: 1, min. application chip revision: 0
I (101) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x17be0 ( 97248) map
I (145) esp_image: segment 1: paddr=0x00027c08 vaddr=0x3ffbdb60 size=0x05a40 ( 23104) load
I (155) esp_image: segment 2: paddr=0x0002d650 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:1778
I (155) esp_image: segment 3: paddr=0x0002da58 vaddr=0x40080400 size=0x025b8 ( 9656) load
I (167) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x62c84 (404612) map
0x400d0018: _stext at ??:?
I (316) esp_image: segment 5: paddr=0x00092ca4 vaddr=0x400829b8 size=0x11454 ( 70740) load
0x400829b8: _xt_coproc_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:1006
I (360) boot: Loaded app from partition at offset 0x10000
I (360) boot: Disabling RNG early entropy source...
I (360) cpu_start: Pro cpu up.
I (364) cpu_start: Application information:
I (369) cpu_start: Project name: bt_spp_acceptor_demo
I (375) cpu_start: App version: 1
I (379) cpu_start: Compile time: Aug 27 2020 09:55:44
I (385) cpu_start: ELF file SHA256: 07e981bd6cb7f8aa...
I (391) cpu_start: ESP-IDF: v4.0.1-dirty
I (397) cpu_start: Starting app cpu, entry point is 0x40081334
0x40081334: call_start_cpu1 at C:/Users/DELL/Desktop/esp-idf/components/esp32/cpu_start.c:271
I (0) cpu_start: App cpu up.
I (407) heap_init: Initializing. RAM available for dynamic allocation:
I (414) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (420) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (426) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (432) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (438) heap_init: At 3FFCDB48 len 000124B8 (73 KiB): DRAM
I (444) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (451) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (457) heap_init: At 40093E0C len 0000C1F4 (48 KiB): IRAM
I (463) cpu_start: Pro cpu start user code
I (482) spi_flash: detected chip: generic
I (482) spi_flash: flash io: dio
I (483) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Interrupt every 2ms call
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Core 0 register dump:
PC : 0xbad00bad PS : 0x00060034 A0 : 0x80082f75 A1 : 0x3ffbe2f0
A2 : 0xbad00bad A3 : 0x00000000 A4 : 0x3ffcc750 A5 : 0x3ffcc750
A6 : 0x00001004 A7 : 0x3ffcc74c A8 : 0x00000009 A9 : 0x3ffbe2c0
A10 : 0x00000000 A11 : 0x3ff44000 A12 : 0x8008158d A13 : 0x3ffb7d20
A14 : 0x00000001 A15 : 0x00000000 SAR : 0x0000000b EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x40088c65 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0xbad00bad
0x40088c65: spi_flash_op_block_func at C:/Users/DELL/Desktop/esp-idf/components/spi_flash/cache_utils.c:82 (discriminator 1)
添加DRAM_ATTR后的log message
Interrupt every 2ms call
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Core 0 register dump:
PC : 0x4008878a PS : 0x00060034 A0 : 0x80083044 A1 : 0x3ffbe2c0
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
A2 : 0x00000002 A3 : 0x00000000 A4 : 0x8008158d A5 : 0x3ffb7d20
A6 : 0x00000001 A7 : 0x00000000 A8 : 0xbad00bad A9 : 0x3f4152a8
A10 : 0x00060223 A11 : 0x00060023 A12 : 0x00060023 A13 : 0x3ffcd410
A14 : 0x3ffbd22c A15 : 0x00000000 SAR : 0x0000001c EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x40088c6e EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x40088c6e: spi_flash_op_block_func at C:/Users/DELL/Desktop/esp-idf/components/spi_flash/cache_utils.c:82 (discriminator 1)
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbdf90
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x0000000a A5 : 0x00000000
A6 : 0x00000002 A7 : 0x3ffbe2f0 A8 : 0x40080b9c A9 : 0x3ffbdf70
A10 : 0x00000038 A11 : 0x00000000 A12 : 0x3ffcc758 A13 : 0x3ffcc758
A14 : 0x00000055 A15 : 0x3ffbe1b0 SAR : 0x00000012 EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbdc80
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbdfb0 A8 : 0x40080b9c A9 : 0x3ffbdc60
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbdea0 SAR : 0x00000016 EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbd970
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbdca0 A8 : 0x40080b9c A9 : 0x3ffbd950
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbdb90 SAR : 0x0000001a EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbd660
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbd990 A8 : 0x40080b9c A9 : 0x3ffbd640
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbd880 SAR : 0x0000001e EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbd350
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbd680 A8 : 0x40080b9c A9 : 0x3ffbd330
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbd570 SAR : 0x00000012 EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
EPC4 : 0x4008878a
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbd040
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbd370 A8 : 0x40080b9c A9 : 0x3ffbd020
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbd260 SAR : 0x00000016 EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbcd30
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbd060 A8 : 0x40080b9c A9 : 0x3ffbcd10
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbcf50 SAR : 0x0000001a EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbca20
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbcd50 A8 : 0x40080b9c A9 : 0x3ffbca00
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbcc40 SAR : 0x0000001e EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbc710
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbca40 A8 : 0x40080b9c A9 : 0x3ffbc6f0
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbc930 SAR : 0x00000012 EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
ELF file SHA256: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081028: 0c330b68Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
0x40081028: esp_ota_get_app_elf_sha256 at C:/Users/DELL/Desktop/esp-idf/components/app_update/esp_app_desc.c:97
Core 0 register dump:
PC : 0x4008e959 PS : 0x00060033 A0 : 0x8008ea09 A1 : 0x3ffbc400
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
A2 : 0x40080b9c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x4008287c
0x4008287c: _xt_user_exc at C:/Users/DELL/Desktop/esp-idf/components/freertos/xtensa_vectors.S:686
A6 : 0x00000002 A7 : 0x3ffbc730 A8 : 0x40080b9c A9 : 0x3ffbc3e0
A10 : 0x00000038 A11 : 0x40080b9c A12 : 0x3ff40000 A13 : 0x0000007d
A14 : 0x00000055 A15 : 0x3ffbc620 SAR : 0x00000016 EXCCAUSE: 0x00000003
EXCVADDR: 0x40080b9c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4008e959 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008878a
0x4008e959: panicPutStr at C:/Users/DELL/Desktop/esp-idf/components/esp32/panic.c:77
0x4008878a: gpio_set_level at C:/Users/DELL/Desktop/esp-idf/components/driver/gpio.c:176 (discriminator 2)
Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
-
- Posts: 19
- Joined: Mon Aug 24, 2020 8:38 am
Re: Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
会不会是 stack overflow 呢?我看见 reg dump 里的地址有几个 0xBAD00BAD
Re: Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Yeah, I think maybe you cause the stack overflow, because 0xbad00bad is not used in our system map.
By the way, you should give us more detail about this issue, in order that we can make your issue recur, and solve your problem.
Thanks.
By the way, you should give us more detail about this issue, in order that we can make your issue recur, and solve your problem.
Thanks.
Who is online
Users browsing this forum: Baidu [Spider] and 40 guests