我使用的模块是ESP32-C3-MINI-1-N4。
我在使用乐鑫的AT固件源码,按照乐鑫的文档进行编译之后,下载到模块内会持续重启,下载乐鑫出的bin固件 则正常使用。源码我啥也没修改过,但问题依旧,实在找不到原因。希望有大佬指教一下,下面是复位信息。
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd6100,len:0x17bc
load:0x403ce000,len:0x8e8
load:0x403d0000,len:0x29a8
entry 0x403ce000
[0;32mI (30) boot: ESP-IDF v4.3.1 2nd stage bootloader[0m
[0;32mI (31) boot: compile time 22:01:10[0m
[0;32mI (31) boot: chip revision: 3[0m
[0;32mI (33) boot.esp32c3: SPI Speed : 40MHz[0m
[0;32mI (37) boot.esp32c3: SPI Mode : DIO[0m
[0;32mI (42) boot.esp32c3: SPI Flash Size : 4MB[0m
[0;32mI (46) boot: Enabling RNG early entropy source...[0m
[0;32mI (52) boot: Partition Table:[0m
[0;32mI (55) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (63) boot: 0 otadata OTA data 01 00 0000d000 00002000[0m
[0;32mI (70) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (78) boot: 2 nvs WiFi data 01 02 00010000 0000e000[0m
[0;32mI (85) boot: 3 at_customize unknown 40 00 0001e000 00042000[0m
[0;32mI (93) boot: 4 ota_0 OTA app 00 10 00060000 001d0000[0m
[0;32mI (100) boot: 5 ota_1 OTA app 00 11 00230000 001d0000[0m
[0;32mI (108) boot: End of partition table[0m
[0;32mI (112) boot: No factory image, trying OTA 0[0m
[0;32mI (117) esp_image: segment 0: paddr=00060020 vaddr=3c140020 size=2a828h (174120) map[0m
[0;32mI (162) esp_image: segment 1: paddr=0008a850 vaddr=3fc8fe00 size=03bd4h ( 15316) load[0m
[0;32mI (166) esp_image: segment 2: paddr=0008e42c vaddr=40380000 size=01bech ( 7148) load[0m
[0;32mI (169) esp_image: segment 3: paddr=00090020 vaddr=42000020 size=132104h (1253636) map[0m
[0;32mI (438) esp_image: segment 4: paddr=001c212c vaddr=40381bec size=0e058h ( 57432) load[0m
[0;32mI (453) esp_image: segment 5: paddr=001d018c vaddr=50000000 size=00004h ( 4) load[0m
[0;32mI (453) esp_image: segment 6: paddr=001d0198 vaddr=50000008 size=00010h ( 16) load[0m
[0;32mI (464) boot: Loaded app from partition at offset 0x60000[0m
[0;32mI (503) boot: Set actual ota_seq=1 in otadata[0][0m
[0;32mI (504) boot: Disabling RNG early entropy source...[0m
有时候会提示一个失败就不在复位了。信息如下
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd6100,len:0x17bc
load:0x403ce000,len:0x8e8
load:0x403d0000,len:0x29a8
entry 0x403ce000
[0;32mI (31) boot: ESP-IDF v4.3.1 2nd stage bootloader[0m
[0;32mI (31) boot: compile time 22:01:10[0m
[0;32mI (31) boot: chip revision: 3[0m
[0;32mI (33) boot.esp32c3: SPI Speed : 40MHz[0m
[0;32mI (37) boot.esp32c3: SPI Mode : DIO[0m
[0;32mI (42) boot.esp32c3: SPI Flash Size : 4MB[0m
[0;32mI (47) boot: Enabling RNG early entropy source...[0m
[0;32mI (52) boot: Partition Table:[0m
[0;32mI (56) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (63) boot: 0 otadata OTA data 01 00 0000d000 00002000[0m
[0;32mI (70) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (78) boot: 2 nvs WiFi data 01 02 00010000 0000e000[0m
[0;32mI (85) boot: 3 at_customize unknown 40 00 0001e000 00042000[0m
[0;32mI (93) boot: 4 ota_0 OTA app 00 10 00060000 001d0000[0m
[0;32mI (100) boot: 5 ota_1 OTA app 00 11 00230000 001d0000[0m
[0;32mI (108) boot: End of partition table[0m
[0;32mI (112) esp_image: segment 0: paddr=00060020 vaddr=3c140020 size=2a828h (174120) map[0m
[0;32mI (157) esp_image: segment 1: paddr=0008a850 vaddr=3fc8fe00 size=03bd4h ( 15316) load[0m
[0;32mI (161) esp_image: segment 2: paddr=0008e42c vaddr=40380000 size=01bech ( 7148) load[0m
[0;32mI (165) esp_image: segment 3: paddr=00090020 vaddr=42000020 size=132104h (1253636) map[0m
[0;32mI (434) esp_image: segment 4: paddr=001c212c vaddr=40381bec size=0e058h ( 57432) load[0m
[0;32mI (448) esp_image: segment 5: paddr=001d018c vaddr=50000000 size=00004h ( 4) load[0m
[0;32mI (448) esp_image: segment 6: paddr=001d0198 vaddr=50000008 size=00010h ( 16) load[0m
[0;32mI (459) boot: Loaded app from partition at offset 0x60000[0m
[0;32mI (460) boot: Disabling RNG early entropy source...[0m
[0;31mE (1072) phy_init: PHY init data failed to load[0m
module_name:MINI-1
max tx power=78,ret=0
2.3.0
先感谢大佬们的帮助。小弟感激不尽。
编译AT固件之后下载后,模块一直重启
Moderator: ESP_XCGuang
Re: 编译AT固件之后下载后,模块一直重启
可以把你的 sdkconfig 还有 build 文件夹发给我吗?我来尝试编译下
Who is online
Users browsing this forum: Baidu [Spider] and 16 guests