设备:esp-box-3b
开发环境:esp-idf + slint
按照官方的slint开发例子,运行和烧录都没问题,但是屏幕无法显示
esp-box的slint例子为啥烧录后无法显示
-
- Posts: 95
- Joined: Wed Nov 10, 2021 9:28 am
Re: esp-box的slint例子为啥烧录后无法显示
是否有烧录后的log?我们看一下。
-
- Posts: 2
- Joined: Sat Jul 06, 2024 7:56 am
Re: esp-box的slint例子为啥烧录后无法显示
Executing action: monitor
Serial port COM7
Connecting...
Detecting chip type... ESP32-S3
Running idf_monitor in directory E:\program_rust\slint-hello-world
Executing "D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe D:\Espressif\frameworks\esp-idf-v5.2.2\tools/idf_monitor.py -p COM7 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 E:\program_rust\slint-hello-world\build\slint-hello-world.elf --force-color -m 'D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe' 'D:\Espressif\frameworks\esp-idf-v5.2.2\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM7 instead...
--- esp-idf-monitor 1.4.0 on \\.\COM7 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048d00
0x40048d00: uart_rx_one_char in ROM
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x178c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xcbc
load:0x403cc700,len:0x2d9c
entry 0x403c9914
I (18) boot: ESP-IDF v5.2.2-dirty 2nd stage bootloader
I (18) boot: compile time Jul 5 2024 17:51:18
I (18) boot: Multicore bootloader
I (22) boot: chip revision: v0.2
I (26) boot.esp32s3: Boot SPI Speed : 80MHz
I (30) boot.esp32s3: SPI Mode : DIO
I (35) boot.esp32s3: SPI Flash Size : 2MB
I (40) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (49) boot: ## Label Usage Type ST Offset Length
I (56) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (64) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (71) boot: 2 factory factory app 00 00 00010000 00100000
I (79) boot: End of partition table
I (83) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=4b3fch (308220) map
I (146) esp_image: segment 1: paddr=0005b424 vaddr=3fc95000 size=02d28h ( 11560) load
I (149) esp_image: segment 2: paddr=0005e154 vaddr=40374000 size=01ec4h ( 7876) load
I (154) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=9e8ach (649388) map
I (277) esp_image: segment 4: paddr=000fe8d4 vaddr=40375ec4 size=0f118h ( 61720) load
I (298) boot: Loaded app from partition at offset 0x10000
I (298) boot: Disabling RNG early entropy source...
I (309) cpu_start: Multicore app
I (319) cpu_start: Pro cpu start user code
I (319) cpu_start: cpu freq: 160000000 Hz
I (319) cpu_start: Application information:
I (322) cpu_start: Project name: slint-hello-world
I (328) cpu_start: App version: 1
I (332) cpu_start: Compile time: Jul 5 2024 17:47:03
I (338) cpu_start: ELF file SHA256: 685e8f25d...
I (344) cpu_start: ESP-IDF: v5.2.2-dirty
I (349) cpu_start: Min chip rev: v0.0
I (354) cpu_start: Max chip rev: v0.99
I (359) cpu_start: Chip rev: v0.2
I (363) heap_init: Initializing. RAM available for dynamic allocation:
I (371) heap_init: At 3FC99838 len 0004FED8 (319 KiB): RAM
I (377) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (383) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (389) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (396) spi_flash: detected chip: gd
I (400) spi_flash: flash io: dio
W (403) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
W (417) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (427) sleep: Configure to isolate all GPIO pins in sleep state
I (434) sleep: Enable automatic switching of GPIO sleep configuration
I (442) main_task: Started on CPU0
I (452) main_task: Calling app_main()
I (452) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (462) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (592) ESP-BOX: Setting LCD backlight: 100%
Serial port COM7
Connecting...
Detecting chip type... ESP32-S3
Running idf_monitor in directory E:\program_rust\slint-hello-world
Executing "D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe D:\Espressif\frameworks\esp-idf-v5.2.2\tools/idf_monitor.py -p COM7 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 E:\program_rust\slint-hello-world\build\slint-hello-world.elf --force-color -m 'D:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe' 'D:\Espressif\frameworks\esp-idf-v5.2.2\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM7 instead...
--- esp-idf-monitor 1.4.0 on \\.\COM7 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048d00
0x40048d00: uart_rx_one_char in ROM
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x178c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xcbc
load:0x403cc700,len:0x2d9c
entry 0x403c9914
I (18) boot: ESP-IDF v5.2.2-dirty 2nd stage bootloader
I (18) boot: compile time Jul 5 2024 17:51:18
I (18) boot: Multicore bootloader
I (22) boot: chip revision: v0.2
I (26) boot.esp32s3: Boot SPI Speed : 80MHz
I (30) boot.esp32s3: SPI Mode : DIO
I (35) boot.esp32s3: SPI Flash Size : 2MB
I (40) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (49) boot: ## Label Usage Type ST Offset Length
I (56) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (64) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (71) boot: 2 factory factory app 00 00 00010000 00100000
I (79) boot: End of partition table
I (83) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=4b3fch (308220) map
I (146) esp_image: segment 1: paddr=0005b424 vaddr=3fc95000 size=02d28h ( 11560) load
I (149) esp_image: segment 2: paddr=0005e154 vaddr=40374000 size=01ec4h ( 7876) load
I (154) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=9e8ach (649388) map
I (277) esp_image: segment 4: paddr=000fe8d4 vaddr=40375ec4 size=0f118h ( 61720) load
I (298) boot: Loaded app from partition at offset 0x10000
I (298) boot: Disabling RNG early entropy source...
I (309) cpu_start: Multicore app
I (319) cpu_start: Pro cpu start user code
I (319) cpu_start: cpu freq: 160000000 Hz
I (319) cpu_start: Application information:
I (322) cpu_start: Project name: slint-hello-world
I (328) cpu_start: App version: 1
I (332) cpu_start: Compile time: Jul 5 2024 17:47:03
I (338) cpu_start: ELF file SHA256: 685e8f25d...
I (344) cpu_start: ESP-IDF: v5.2.2-dirty
I (349) cpu_start: Min chip rev: v0.0
I (354) cpu_start: Max chip rev: v0.99
I (359) cpu_start: Chip rev: v0.2
I (363) heap_init: Initializing. RAM available for dynamic allocation:
I (371) heap_init: At 3FC99838 len 0004FED8 (319 KiB): RAM
I (377) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (383) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (389) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (396) spi_flash: detected chip: gd
I (400) spi_flash: flash io: dio
W (403) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
W (417) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (427) sleep: Configure to isolate all GPIO pins in sleep state
I (434) sleep: Enable automatic switching of GPIO sleep configuration
I (442) main_task: Started on CPU0
I (452) main_task: Calling app_main()
I (452) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (462) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (592) ESP-BOX: Setting LCD backlight: 100%
Who is online
Users browsing this forum: No registered users and 12 guests