box-lite刷成砖头!

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

box-lite刷成砖头!

Postby junshuliang » Wed Jul 05, 2023 1:47 pm

把IDF升为release5.1,终于可以编译factory_demo,并烧录成功,但是花屏!把SDK config中的HMI Board Config,默认box改为选择box-lite,但这个选项后面明确写着(Not Supported),死马当活马医,还是不行:
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x186c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xd88
load:0x403cc700,len:0x3070
entry 0x403c9934
I (26) boot: ESP-IDF v5.1 2nd stage bootloader
I (26) boot: compile time Jul 5 2023 21:27:22
I (26) boot: Multicore bootloader
I (29) boot: chip revision: v0.1
I (33) qio_mode: Enabling default flash chip QIO
I (38) boot.esp32s3: Boot SPI Speed : 80MHz
I (43) boot.esp32s3: SPI Mode : QIO
I (48) boot.esp32s3: SPI Flash Size : 16MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 sec_cert Unknown data 01 06 0000d000 00003000
I (76) boot: 1 nvs WiFi data 01 02 00010000 00006000
I (84) boot: 2 otadata OTA data 01 00 00016000 00002000
I (91) boot: 3 phy_init RF data 01 01 00018000 00001000
I (99) boot: 4 fctry WiFi data 01 02 00019000 00006000
I (106) boot: 5 ota_0 OTA app 00 10 00020000 0041a000
I (114) boot: 6 storage Unknown data 01 82 0043a000 0028a000
I (121) boot: 7 model Unknown data 01 82 006c4000 0076c000
I (129) boot: End of partition table
I (133) esp_image: segment 0: paddr=00020020 vaddr=3c170020 size=22484ch (2246732) map
I (482) esp_image: segment 1: paddr=00244874 vaddr=3fc9f500 size=07b78h ( 31608) load
I (488) esp_image: segment 2: paddr=0024c3f4 vaddr=40378000 size=03c24h ( 15396) load
I (492) esp_image: segment 3: paddr=00250020 vaddr=42000020 size=167d2ch (1473836) map
I (720) esp_image: segment 4: paddr=003b7d54 vaddr=4037bc24 size=137e0h ( 79840) load
I (736) esp_image: segment 5: paddr=003cb53c vaddr=50000000 size=00004h ( 4) load
I (747) boot: Loaded app from partition at offset 0x20000
I (747) boot: Disabling RNG early entropy source...
I (747) cpu_start: Multicore app
I (751) octal_psram: vendor id : 0x0d (AP)
I (756) octal_psram: dev id : 0x02 (generation 3)
I (762) octal_psram: density : 0x03 (64 Mbit)
I (767) octal_psram: good-die : 0x01 (Pass)
I (772) octal_psram: Latency : 0x01 (Fixed)
I (778) octal_psram: VCC : 0x01 (3V)
I (783) octal_psram: SRF : 0x01 (Fast Refresh)
I (789) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (795) octal_psram: BurstLen : 0x01 (32 Byte)
I (800) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (806) octal_psram: DriveStrength: 0x00 (1/1)
I (812) esp_psram: Found 8MB PSRAM device
I (816) esp_psram: Speed: 80MHz
I (820) cpu_start: Pro cpu up.
I (824) cpu_start: Starting app cpu, entry point is 0x40379788
0x40379788: call_start_cpu1 at D:/Users/MECHREVO/esp/esp-idf/components/esp_system/port/cpu_start.c:154

I (0) cpu_start: App cpu up.
I (1148) esp_psram: SPI SRAM memory test OK
I (1157) cpu_start: Pro cpu start user code
I (1157) cpu_start: cpu freq: 240000000 Hz
I (1157) cpu_start: Application information:
I (1158) cpu_start: Project name: factory_demo
I (1158) cpu_start: App version: v0.3.0-77-ge129cb5-dirty
I (1158) cpu_start: Compile time: Jul 5 2023 21:26:59
I (1159) cpu_start: ELF file SHA256: 5817e603dbf9a17d...
I (1159) cpu_start: ESP-IDF: v5.1
I (1159) cpu_start: Min chip rev: v0.0
I (1159) cpu_start: Max chip rev: v0.99
I (1159) cpu_start: Chip rev: v0.1
I (1160) heap_init: Initializing. RAM available for dynamic allocation:
I (1160) heap_init: At 3FCAE6D8 len 0003B038 (236 KiB): DRAM
I (1160) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (1160) heap_init: At 600FE010 len 00001FF0 (7 KiB): RTCRAM
I (1161) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (1162) spi_flash: detected chip: gd
I (1162) spi_flash: flash io: qio
I (1163) sleep: Configure to isolate all GPIO pins in sleep state
I (1163) sleep: Enable automatic switching of GPIO sleep configuration
I (1163) coexist: coex firmware version: ebddf30
I (1164) coexist: coexist rom version e7ae62f
I (1164) app_start: Starting scheduler on CPU0
I (0) app_start: Starting scheduler on CPU1
I (1164) main_task: Started on CPU0
I (1165) esp_psram: Reserving pool of 8K of internal memory for DMA/internal allocations
I (1165) main_task: Calling app_main()
I (1166) main: Compile time: Jul 5 2023 21:27:56
I (1379) ESP-BOX: Partition size: total: 2439971, used: 1376986
I (1380) LVGL: Starting LVGL task
I (1380) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1381) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1503) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
E (1503) lcd_panel.io.i2c: panel_io_i2c_rx_buffer(135): i2c transaction failed
E (1504) TT21100: esp_lcd_touch_tt21100_read_data(173): I2C read error!
E (1504) TT21100: esp_lcd_touch_new_i2c_tt21100(103): TT21100 init failed
E (1504) TT21100: Error (0xffffffff)! Touch controller TT21100 initialization failed!
I (1505) gpio: GPIO[3]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff at 0x42071986
0x42071986: bsp_display_indev_init at D:/Users/MECHREVO/esp/esp-box/examples/factory_demo/managed_components/espressif__esp-box/

file: "./managed_components/espressif__esp-box/esp-box.c" line 306
func: bsp_display_indev_init
expression: bsp_touch_new(((void *)0), &tp)

abort() was called at PC 0x403886db on core 0
0x403886db: _esp_error_check_failed at D:/Users/MECHREVO/esp/esp-idf/components/esp_system/esp_err.c:50



Backtrace: 0x40379d02:0x3fcb21a0 0x403886e5:0x3fcb21c0 0x4038d166:0x3fcb21e0 0x403886db:0x3fcb2250 0x42071986:0x3fcb2280 0x4207130 0x40388c42:0x3fcb2360
0x40379d02: panic_abort at D:/Users/MECHREVO/esp/esp-idf/components/esp_system/panic.c:452

0x403886e5: esp_system_abort at D:/Users/MECHREVO/esp/esp-idf/components/esp_system/port/esp_system_chip.c:84

0x4038d166: abort at D:/Users/MECHREVO/esp/esp-idf/components/newlib/abort.c:38

0x403886db: _esp_error_check_failed at D:/Users/MECHREVO/esp/esp-idf/components/esp_system/esp_err.c:50

0x42071986: bsp_display_indev_init at D:/Users/MECHREVO/esp/esp-box/examples/factory_demo/managed_components/espressif__esp-box/

0x420719fc: bsp_display_start at D:/Users/MECHREVO/esp/esp-box/examples/factory_demo/managed_components/espressif__esp-box/esp-b

0x42009d9a: app_main at D:/Users/MECHREVO/esp/esp-box/examples/factory_demo/main/main.c:107 (discriminator 2)

0x421647a6: main_task at D:/Users/MECHREVO/esp/esp-idf/components/freertos/app_startup.c:208 (discriminator 13)

0x40388c42: vPortTaskWrapper at D:/Users/MECHREVO/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162





ELF file SHA256: 5817e603dbf9a17d

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40379b88
0x40379b88: esp_restart_noos_dig at D:/Users/MECHREVO/esp/esp-idf/components/esp_system/port/esp_system_chip.c:57 (discriminator

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: box-lite刷成砖头!

Postby ESP_Xuxin » Thu Jul 06, 2023 2:12 am

master 版本还未完整支持,内部已经整合好,今天把几个 ESP-IDF 版本测试下,本周会释放。

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

Re: box-lite刷成砖头!

Postby junshuliang » Fri Jul 07, 2023 10:07 am

大哥,周末了,你们release了吗?或者告诉我怎么改也行

ljt123
Posts: 9
Joined: Sun Jul 09, 2023 4:05 am

Re: box-lite刷成砖头!

Postby ljt123 » Sun Jul 09, 2023 2:16 pm

我也是,一烧box的代码进去就花屏,申请box lite板,结果全是box的资料,而且很多都不兼容。

ljt123
Posts: 9
Joined: Sun Jul 09, 2023 4:05 am

Re: box-lite刷成砖头!

Postby ljt123 » Sun Jul 09, 2023 2:41 pm

ESP_Xuxin wrote:
Thu Jul 06, 2023 2:12 am
master 版本还未完整支持,内部已经整合好,今天把几个 ESP-IDF 版本测试下,本周会释放。
都星期天晚上十点四十一了,怎么还没有资源,我怎么开发 :( :( :( :(

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

Re: box-lite刷成砖头!

Postby junshuliang » Mon Jul 10, 2023 3:01 am

box和box-lite的总线芯片,显示芯片,音频芯片,IO芯片,除了ESP32没一个一样的!!!却起了这么一个类似的名称,让人以为只是外观上少了个支架的差别,你们的产品经理应该出来解释一下,两个截然不同的产品,为什么起类似的名称,误导大家

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: box-lite刷成砖头!

Postby ESP_Xuxin » Tue Jul 11, 2023 2:42 am

这里很抱歉,因为发布测试前,涉及相关组件较多,都要一一测试适配,且每个组件可能是有不同部门处理,会有一些协同问题。
耽误了大家的时间。我这边沟通了下,会在今天发布。
需要注意下以下尚存在问题:
example 下的 factory_demo 在 ESP-IDF release 5.0 暂不支持,其他 demo 在 release 5.0/5.1 master 都正常。

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

Re: box-lite刷成砖头!

Postby junshuliang » Tue Jul 11, 2023 3:00 am

亲人啊,谢谢!静候佳音。只要factory_demo能在5.1上跑就行

ljt123
Posts: 9
Joined: Sun Jul 09, 2023 4:05 am

Re: box-lite刷成砖头!

Postby ljt123 » Tue Jul 11, 2023 12:00 pm

ESP_Xuxin wrote:
Tue Jul 11, 2023 2:42 am
这里很抱歉,因为发布测试前,涉及相关组件较多,都要一一测试适配,且每个组件可能是有不同部门处理,会有一些协同问题。
耽误了大家的时间。我这边沟通了下,会在今天发布。
需要注意下以下尚存在问题:
example 下的 factory_demo 在 ESP-IDF release 5.0 暂不支持,其他 demo 在 release 5.0/5.1 master 都正常。
为啥我今天下载了新的esp-box 3.0.0,还是会报错啊
QQ图片20230711195954.png
QQ图片20230711195954.png (174.85 KiB) Viewed 7405 times

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: box-lite刷成砖头!

Postby ESP_Xuxin » Tue Jul 11, 2023 12:11 pm

新的 代码已同步到 github,请各位看下。

Who is online

Users browsing this forum: No registered users and 45 guests