Skip to content

使用esp_lcd_st77903_qspi的example(qspi_withoutRAM)运行时出现任务看门狗超时 (AEGHB-1145) #544

@junwei-lin

Description

@junwei-lin

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

ESP-IDF v5.4.1

Espressif SoC revision.

ESP32-S3-WROOM-1-N8R2

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

Development Kit.

self-made

Power Supply used.

USB

What is the expected behavior?

按示例应该会运行一个lvgl demo

What is the actual behavior?

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0xb (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x15a0
load:0x403c8700,len:0x4
load:0x403c8704,len:0xd20
load:0x403cb700,len:0x2f00
entry 0x403c8928
I (27) boot: ESP-IDF v5.4.1-dirty 2nd stage bootloader
I (27) boot: compile time Jul 18 2025 16:25:01
I (27) boot: Multicore bootloader
I (28) boot: chip revision: v0.2
I (30) boot: efuse block revision: v1.3
I (34) boot.esp32s3: Boot SPI Speed : 80MHz
I (38) boot.esp32s3: SPI Mode : DIO
I (42) boot.esp32s3: SPI Flash Size : 8MB
I (45) boot: Enabling RNG early entropy source...
I (50) boot: Partition Table:
I (52) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (72) boot: 2 factory factory app 00 00 00010000 00100000
I (78) boot: End of partition table
I (82) esp_image: segment 0: paddr=00010020 vaddr=3c050020 size=72528h (468264) map
I (171) esp_image: segment 1: paddr=00082550 vaddr=3fc9a300 size=02e10h ( 11792) load
I (174) esp_image: segment 2: paddr=00085368 vaddr=40374000 size=0acb0h ( 44208) load
I (185) esp_image: segment 3: paddr=00090020 vaddr=42000020 size=47a88h (293512) map
I (237) esp_image: segment 4: paddr=000d7ab0 vaddr=4037ecb0 size=0b5e8h ( 46568) load
I (247) esp_image: segment 5: paddr=000e30a0 vaddr=600fe100 size=0001ch ( 28) load
I (256) boot: Loaded app from partition at offset 0x10000
I (256) boot: Disabling RNG early entropy source...
I (266) esp_psram: Found 2MB PSRAM device
I (266) esp_psram: Speed: 40MHz
I (267) cpu_start: Multicore app
I (685) esp_psram: SPI SRAM memory test OK
I (694) cpu_start: Pro cpu start user code
I (694) cpu_start: cpu freq: 160000000 Hz
I (695) app_init: Application information:
I (695) app_init: Project name: qspi_without_ram
I (699) app_init: App version: 1
I (703) app_init: Compile time: Jul 18 2025 16:17:52
I (708) app_init: ELF file SHA256: 0f722a071...
I (712) app_init: ESP-IDF: v5.4.1-dirty
I (716) efuse_init: Min chip rev: v0.0
I (720) efuse_init: Max chip rev: v0.99
I (724) efuse_init: Chip rev: v0.2
I (728) heap_init: Initializing. RAM available for dynamic allocation:
I (734) heap_init: At 3FC9E098 len 0004B678 (301 KiB): RAM
I (739) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (745) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (750) heap_init: At 600FE11C len 00001ECC (7 KiB): RTCRAM
I (755) esp_psram: Adding pool of 2048K of PSRAM memory to heap allocator
I (763) spi_flash: detected chip: generic
I (765) spi_flash: flash io: dio
I (769) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (775) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (782) main_task: Started on CPU0
I (812) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (812) main_task: Calling app_main()
I (812) example: Turn off LCD backlight
I (812) gpio: GPIO[42]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (822) example: Install ST77903 panel driver
I (832) gpio: GPIO[10]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1132) lv_port: LVGL buffer size: 78KB
E (6122) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (6122) task_wdt: - IDLE0 (CPU 0)
E (6122) task_wdt: Tasks currently running:
E (6122) task_wdt: CPU 0: lcd_load_mem
E (6122) task_wdt: CPU 1: IDLE1
E (6122) task_wdt: Print CPU 0 (current core) backtrace

这里时CPU0 运行 lcd_lodd_mem的时候触发任务看门狗 这样一直报错持续一段时间后 程序又往下运行了
I (151562) lv_port: Create LVGL task
I (151642) example: Turn on LCD backlight
I (151642) example: Display LVGL demos
I (152272) main_task: Returned from app_main()
E (157292) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (157292) task_wdt: - IDLE1 (CPU 1)
E (157292) task_wdt: Tasks currently running:
E (157292) task_wdt: CPU 0: lvgl
E (157292) task_wdt: CPU 1: IDLE1
E (157292) task_wdt: Print CPU 1 backtrace
这个时候 CPU0 运行的lvgl任务 然后又开始重复上面的报错
Backtrace: 0x4037C952:0x3FC9BD30 0x4037BA09:0x3FC9BD50 0x4037E74B:0x3FCA2910 0x42003636:0x3FCA2930 0x40381FE9:0x3FCA2950 0x403810BD:0x3FCA2970
--- 0x4037c952: esp_crosscore_isr at D:/Espressif/frameworks/esp-idf-v5.4.1/components/esp_system/crosscore_int.c:73
--- 0x4037ba09: _xt_lowint1 at D:/Espressif/frameworks/esp-idf-v5.4.1/components/xtensa/xtensa_vectors.S:1240
--- 0x4037e74b: xt_utils_wait_for_intr at D:/Espressif/frameworks/esp-idf-v5.4.1/components/xtensa/include/xt_utils.h:82
--- (inlined by) esp_cpu_wait_for_intr at D:/Espressif/frameworks/esp-idf-v5.4.1/components/esp_hw_support/cpu.c:55
--- 0x42003636: esp_vApplicationIdleHook at D:/Espressif/frameworks/esp-idf-v5.4.1/components/esp_system/freertos_hooks.c:58
--- 0x40381fe9: prvIdleTask at D:/Espressif/frameworks/esp-idf-v5.4.1/components/freertos/FreeRTOS-Kernel/tasks.c:4353
--- 0x403810bd: vPortTaskWrapper at D:/Espressif/frameworks/esp-idf-v5.4.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139

E (162352) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (162352) task_wdt: - IDLE0 (CPU 0)
E (162352) task_wdt: Tasks currently running:
E (162352) task_wdt: CPU 0: lcd_load_mem
E (162352) task_wdt: CPU 1: IDLE1
E (162352) task_wdt: Print CPU 0 (current core) backtrace

想问下这是idf版本和库不匹配还是如何,idf是5.4.1 esp_lcd_st77903_qspi 1.0.0 ,还是我用的模块psram太小

Steps to reproduce.

每次复位运行都会出现

Debug Logs.


More Information.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions