Search found 4 matches

by heydarov23
Mon Apr 15, 2024 5:23 pm
Forum: ESP-IDF
Topic: Guru Meditation Error: Cache disabled but cached memory region accessed error after setting SRAM1 as IRAM
Replies: 1
Views: 444

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

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...
by heydarov23
Fri Mar 08, 2024 2:18 pm
Forum: ESP-IDF
Topic: Optimizing IRAM usage: How to allocate SRAM1 as IRAM
Replies: 3
Views: 1538

Re: Optimizing IRAM usage: How to allocate SRAM1 as IRAM

Hi, My project was not stable. I think it was due to IRAM space. For example, the thread does not work as expected or sometimes bluetooth disconnects and etc. I thought if I free up some IRAM space, it would be better. In IDF 5.0.4, I made changes given in github to add SRAM1 for IRAM feature to men...
by heydarov23
Fri Mar 01, 2024 10:15 pm
Forum: ESP-IDF
Topic: Optimizing IRAM usage: How to allocate SRAM1 as IRAM
Replies: 3
Views: 1538

Re: Optimizing IRAM usage: How to allocate SRAM1 as IRAM

Hi, Micropython supports only ESP-IDF 5.0.4 and 5.1.2. I installed 5.1.2 and successfully allocated SRAM1 to IRAM in menuconfig and IRAM usage was reduced to 76 %. But due to micropython ESP-IDF compatibility (I guess so), my working codes, started not to work. Even if I changed SRAM1 setting back t...
by heydarov23
Thu Feb 29, 2024 2:22 pm
Forum: ESP-IDF
Topic: Optimizing IRAM usage: How to allocate SRAM1 as IRAM
Replies: 3
Views: 1538

Optimizing IRAM usage: How to allocate SRAM1 as IRAM

Hi, I am sorry if this is not correct forum to ask my question. I have developed custom micropython firmware. I am using BLE, I2C, ADC, DAC, PWM, some GPIO pins as input and output in my custom firmware. When checking my IRAM and DRAM size (idf.py size), the output shows that my IRAM usage is 97.3% ...