LVGL + ESP-IDF: Core 0 panic'ed (IllegalInstruction) by calling lv_timer_handler

Mykyta_Mar
Posts: 4
Joined: Fri Dec 08, 2023 9:28 am

LVGL + ESP-IDF: Core 0 panic'ed (IllegalInstruction) by calling lv_timer_handler

Postby Mykyta_Mar » Mon Jun 10, 2024 6:40 am

Hardware used: ESP-32 S3 WROOM-1 (esp32-8048s070 board)

esp-idf version: 5.1

used projects:

1) https://github.com/espressif/esp-idf/tr ... /rgb_panel

2) https://github.com/MMlodzinski/Sunton_E ... GL_example

Hi, I'm trying to use one of these two projects for lvgl with esp-idf, but I'm getting the same error through both, namely it crashed when calling lv_timer_handler function. Does anyone have a solution to this problem?

output:


I (0) cpu_start: App cpu up.
.I (750) esp_psram: SPI SRAM memory test OK
I (760) cpu_start: Pro cpu start user code
I (760) cpu_start: cpu freq: 160000000 Hz
I (760) cpu_start: Application information:
I (763) cpu_start: Project name: rgb_panel
I (768) cpu_start: App version: v5.4-dev-826-g8760e6d2a7-dirty
I (775) cpu_start: Compile time: Jun 7 2024 15:32:31
I (781) cpu_start: ELF file SHA256: 3a33630e958baa4b...
I (787) cpu_start: ESP-IDF: v5.1.1-1-gd3c99ed3b8-dirty
I (793) cpu_start: Min chip rev: v0.0
I (798) cpu_start: Max chip rev: v0.99
I (803) cpu_start: Chip rev: v0.2
I (808) heap_init: Initializing. RAM available for dynamic allocation:
I (815) heap_init: At 3FC97530 len 000521E0 (328 KiB): DRAM
I (821) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (828) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (834) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (840) esp_psram: Adding pool of 7808K of PSRAM memory to heap allocator
I (848) spi_flash: detected chip: gd
I (852) spi_flash: flash io: dio
W (856) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (869) sleep: Configure to isolate all GPIO pins in sleep state
I (876) sleep: Enable automatic switching of GPIO sleep configuration
I (883) app_start: Starting scheduler on CPU0
I (888) app_start: Starting scheduler on CPU1
I (888) main_task: Started on CPU0
I (898) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (908) main_task: Calling app_main()
I (908) example: Create semaphores
I (918) example: Turn off LCD backlight
I (918) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (928) example: Install RGB LCD panel driver
I (958) example: Register event callbacks
I (958) example: Initialize RGB LCD panel
I (958) example: Turn on LCD backlight
I (958) example: Initialize LVGL library
I (968) example: Allocate separate LVGL draw buffers from PSRAM
I (968) example: Register display driver to LVGL
I (978) example: Install LVGL tick timer
I (978) example: Create LVGL task
I (988) example: Starting LVGL task
I (998) example: Display LVGL Scatter Chart
Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibited). Exception was unhandled.

Core 0 register dump:
PC : 0x00000000 PS : 0x00060230 A0 : 0x8200953f A1 : 0x3fca5f70
A2 : 0x3fc9c674 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000320

A6 : 0x00000064 A7 : 0x3c11c19c A8 : 0x82009c7d A9 : 0x3fca5f40
A10 : 0x3fc9c674 A11 : 0x00000000 A12 : 0x00000000 A13 : 0x00000320
A14 : 0x00000064 A15 : 0x3c11c19c SAR : 0x0000001d EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
0x400570e8: memset in ROM

0x400570f3: memset in ROM

Backtrace: 0xfffffffd:0x3fca5f70 0x4200953c:0x3fca5fa0 0x42041781:0x3fca5fd0 0x420118e3:0x3fca6000 0x42011e91:0x3fca6020 0x42011fe7:0x3fca6090 0x420120f4:0x3fca60c0 0x4201229a:0x3fca60e0 0x42019c95:0x3fca6110 0x42019d43:0x3fca6130 0x420095e8:0x3fca6150 0x4037daa5:0x3fca6170

Who is online

Users browsing this forum: No registered users and 293 guests