MMlodzinski / Sunton_ESP32-8048S070c_ESP_IDF_LVGL_example

An example to show how to use LCD display and touch with LVGL on ESP-IDF framework for Sunton ESP32-8048S070c devboard.
33 stars 8 forks source link

no mem for frame buffer #3

Open poornasree123 opened 9 months ago

poornasree123 commented 9 months ago

hi.....i got the following error on my terminal after successfully building and flashing the code can you please assist me regarding the same?

I (258) cpu_start: Max chip rev: v0.99 I (263) cpu_start: Chip rev: v0.1 I (268) heap_init: Initializing. RAM available for dynamic allocation: I (275) heap_init: At 3FC9F2E8 len 0004A428 (297 KiB): DRAM I (281) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM I (288) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM I (294) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM I (301) spi_flash: detected chip: generic I (305) spi_flash: flash io: dio W (309) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (322) sleep: Configure to isolate all GPIO pins in sleep state I (329) sleep: Enable automatic switching of GPIO sleep configuration I (336) app_start: Starting scheduler on CPU0 I (341) app_start: Starting scheduler on CPU1 I (341) main_task: Started on CPU0 I (351) main_task: Calling app_main() I (351) Sunton_ESP32-8048S070c_example: Create semaphores I (361) Sunton_ESP32-8048S070c_example: Turn off LCD backlight I (371) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (381) Sunton_ESP32-8048S070c_example: Install RGB LCD panel driver E (381) lcd_panel.rgb: lcd_rgb_panel_alloc_frame_buffers(156): no mem for frame buffer E (391) lcd_panel.rgb: esp_lcd_new_rgb_panel(285): alloc frame buffers failed Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Core 0 register dump: PC : 0x4200c029 PS : 0x00060e30 A0 : 0x8200c632 A1 : 0x3fca2c80 A2 : 0x3fca421c A3 : 0x3c057ad0 A4 : 0x3c058000 A5 : 0x00000187 A6 : 0x3c057ad0 A7 : 0x3c05821c A8 : 0x00000000 A9 : 0x3fca2c20 A10 : 0x4203ffa0 A11 : 0x3c057ad0 A12 : 0x3c058000 A13 : 0x3fca2c80 A14 : 0x3fca2c60 A15 : 0x0000000c SAR : 0x00000004 EXCCAUSE: 0x0000001c EXCVADDR: 0x00000000 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffa

Backtrace: 0x4200c026:0x3fca2c80 0x4200c62f:0x3fca2ca0 0x420092f8:0x3fca2ce0 0x42049613:0x3fca2e40 0x4037db71:0x3fca2e70

ELF file SHA256: 1e9d95f3e2147921

Rebooting... ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x403757c8 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3818,len:0x1750 load:0x403c9700,len:0x4 load:0x403c9704,len:0xc00 load:0x403cc700,len:0x2e04 entry 0x403c9908

MMlodzinski commented 9 months ago

Hi, Did you changed something in my code? If so, please show me changed lines.

kasbert commented 9 months ago

Maybe PSRAM is not enabled in sdkconfig ?