5.2.2 commit SPI FLASH CACHE PROBLEM WHILE TRYING TO MOUNT FATFS FROM WEBSOCKET EVENT HANDLER - Commit d1ed3a8 cause FLASH CACHE problem (IDFGH-13399) #14307
Labels
Status: Opened
Issue is new
Answers checklist.
General issue report
ESP32 comaptible with 1.0.
When trying to mount FATFS inside the websocket event handler its crashes
D (91141) wl_flash: config - config result: state_size=0x00001000, cfg_size=0x00001000, addr_cfg=0x0008f000, addr_state1=0x0008d000, addr_state2=0x0008e000, flash_size=0x0008c000
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed).
Core 0 register dump:
PC : 0x4008bffa PS : 0x00060135 A0 : 0x8008cea6 A1 : 0x3ffb7520
0x4008bffa: spi_flash_op_block_func at C:/Espressif/frameworks/esp-idf-v5.2/components/spi_flash/cache_utils.c:138 (discriminator 1)
A2 : 0x00000000 A3 : 0x00000001 A4 : 0x3ffc2820 A5 : 0x3ffbdc24
A6 : 0x00000000 A7 : 0x00000054 A8 : 0x00000000 A9 : 0x3ffc75ae
A10 : 0x00000001 A11 : 0x3ffb773c A12 : 0x8400006f A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000020 SAR : 0x00000001 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x4008bff7:0x3ffb7520 0x4008cea3:0x3ffb7540
0x4008bff7: spi_flash_op_block_func at C:/Espressif/frameworks/esp-idf-v5.2/components/spi_flash/cache_utils.c:138 (discriminator 1)
0x4008cea3: ipc_task at C:/Espressif/frameworks/esp-idf-v5.2/components/esp_system/esp_ipc.c:64
So, there is no such restrictions and this was the code running for a long time, so, one of the latests commits in the libs and files has broken the code.
The text was updated successfully, but these errors were encountered: