Guru Meditation Error: Cache disabled but cached memory region accessed error after setting SRAM1 as IRAM

heydarov23
Posts: 4
Joined: Fri Dec 01, 2023 8:28 am

Guru Meditation Error: Cache disabled but cached memory region accessed error after setting SRAM1 as IRAM

Postby heydarov23 » Mon Apr 15, 2024 5:23 pm

Hi,

I am using esp32-idf v5.0.4. I have made changes given in to set SRAM1 as IRAM. After this change, I have started to face following error frequently. I have found similiar errors in this forum where disabling SPI_MASTER_ISR_IN_IRAM in menuconfig was suggested as solution. I applied same solution and the error started to appear not frequently, but it still appears, even when I upload simple code.

Could you please help me to solve the problem? Thank you
  1. Guru Meditation Error: Core  1 panic'ed (Cache disabled but cached memory region accessed). \r\n\r\nCore  1 register dump:\r\nPC      : 0x400e7880  PS      : 0x00060035  A0      : 0x40082f0c  A1      : 0x3ffc0350  \r\nA2      : 0x3ffbe02c  A3      : 0x00000000  A4      : 0x3ffc0350  A5      : 0x00000000  \r\nA6      : 0x3ffbe088  A7      : 0x00000000  A8      : 0x80083e0a  A9      : 0x00000003  \r\nA10     : 0x00000001  A11     : 0x3ffc0351  A12     : 0x3ff40000  A13    
  2. : 0x3ffcdeb0  \r\nA14     : 0x00000010  A15     : 0x3ffc30f8  SAR     : 0x00000008  EXCCAUSE: 0x00000007  \r\nEXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  \r\n\r\n\r\nBacktrace: 0x400e787d:0x3ffc0350
  3. 0x40082f09:0x3ffc0400 0x40091e07:0x3ffcdf00 0x40091e0f:0x3ffcdf20 0x40095e05:0x3ffcdf40 0x40091963:0x3ffcdf60 0x40157cbd:0x3ffcdfa0 0x40117a74:0x3ffcdfd0 0x400df7bb:0x3ffce000 0x400e6c59:0x3ffce030 0x400e6d1d:0x3ffce050 0x400f12bd:0x3ffce070 0x400f1bcd:0x3ffce0a0 0x400f4fa5:0x3ffce0c0 0x400f534c:0x3ffce100 0x400f55d9:0x3ffce150 0x400f5f49:0x3ffce1f0 0x400f8948:0x3ffce250 0x400f203a:0x3ffce2a0 0x400f119a:0x3ffce3e0 0x401044e8:0x3ffce470 0x40104733:0x3ffce490 0x400e6d95:0x3ffce580 0x4008566a:0x3ffce5c0 0x400df74c:0x3ffce660 0x400e6c59:0x3ffce6b0 0x400e6c6e:0x3ffce6d0 0x40104532:0x3ffce6f0 0x40104579:0x3ffce720 0x4010485e:0x3ffce750 0x400e6d95:0x3ffce840 0x4008566a:0x3ffce880 0x400df74c:0x3ffce920 0x400e6c59:0x3ffce980 0x400e6c6e:0x3ffce9a0 0x40104532:0x3ffce9c0 0x40104579:0x3ffce9f0 0x4010485e:0x3ffcea20 0x400e6d95:0x3ffceb10 0x400e7777:0x3ffceb50 0x400856b1:0x3ffceb90 0x400df74c:0x3ffcec30 0x400e6c59:0x3ffcec90 0x400e6c6e:0x3ffcecb0 0x400f4a4a:0x3ffcecd0 0x400f4ded:0x3ffced60 0x400d8220:0x3ffced90\r\n\r\n\r\n\r\n\r\nELF file SHA256: 91d747f028dccacf\r\n\r\nRebooting...\r\nets Jul 29 2019 12:21:46\r\n\r\nrst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)\r\nconfigsip: 0, SPIWP:0xee\r\nclk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00\r\nmode:DIO, clock div:2\r\nload:0x3fff0030,len:4728\r\nload:0x40078000,len:15016\r\nload:0x40080400,len:3368\r\nentry 0x400805cc\r\n\x1b[0;32mI (757) cpu_start: Multicore app\x1b[0m\r\n\x1b[0;32mI (757) cpu_start: Pro cpu up.\x1b[0m\r\n\x1b[0;32mI (757) cpu_start: Starting app cpu, entry point is 0x400813f0\x1b[0m\r\n\x1b[0;32mI (0) cpu_start: App cpu up.\x1b[0m\r\nD (768) clk: RTC_SLOW_CLK calibration value: 3471603\x1b[0m\r\n\x1b[0;32mI (780) cpu_start: Pro cpu start user code\x1b[0m\r\n\x1b[0;32mI (780) cpu_start: cpu freq: 240000000 Hz\x1b[0m\r\n\x1b[0;32mI (780) cpu_start: Application information:\x1b[0m\r\n\x1b[0;32mI (785) cpu_start: Compile time:     Mar 17 2024 19:02:34\x1b[0m\r\n\x1b[0;32mI (791) cpu_start: ELF file SHA256:  91d747f028dccacf...\x1b[0m\r\n\x1b[0;32mI (797) cpu_start: ESP-IDF:          v5.0.4-dirty\x1b[0m\r\n\x1b[0;32mI (802) cpu_start: Min chip rev:     v0.0\x1b[0m\r\n\x1b[0;32mI (807) cpu_start: Max chip rev:     v3.99 \x1b[0m\r\n\x1b[0;32mI (812) cpu_start: Chip rev:         v3.1\x1b[0m\r\nD (817) memory_layout: Checking 14 reserved memory ranges:\x1b[0m\r\nD (822) memory_layout: Reserved memory range 0x3ff81ff0 - 0x3ff82000\x1b[0m\r\nD (829) memory_layout: Reserved memory range 0x3ffae000 - 0x3ffae6e0\x1b[0m\r\nD (835) memory_layout: Reserved memory range 0x3ffae6e0 - 0x3ffaff10\x1b[0m\r\nD (841) memory_layout: Reserved memory range 0x3ffb0000 - 0x3ffb6388\x1b[0m\r\nD (848) memory_layout: Reserved memory range 0x3ffb8000 - 0x3ffb9a20\x1b[0m\r\nD (854) memory_layout: Reserved memory range 0x3ffbdb28 - 0x3ffbdb5c\x1b[0m\r\nD (861) memory_layout: Reserved memory range 0x3ffbdb60 - 0x3ffcaad0\x1b[0m\r\nD (867) memory_layout: Reserved memory range 0x3ffe0000 - 0x3ffe0440\x1b[0m\r\nD (874) memory_layout: Reserved memory range 0x3ffe3f20 - 0x3ffe4350\x1b[0m\r\nD (880) memory_layout: Reserved memory range 0x40000000 - 0x40000000\x1b[0m\r\nD (886) memory_layout: Reserved memory range 0x40070000 - 0x40078000\x1b[0m\r\nD (893) memory_layout: Reserved memory range 0x40078000 - 0x40080000\x1b[0m\r\nD (899) memory_layout: Reserved memory range 0x40080000 - 0x4009f898\x1b[0m\r\nD (906) memory_layout: Reserved memory range 0x50001fe8 - 0x50002000\x1b[0m\r\nD (912) memory_layout: Building list of available memory regions:\x1b[0m\r\nD (918) memory_layout: Available memory region 0x3ffaff10 - 0x3ffb0000\x1b[0m\r\nD (925) memory_layout: Available memory region 0x3ffb6388 - 0x3ffb8000\x1b[0m\r\nD (931) memory_layout: Available memory region 0x3ffb9a20 - 0x3ffbdb28\x1b[0m\r\nD (938) memory_layout: Available memory region 0x3ffcaad0 - 0x3ffcc000\x1b[0m\r\nD (945) memory_layout: Available memory region 0x3ffcc000 - 0x3ffce000\x1b[0m\r\nD (951) memory_layout: Available memory region 0x3ffce000 - 0x3ffd0000\x1b[0m\r\nD (958) memory_layout: Available memory region 0x3ffd0000 - 0x3ffd2000\x1b[0m\r\nD (964) memory_layout: Available memory region 0x3ffd2000 - 0x3ffd4000\x1b[0m\r\nD (971) memory_layout: Available memory region 0x3ffd4000 - 0x3ffd6000\x1b[0m\r\nD (978) memory_layout: Available memory region 0x3ffd6000 - 0x3ffd8000\x1b[0m\r\nD (984) memory_layout: Available memory region 0x3ffd8000 - 0x3ffda000\x1b[0m\r\nD (991) memory_layout: Available memory region 0x3ffda000 - 0x3ffdc000\x1b[0m\r\nD (997) memory_layout: Available memory region 0x3ffdc000 - 0x3ffde000\x1b[0m\r\nD (1004) memory_layout: Available memory region 0x3ffde000 - 0x3ffe0000\x1b[0m\r\nD (1011) memory_layout: Available memory region 0x3ffe0440 - 0x3ffe3f20\x1b[0m\r\nD (1017) memory_layout: Available memory region 0x3ffe4350 - 0x3ffe8000\x1b[0m\r\nD
  4. (1024) memory_layout: Available memory region 0x3ffe8000 - 0x3fff0000\x1b[0m\r\nD (1031) memory_layout: Available memory region 0x3fff0000 - 0x3fff8000\x1b[0m\r\nD (1037) memory_layout: Available memory region 0x3fff8000 - 0x3fffc000\x1b[0m\r\nD (1044) memory_layout: Available memory region 0x3fffc000 - 0x40000000\x1b[0m\r\nD (1051) memory_layout: Available memory region 0x4009f898 - 0x400a0000\x1b[0m\r\n\x1b[0;32mI (1057) heap_init: Initializing. RAM available for dynamic allocation:\x1b[0m\r\nD (1065) heap_init: New heap initialised at 0x3ffaff10\x1b[0m\r\n\x1b[0;32mI (1070) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM\x1b[0m\r\nD (1076) heap_init: New heap initialised at 0x3ffb6388\x1b[0m\r\n\x1b[0;32mI (1081) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM\x1b[0m\r\nD (1088) heap_init: New heap initialised at 0x3ffb9a20\x1b[0m\r\n\x1b[0;32mI (1093) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM\x1b[0m\r\nD (1099) heap_init: New heap initialised at 0x3ffcaad0\x1b[0m\r\n\x1b[0;32mI (1104) heap_init: At 3FFCAAD0 len 00015530 (85 KiB): DRAM\x1b[0m\r\n\x1b[0;32mI (1110) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM\x1b[0m\r\n\x1b[0;32mI (1117) heap_init: At 3FFE4350 len 0001BCB0
  5. (111 KiB): D/IRAM\x1b[0m\r\nD (1123) heap_init: New heap initialised at 0x4009f898\x1b[0m\r\n\x1b[0;32mI (1129) heap_init: At 4009F898 len 00000768 (1 KiB): IRAM\x1b[0m\r\nD (1135) intr_alloc: Connected src 46 to int 2 (cpu 0)\x1b[0m\r\nD (1141) spi_flash: trying chip: issi\x1b[0m\r\nD (1144) spi_flash: trying chip: gd\x1b[0m\r\nD (1147) spi_flash: trying chip: mxic\x1b[0m\r\nD (1151) spi_flash: trying chip: winbond\x1b[0m\r\nD (1155) spi_flash: trying chip: generic\x1b[0m\r\n\x1b[0;32mI (1159) spi_flash: detected chip: generic\x1b[0m\r\n\x1b[0;32mI (1164) spi_flash: flash io: dio\x1b[0m\r\nD (1168) cpu_start: calling init function: 0x401da910\x1b[0m\r\nD (1173) cpu_start: calling init function: 0x401da42c\x1b[0m\r\nD (1178) cpu_start: calling init function: 0x40158620\x1b[0m\r\nD (1184) cpu_start: calling init function: 0x40153788\x1b[0m\r\n\x1b[0;33mW (1188) rmt(legacy): legacy driver is deprecated, please migrate to driver/rmt_tx.h and/or driver/rmt_rx.h\x1b[0m\r\nD (1199) cpu_start: calling init function: 0x40152380\x1b[0m\r\n\x1b[0;33mW (1204) ADC: legacy driver is deprecated, please migrate to esp_adc/adc_oneshot.h\x1b[0m\r\nD (1213) cpu_start: calling init function: 0x400d7e04\x1b[0m\r\nD (1218) cpu_start: calling init function: 0x400d2b40\x1b[0m\r\nD (1223) cpu_start: calling init function: 0x400d1f90\x1b[0m\r\nD (1228) cpu_start: calling init function: 0x400d5910 on core: 0\x1b[0m\r\nD (1234) intr_alloc: Connected src 17 to int 3 (cpu 0)\x1b[0m\r\nD (1239) cpu_start: calling init function: 0x400d28ec on core: 0\x1b[0m\r\nD (1257) intr_alloc: Connected src 24 to int 9 (cpu 0)\x1b[0m\r\n\x1b[0;32mI (1257) app_start: Starting scheduler on CPU0\x1b[0m\r\n\x1b[0;32mID (1257) intr_alloc: Connected src 25 to int 2 (cpu 1)\x1b[0m\r\n\x1b[0;32mI (1257) app_start: Starting scheduler on CPU1\x1b[0m\r\n (1257) main_task: Started on CPU0\x1b[0m\r\nD (1277) heap_init: New heap initialised at 0x3ffe0440\x1b[0m\r\nD (1277) heap_init: New heap initialised at 0x3ffe4350\x1b[0m\r\nD (1277) intr_alloc: Connected src 16 to int 12 (cpu 0)\x1b[0m\r\n\x1b[0;32mI (1287) main_task: Calling app_main()\x1b[0m\r\nD (1297) intr_alloc: Connected src 34 to int 3 (cpu 1)\x1b[0m\r\n\x1b[0;32mI (1297) main_task: Returned from app_main()\x1b[0m\r\nD (1297) event: running task for loop 0x3ffbcf4c\x1b[0m\r\nD (1297) event: created task for loop 0x3ffbcf4c\x1b[0m\r\nD (1307) event: created event loop 0x3ffbcf4c\x1b[0m\r\nD (1317) intr_alloc: Connected src 22 to int 4 (cpu 1)\x1b[0m\r\n\x1b[0;32mI (1427) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 240, APB_MIN: 240, Light sleep: DISABLED\x1b[0m\r\nD (1897) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (1897) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (1907) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (1907) rmt(legacy): RMT translator init done\x1b[0m\r\nD (1967) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (1967) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (1967) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (1967) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2027) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2027) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2027) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2037) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2087) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2087) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2097) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2097) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2157) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2157) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2157) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2167) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2217) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2217) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2217) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2227) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2277) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2277) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2287) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2287) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2347) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2347) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2347) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2357) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2407) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2407) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2407) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2417) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2477) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2477) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2477) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2477) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2537) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (2537) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (2537) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (2547) rmt(legacy): RMT translator init done\x1b[0m\r\nD (2747) esp_netif_lwip: LwIP stack has been initialized\x1b[0m\r\nD (2747) esp_netif_lwip: check: remote, if=0x0 fn=0x4017a73c\r\n\x1b[0m\r\nD (2747) esp_netif_lwip: call api in lwip: ret=0x0, give sem\x1b[0m\r\nD (2747) esp_netif_lwip: esp-netif has been successfully initialized\x1b[0m\r\n0\r\nFIRMWARE BEGIN\r\nD (3507) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3507) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3517) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3517) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3527) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3527) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3537) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3537) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3547) ledc: LEDC_PWM CHANNEL 0|GPIO 19|Duty 524288|Time 0\x1b[0m\r\nD (3547) ledc: Using clock source 1 (in fast mode), divisor: 0x1f4\x1b[0m\r\nD (3557) ledc: LEDC_PWM CHANNEL 1|GPIO 23|Duty 1024|Time 0\x1b[0m\r\nD (3567) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3567) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3577) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3577) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3587) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3587) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3597) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3607) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3617) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3627) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3627) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3627) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3637) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3637) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3647) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3657) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3667) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3667) rmt(legacy): Rmt Tx Channel 7|Gpio 17|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3667) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3677) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3677) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3687) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3697) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3697) rmt(legacy): RMT translator init done\x1b[0m\r\n\x1b[0;32mI (3717) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 240, APB_MIN: 240, Light sleep: DISABLED\x1b[0m\r\n\x1b[0;32mI (3727) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 240, APB_MIN: 240, Light sleep: DISABLED\x1b[0m\r\n\x1b[0;32mI (3737) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 240, APB_MIN: 240, Light sleep: DISABLED\x1b[0m\r\nD (3747) ledc: LEDC_PWM CHANNEL 2|GPIO 25|Duty 524288|Time 1\x1b[0m\r\nD (3747) ledc: Using clock source 1 (in fast mode), divisor: 0x1f4\x1b[0m\r\nD (3757) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3757) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3767) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3767) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3777) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3777) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3787) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3787) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3847) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3847) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3847) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3857) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3907) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3907) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3917) intr_alloc: Connected src 47 to
  6. int 9 (cpu 1)\x1b[0m\r\nD (3917) rmt(legacy): RMT translator init done\x1b[0m\r\nD (3977) rmt(legacy): rmt_source_clk_hz: 80000000\x1b[0m\r\nD (3977) rmt(legacy): Rmt Tx Channel 7|Gpio 13|Sclk_Hz 80000000|Div 2|Carrier_Hz 38000|Duty 33\x1b[0m\r\nD (3977) intr_alloc: Connected src 47 to int 9 (cpu 1)\x1b[0m\r\nD (3987) rmt(legacy): RMT translator init done\x1b[0m\r\nD (4017) esp_netif_objects: esp_netif_add_to_list 0x3ffbd830\x1b[0m\r\nD (4017) esp_netif_objects: esp_netif_add_to_list netif added successfully (total netifs: 1)\x1b[0m\r\nD (4017) esp_netif_lwip: check: remote, if=0x0 fn=0x4017a74c\r\n\x1b[0m\r\nD (4027) esp_netif_lwip: call api in lwip: ret=0x0, give sem\x1b[0m\r\nD (4027) esp_netif_objects: esp_netif_add_to_list 0x3ffdd9c8\x1b[0m\r\nD (4037) esp_netif_objects: esp_netif_add_to_list netif added successfully (total netifs: 2)\x1b[0m\r\nD (4047) modnetwork: Initializing WiFi\x1b[0m\r\nD (4047) nvs: nvs_open_from_partition misc 1\x1b[0m\r\nI (4067) wifi:wifi driver task: 3ffe05e4, prio:23, stack:6656, core=0\r\n\x1b[0;32mI (4067) system_api: Base MAC address is not set\x1b[0m\r\n\x1b[0;32mI (4067) system_api: read default base MAC address from EFUSE\x1b[0m\r\nD (4067) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 8 bit\x1b[0m\r\nD (4077) efuse: In EFUSE_BLK0DATA2_REG is used 8 bits starting with 0 bit\x1b[0m\r\nD (4087) efuse: In EFUSE_BLK0_DATA1_REG is used 8 bits starting with 24 bit\x1b[0m\r\nD (4087)
  7. efuse: In EFUSE_BLK0_DATA1_REG is used 8 bits starting with 16 bit\x1b[0m\r\nD (4097) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 8 bit\x1b[0m\r\nD (4107) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 0 bit\x1b[0m\r\nD (4117) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 16 bit\x1b[0m\r\nD (4117) nvs: nvs_open_from_partition nvs.net80211 1\x1b[0m\r\nD (4127) nvs: nvs_get opmode 1\x1b[0m\r\nD (4127) nvs: nvs_get_str_or_blob sta.ssid\x1b[0m\r\nD (4137) nvs: nvs_get sta.authmode 1\x1b[0m\r\nD (4137) nvs: nvs_get_str_or_blob sta.pswd\x1b[0m\r\nD (4137) nvs: nvs_get_str_or_blob sta.pmk\x1b[0m\r\nD (4147) nvs: nvs_get sta.chan 1\x1b[0m\r\nD (4147) nvs: nvs_get auto.conn 1\x1b[0m\r\nD (4147) nvs: nvs_get bssid.set 1\x1b[0m\r\nD (4157) nvs: nvs_get_str_or_blob sta.bssid\x1b[0m\r\nD (4157) nvs: nvs_get sta.lis_intval 2\x1b[0m\r\nD (4157) nvs: nvs_get sta.phym 1\x1b[0m\r\nD (4167) nvs: nvs_get sta.phybw 1\x1b[0m\r\nD (4167) nvs: nvs_get_str_or_blob sta.apsw\x1b[0m\r\nD (4177) nvs: nvs_get_str_or_blob sta.apinfo\x1b[0m\r\nD (4177) nvs: nvs_get sta.scan_method 1\x1b[0m\r\nD (4177) nvs: nvs_get sta.sort_method 1\x1b[0m\r\nD (4187) nvs: nvs_get sta.minrssi 1\x1b[0m\r\nD (4187) nvs: nvs_get sta.minauth 1\x1b[0m\r\nD (4187) nvs: nvs_get sta.pmf_e 1\x1b[0m\r\nD (4197) nvs: nvs_get sta.pmf_r 1\x1b[0m\r\nD (4197) nvs: nvs_get sta.btm_e 1\x1b[0m\r\nD (4197) nvs: nvs_get sta.rrm_e 1\x1b[0m\r\nD (4207) nvs: nvs_get sta.mbo_e 1\x1b[0m\r\nD (4207) nvs: nvs_get_str_or_blob ap.ssid\x1b[0m\r\nD (4217) nvs: nvs_get_str_or_blob ap.passwd\x1b[0m\r\nD (4217) nvs: nvs_get_str_or_blob ap.pmk\x1b[0m\r\nD (4217) nvs: nvs_get ap.chan 1\x1b[0m\r\nD (4227) nvs: nvs_get ap.authmode 1\x1b[0m\r\nD (4227) nvs: nvs_get ap.hidden 1\x1b[0m\r\nD (4227) nvs: nvs_get ap.max.conn 1\x1b[0m\r\nD (4237) nvs: nvs_get bcn.interval 2\x1b[0m\r\nD (4237) nvs: nvs_get ap.phym 1\x1b[0m\r\nD (4237) nvs: nvs_get ap.phybw 1\x1b[0m\r\nD (4247) nvs: nvs_get ap.sndchan 1\x1b[0m\r\nD (4247) nvs: nvs_get ap.pmf_e 1\x1b[0m\r\nD (4247) nvs: nvs_get ap.pmf_r 1\x1b[0m\r\nD (4257) nvs: nvs_get ap.p_cipher 1\x1b[0m\r\nD (4257) nvs: nvs_get lorate 1\x1b[0m\r\nD (4257) nvs: nvs_get_str_or_blob country\x1b[0m\r\nD (4267) nvs: nvs_get ap.ftm_r 1\x1b[0m\r\nD (4267) nvs: nvs_get sta.ft 1\x1b[0m\r\nD (4267) nvs: nvs_get sta.owe 1\x1b[0m\r\nD (4277) nvs: nvs_get sta.trans_d 1\x1b[0m\r\nD (4277) nvs: nvs_get sta.sae_h2e
  8. 1\x1b[0m\r\nD (4277) nvs: nvs_get sta.bss_retry 1\x1b[0m\r\nD (4287) nvs: nvs_get_str_or_blob sta.owe_data\x1b[0m\r\nD (4287) nvs: nvs_get_str_or_blob ap.pmk_info\x1b[0m\r\nD (4297) nvs: nvs_set ap.sndchan 1 1\x1b[0m\r\nI (4297) wifi:wifi firmware version: e2d0ad8\r\nI (4307) wifi:wifi certification version: v7.0\r\nI (4307) wifi:config NVS flash: enabled\r\nI (4307) wifi:config nano formating: disabled\r\nI (4317) wifi:Init data frame dynamic rx buffer num: 32\r\nI (4317) wifi:Init management frame dynamic rx buffer num: 32\r\nI (4327) wifi:Init management short buffer num: 32\r\nI (4327) wifi:Init dynamic tx buffer num: 32\r\nI (4337) wifi:Init static rx buffer size: 1600\r\nI (4337) wifi:Init static rx buffer num: 10\r\nI (4337) wifi:Init dynamic rx buffer num: 32\r\n\x1b[0;32mI (4347) wifi_init: rx ba win: 6\x1b[0m\r\n\x1b[0;32mI (4347) wifi_init: tcpip mbox: 32\x1b[0m\r\n\x1b[0;32mI (4357) wifi_init: udp mbox: 6\x1b[0m\r\n\x1b[0;32mI (4357) wifi_init: tcp mbox: 6\x1b[0m\r\n\x1b[0;32mI (4357) wifi_init: tcp tx win: 5744\x1b[0m\r\n\x1b[0;32mI (4367) wifi_init: tcp rx win: 5744\x1b[0m\r\n\x1b[0;32mI (4367) wifi_init: tcp mss: 1440\x1b[0m\r\nD (4377) modnetwork: Initialized\x1b[0m\r\n64b708510600\r\n0600\r\nD (4387) BTDM_INIT: Release DRAM [0x3ffb2730] - [0x3ffb6388]\x1b[0m\r\n\x1b[0;32mI (4387)D (4387) intr_alloc: Connected src -5 to int 29 (cpu 0)\x1b[0m\r\n BTDM_INIT: BT controller compile version [7c67f29]\x1b[0m\r\nD (4397) BTDM_INIT: .data initialise [0x3ffae6e0] <== [0x4000d890]\x1b[0m\r\nD (4397) BTDM_INIT: .bss initialise [0x3ffb0000] - [0x3ffb09a8]\x1b[0m\r\nD (4407) BTDM_INIT: .bss initialise [0x3ffb09a8] - [0x3ffb1ddc]\x1b[0m\r\nD (4417) BTDM_INIT: .bss initialise [0x3ffb1ddc] - [0x3ffb2730]\x1b[0m\r\nD (4417) BTDM_INIT: .bss initialise [0x3ffb8000] - [0x3ffb9a20]\x1b[0m\r\nD (4427) BTDM_INIT: .bss initialise [0x3ffbdb28] - [0x3ffbdb5c]\x1b[0m\r\n\x1b[0;32mI (4427) BTDM_INIT: Bluetooth MAC: 64:b7:08:51:06:02\x1b[0m\r\n\x1b[0;32mI (4437) phy_init: phy_version 4771,450c73b,Aug 16 2023,11:03:10\x1b[0m\r\nD (4447) phy_init: loading PHY init data from application binary\x1b[0m\r\nD (4447) nvs: nvs_open_from_partition phy 0\x1b[0m\r\nD (4457) nvs: nvs_get cal_version 4\x1b[0m\r\nD (4457) nvs: nvs_get_str_or_blob cal_mac\x1b[0m\r\nD (4457) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 8 bit\x1b[0m\r\nD (4467) efuse: In EFUSE_BLK0DATA2_REG is used 8 bits starting with 0 bit\x1b[0m\r\nD (4477) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 24 bit\x1b[0m\r\nD (4477) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 16 bit\x1b[0m\r\nD (4487) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 8 bit\x1b[0m\r\nD (4497) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 0 bit\x1b[0m\r\nD (4507) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 16 bit\x1b[0m\r\nD (4507) nvs: nvs_get_str_or_blob
  9. cal_data\x1b[0m\r\nD (4517) nvs: nvs_close 3\x1b[0m\r\nD (4517) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 8 bit\x1b[0m\r\nD (4527) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 0 bit\x1b[0m\r\nD (4527) efuse:
  10. In EFUSE_BLK0_DATA1_REG is used 8 bits starting with 24 bit\x1b[0m\r\nD (4537) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 16 bit\x1b[0m\r\nD (4547) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 8 bit\x1b[0m\r\nD (4547) efuse: In EFUSE_BLK0DATA1_REG is used 8 bits starting with 0 bit\x1b[0m\r\nD (4557) efuse: In EFUSE_BLK0_DATA2_REG is used 8 bits starting with 16 bit\x1b[0m\r\nStarting advertising\r\n"
  11. stdout:

MicroController
Posts: 1706
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Guru Meditation Error: Cache disabled but cached memory region accessed error after setting SRAM1 as IRAM

Postby MicroController » Mon Apr 15, 2024 5:34 pm

1) Decode the backtrace to see where the problem is,
2) make sure you only register ISRs as 'IRAM' which actually are in IRAM,
3) make sure all code called from an IRAM ISR is also in IRAM.

Who is online

Users browsing this forum: Bing [Bot] and 85 guests