-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Answers checklist.
- I have read the documentation XiaoZhi AI Programming Guide and the issue is not addressed there.
- I have updated my firmware 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.
XiaoZhi AI firmware version.
Waveshare esp32-s3-touch-amoled-1.75 2.2.2
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Power Supply used.
USB
What is the expected behavior?
刷最新2.2.2固件后,Waveshare esp32-s3-touch-amoled-1.75正常启动。
What is the actual behavior?
刷最新2.2.2固件后,Waveshare esp32-s3-touch-amoled-1.75无法启动。
Steps to reproduce.
刷最新固件后,Waveshare esp32-s3-touch-amoled-1.75无法启动。
Debug Logs.
E (1679) sh8601: swap_xy is not supported by this panel
I (1679) Backlight: Set brightness to 75
I (1689) WaveshareEsp32s3TouchAMOLED1inch75: Initialize touch controller
I (1759) CST9217: Checkcode: 0x204ECACA
I (1759) CST9217: Resolution X: 466, Y: 466
I (1759) CST9217: Chip Type: 0x9217, ProjectID: 0x5734
I (1759) WaveshareEsp32s3TouchAMOLED1inch75: Touch panel initialized successfully
I (1759) MCP: Add tool: self.system.reconfigure_wifi
I (1769) StateMachine: State: unknown -> starting
ESP_ERROR_CHECK failed: esp_err_t 0x108 (ESP_ERR_INVALID_RESPONSE) at 0x420b3566
--- 0x420b3566: lvgl_port_touchpad_read at /home/xzr/Documents/xiaozhi-esp32/managed_components/espressif__esp_lvgl_port/src/lvgl9/
esp_lvgl_port_touch.c:130
file: "./managed_components/espressif__esp_lvgl_port/src/lvgl9/esp_lvgl_port_touch.c" line 127
func: lvgl_port_touchpad_read
expression: esp_lcd_touch_read_data(touch_ctx->handle)
abort() was called at PC 0x40385253 on core 1
--- 0x40385253: _esp_error_check_failed at /home/xzr/esp/esp-idf/components/esp_system/esp_err.c:49
Backtrace: 0x40385295:0x3fcce720 0x4038525d:0x3fcce740 0x4038cc5a:0x3fcce760 0x40385253:0x3fcce7d0 0x420b3566:0x3fcce800 0x420c4bd0
:0x3fcce830 0x420c5349:0x3fcce8c0 0x420c929e:0x3fcce8e0 0x420b2b24:0x3fcce910
--- 0x40385295: panic_abort at /home/xzr/esp/esp-idf/components/esp_system/panic.c:477
--- 0x4038525d: esp_system_abort at /home/xzr/esp/esp-idf/components/esp_system/port/esp_system_chip.c:87
--- 0x4038cc5a: abort at /home/xzr/esp/esp-idf/components/newlib/src/abort.c:38
--- 0x40385253: _esp_error_check_failed at /home/xzr/esp/esp-idf/components/esp_system/esp_err.c:49
--- 0x420b3566: lvgl_port_touchpad_read at /home/xzr/Documents/xiaozhi-esp32/managed_components/espressif__esp_lvgl_port/src/lvgl9/
esp_lvgl_port_touch.c:130
--- 0x420c4bd0: indev_read_core at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/indev/lv_indev.c:199
--- (inlined by) lv_indev_read at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/indev/lv_indev.c:243
--- (inlined by) lv_indev_read at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/indev/lv_indev.c:216
--- 0x420c5349: lv_indev_read_timer_cb at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/indev/lv_indev.c:213
--- 0x420c929e: lv_timer_exec at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/misc/lv_timer.c:327
--- (inlined by) lv_timer_handler at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/misc/lv_timer.c:107
--- (inlined by) lv_timer_handler at /home/xzr/Documents/xiaozhi-esp32/managed_components/lvgl__lvgl/src/misc/lv_timer.c:63
--- 0x420b2b24: lvgl_port_task at /home/xzr/Documents/xiaozhi-esp32/managed_components/espressif__esp_lvgl_port/src/lvgl9/esp_lvgl_
port.c:239
ELF file SHA256: bad62d442
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
More Information.
注释掉esp32-s3-touch-amoled-1.75.cc 中触摸屏相关初始化流程后,启动正常。
WaveshareEsp32s3TouchAMOLED1inch75() : boot_button_(BOOT_BUTTON_GPIO) {
InitializePowerSaveTimer();
InitializeCodecI2c();
InitializeTca9554();
InitializeAxp2101();
InitializeSpi();
InitializeSH8601Display();
// InitializeTouch(); 注释这行重新编译后,启动正常
InitializeButtons();
InitializeTools();
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working