Page 1 of 1

编译范例后,引导不了app部分

Posted: Thu Mar 10, 2022 3:38 am
by seanfan@qq.com
你好,
我在ESP-BOX工程的master分支下,IDF是release/v4.4 commit id: 2bdea81b2a,编译了范例(比如image-display);烧录开机后,出现 如下LOG后,再没有其它输出了。看样子是app_main部分引导不了?
能否提示一下,如何定位APP的入口地址?

谢谢!


ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x17b4
load:0x403b6000,len:0xe0c
load:0x403ba000,len:0x3078
entry 0x403b626c
[0;32mI (24) boot: ESP-IDF v4.4-264-g2bdea81b2a 2nd stage bootloader[0m
[0;32mI (25) boot: compile time 11:21:25[0m
[0;32mI (25) boot: chip revision: 0[0m
[0;32mI (28) qio_mode: Enabling QIO for flash chip WinBond[0m
[0;32mI (33) boot.esp32s3: Boot SPI Speed : 80MHz[0m
[0;32mI (38) boot.esp32s3: SPI Mode : QIO[0m
[0;32mI (43) boot.esp32s3: SPI Flash Size : 16MB[0m
[0;32mI (47) boot: Enabling RNG early entropy source...[0m
[0;32mI (53) boot: Partition Table:[0m
[0;32mI (56) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (64) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (71) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (79) boot: 2 factory factory app 00 00 00010000 00200000[0m
[0;32mI (86) boot: 3 storage Unknown data 01 82 00210000 00100000[0m
[0;32mI (94) boot: End of partition table[0m
[0;32mI (98) esp_image: segment 0: paddr=00010020 vaddr=3c060020 size=14100h ( 82176) map[0m
[0;32mI (119) esp_image: segment 1: paddr=00024128 vaddr=3fc98a90 size=02c60h ( 11360) load[0m
[0;32mI (121) esp_image: segment 2: paddr=00026d90 vaddr=40378000 size=09288h ( 37512) load[0m
[0;32mI (132) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=5b17ch (373116) map[0m
[0;32mI (189) esp_image: segment 4: paddr=0008b1a4 vaddr=40381288 size=07800h ( 30720) load[0m
[0;32mI (196) esp_image: segment 5: paddr=000929ac vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (202) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (203) boot: Disabling RNG early entropy source...[0m
[0;32mI (207) opi psram: vendor id : 0x0d (AP)[0m
[0;32mI (211) opi psram: dev id : 0x02 (generation 3)[0m
[0;32mI (217) opi psram: density : 0x03 (64 Mbit)[0m
[0;32mI (222) opi psram: good-die : 0x01 (Pass)[0m
[0;32mI (227) opi psram: Latency : 0x01 (Fixed)[0m
[0;32mI (232) opi psram: VCC : 0x01 (3V)[0m
[0;32mI (236) opi psram: SRF : 0x01 (Fast Refresh)[0m
[0;32mI (242) opi psram: BurstType : 0x01 (Hybrid Wrap)[0m
[0;32mI (247) opi psram: BurstLen : 0x01 (32 Byte)[0m
[0;32mI (252) opi psram: Readlatency : 0x02 (10 cycles@Fixed)[0m
[0;32mI (258) opi psram: DriveStrength: 0x00 (1/1)[0m
[0;33mW (263) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.[0m
[0;32mI (274) spiram: Found 64MBit SPI RAM device[0m
[0;32mI (278) spiram: SPI RAM mode: sram 80m[0m
[0;32mI (282) spiram: PSRAM initialized, cache is in normal (1-core) mode.[0m
[0;32mI (289) cpu_start: Pro cpu up.[0m
[0;32mI (293) cpu_start: Starting app cpu, entry point is 0x403793f4[0m

Re: 编译范例后,引导不了app部分

Posted: Thu Mar 10, 2022 3:46 am
by ESP_Rachel
请问您是怎么烧录的?程序是否在运行 操作界面是否有显示?

Re: 编译范例后,引导不了app部分

Posted: Thu Mar 10, 2022 4:05 am
by seanfan@qq.com
你好,
直接 idf.py -p COM3 flash 烧录,image-display和lv-demos这两个范例是停在这儿,没有任何输出了,应该是死机了。factory_demo是一到这个加载APP部分就重启了,不停的这样重启!

另外,编译烧录IDF下的范例,是能正常的跑起来。

Re: 编译范例后,引导不了app部分

Posted: Thu Mar 10, 2022 5:29 am
by seanfan@qq.com
已解决了! 谢谢。是LOG从USB这边出来了,uart0没有log输出了。

Re: 编译范例后,引导不了app部分

Posted: Tue Mar 15, 2022 2:54 am
by ESP_Rachel
Kindly remind: we have updated the new application firmware, which updates the speech recognition model, add features of continuous identification, the GUI interface is compatible with current two box series development boards. You can download and experience it. https://github.com/espressif/esp-box