ESP32_ADF 使用dueros demo 烧写后报的错误

teardrop
Posts: 3
Joined: Thu Aug 23, 2018 2:26 am

ESP32_ADF 使用dueros demo 烧写后报的错误

Postby teardrop » Thu Aug 23, 2018 2:59 pm

我使用esp32 LyraT 语音开发板尝试接入dueros 结果烧写进去报错
这部分是日志

rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QOUT, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5764
load:0x40078000,len:0
load:0x40078000,len:14032
entry 0x40078ff0
[0;32mI (28) boot: ESP-IDF v3.0.1 2nd stage bootloader[0m
[0;32mI (28) boot: compile time 22:32:33[0m
[0;32mI (28) boot: Enabling RNG early entropy source...[0m
[0;32mI (33) qio_mode: Enabling default flash chip QIO[0m
[0;31mE (38) qio_mode: Failed to set QIE bit, not enabling QIO mode[0m
[0;32mI (45) boot: SPI Speed : 20MHz[0m
[0;32mI (49) boot: SPI Mode : QOUT[0m
[0;32mI (53) boot: SPI Flash Size : 2MB[0m
[0;31mE (57) flash_parts: partition 0 invalid magic number 0xeeee[0m
[0;31mE (63) boot: Failed to verify partition table[0m
[0;31mE (68) boot: load partition table error![0m
user code done


下边这部分是 .csv 的配置文件 我设置成了4Mb
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 4M,

不知道问题出在哪里,百度的profile 已经生成成功。就差这个好像是分区的问题,请帮忙分析下。

ESP_William
Posts: 131
Joined: Tue Apr 24, 2018 5:54 am

Re: ESP32_ADF 使用dueros demo 烧写后报的错误

Postby ESP_William » Fri Aug 24, 2018 3:49 am

贵方可以试一下用 DIO+80Mhz 烧录试试,另外烧录前请擦写一下,谢谢!

teardrop
Posts: 3
Joined: Thu Aug 23, 2018 2:26 am

Re: ESP32_ADF 使用dueros demo 烧写后报的错误

Postby teardrop » Fri Aug 24, 2018 5:57 am

谢谢你指导。按照你的建议,烧写程序时SPI SPEED 设置为80MHz, SPI MODE 设置为DIO。

报出了新的错误,我在社区里看到有人也遇到过。但没找到具体的解决办法。
我想知道什么原因导致的。并且可以有效解决掉。

还有我使用的试esp32_Lyrat 开发板 32Mbit大小
在dueros 的测试程序 partitions_singleapp.csv文件 factory size 参数应该设置为多大合适。
Attachments
794AFBBA-23B1-4ce3-AA55-7286375D37D4.png
794AFBBA-23B1-4ce3-AA55-7286375D37D4.png (30.18 KiB) Viewed 9866 times
72C95596-094A-47a8-864E-E1F6B59B61F8.png
72C95596-094A-47a8-864E-E1F6B59B61F8.png (41.57 KiB) Viewed 9866 times

Who is online

Users browsing this forum: No registered users and 7 guests