[已解决]pll_cap_ext 10

dengbq
Posts: 38
Joined: Thu Mar 31, 2022 8:45 am

[已解决]pll_cap_ext 10

Postby dengbq » Mon May 29, 2023 12:05 pm

版本 idf v4.4
硬件:esp32-s3 krovo -v2板
现象,板工作正常后,再OTA升级,再重启,大概率出现无法再连接到wifi的现象,再重新上电就可以,日志:

[19:48:28]ESP-ROM:esp32s3-20210327
[19:48:28]Build:Mar 27 2021
[19:48:28]rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
[19:48:28]Saved PC:0x40375e40
[19:48:28]SPIWP:0xee
[19:48:28]mode:DIO, clock div:1
[19:48:28]load:0x3fcd0108,len:0x1794
[19:48:28]load:0x403b6000,len:0xe28
[19:48:28]load:0x403ba000,len:0x3118
[19:48:28]entry 0x403b6274
[19:48:28]I (29) boot: ESP-IDF v4.4-dirty 2nd stage bootloader
[19:48:28]I (29) boot: compile time 12:00:18
[19:48:28]I (29) boot: chip revision: 0
[19:48:28]I (31) qio_mode: Enabling default flash chip QIO
[19:48:28]I (36) boot.esp32s3: Boot SPI Speed : 80MHz
[19:48:28]I (41) boot.esp32s3: SPI Mode : QIO
[19:48:28]I (46) boot.esp32s3: SPI Flash Size : 16MB
[19:48:28]I (51) boot: Enabling RNG early entropy source...
[19:48:28]I (56) boot: Partition Table:
[19:48:28]I (60) boot: ## Label Usage Type ST Offset Length
[19:48:28]I (67) boot: 0 nvs WiFi data 01 02 00011000 00006000
[19:48:28]I (74) boot: 1 otadata OTA data 01 00 00017000 00002000
[19:48:28]I (82) boot: 2 phy_init RF data 01 01 00019000 00001000
[19:48:28]I (89) boot: 3 factory factory app 00 00 00020000 00200000
[19:48:28]I (97) boot: 4 ota_0 OTA app 00 10 00220000 00200000
[19:48:28]I (104) boot: 5 ota_1 OTA app 00 11 00420000 00200000
[19:48:28]I (112) boot: 6 logconfig Unknown data 01 82 00620000 00120000
[19:48:28]I (119) boot: End of partition table
[19:48:28]I (159) esp_image: segment 0: paddr=00420020 vaddr=3c150020 size=65ce8h (417000) map
[19:48:29]I (222) esp_image: segment 1: paddr=00485d10 vaddr=3fc9e5b0 size=050d8h ( 20696) load
[19:48:29]I (226) esp_image: segment 2: paddr=0048adf0 vaddr=40374000 size=05228h ( 21032) load
[19:48:29]I (232) esp_image: segment 3: paddr=00490020 vaddr=42000020 size=142c18h (1322008) map
[19:48:29]I (437) esp_image: segment 4: paddr=005d2c40 vaddr=40379228 size=15380h ( 86912) load
[19:48:29]I (454) esp_image: segment 5: paddr=005e7fc8 vaddr=50000000 size=00010h ( 16) load
[19:48:29]I (465) boot: Loaded app from partition at offset 0x420000
[19:48:29]I (465) boot: Disabling RNG early entropy source...
[19:48:29]I (476) opi psram: vendor id : 0x0d (AP)
[19:48:29]I (477) opi psram: dev id : 0x02 (generation 3)
[19:48:29]I (477) opi psram: density : 0x03 (64 Mbit)
[19:48:29]I (480) opi psram: good-die : 0x01 (Pass)
[19:48:29]I (485) opi psram: Latency : 0x01 (Fixed)
[19:48:29]I (490) opi psram: VCC : 0x01 (3V)
[19:48:29]I (495) opi psram: SRF : 0x01 (Fast Refresh)
[19:48:29]I (500) opi psram: BurstType : 0x01 (Hybrid Wrap)
[19:48:29]I (505) opi psram: BurstLen : 0x01 (32 Byte)
[19:48:29]I (510) opi psram: Readlatency : 0x02 (10 cycles@Fixed)
[19:48:29]I (516) opi psram: DriveStrength: 0x00 (1/1)
[19:48:29]W (521) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.
[19:48:29]I (532) spiram: Found 64MBit SPI RAM device
[19:48:29]I (536) spiram: SPI RAM mode: sram 80m
[19:48:29]I (541) spiram: PSRAM initialized, cache is in normal (1-core) mode.
[19:48:29]I (548) cpu_start: Pro cpu up.
[19:48:29]I (551) cpu_start: Starting app cpu, entry point is 0x40375740
[19:48:29]I (536) cpu_start: App cpu up.
[19:48:29]I (971) spiram: SPI SRAM memory test OK
[19:48:29]I (979) cpu_start: Pro cpu start user code
[19:48:29]I (979) cpu_start: cpu freq: 240000000
[19:48:29]I (979) cpu_start: Application information:
[19:48:29]I (982) cpu_start: Project name: qinglanEsp32v2
[19:48:29]I (987) cpu_start: App version: 0.01
[19:48:29]I (992) cpu_start: Compile time: May 29 2023 19:44:25
[19:48:29]I (998) cpu_start: ELF file SHA256: 70ca5ac839761e7f...
[19:48:29]I (1004) cpu_start: ESP-IDF: v4.4-dirty
[19:48:29]I (1009) heap_init: Initializing. RAM available for dynamic allocation:
[19:48:29]I (1017) heap_init: At 3FCAD7C0 len 00032840 (202 KiB): D/IRAM
[19:48:29]I (1023) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
[19:48:29]I (1030) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
[19:48:29]I (1036) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
[19:48:29]I (1043) spiram: Adding pool of 8192K of external SPI memory to heap allocator
[19:48:29]I (1051) spi_flash: detected chip: gd
[19:48:29]I (1055) spi_flash: flash io: qio
[19:48:29]I (1059) sleep: Configure to isolate all GPIO pins in sleep state
[19:48:29]I (1066) sleep: Enable automatic switching of GPIO sleep configuration
[19:48:29]I (1084) coexist: coexist rom version e7ae62f
[19:48:29]I (1085) cpu_start: Starting scheduler on PRO CPU.
[19:48:29]I (0) cpu_start: Starting scheduler on APP CPU.
[19:48:29]I (1094) ESP32: Start ESP32 main function.
[19:48:29]
[19:48:29]Type 'help' to get the list of commands.
[19:48:29]Use UP/DOWN arrows to navigate through command history.
[19:48:29]Press TAB when typing command name to auto-complete.
[19:48:29]I (1187) ESP32: Initializing SPIFFS
[19:48:30]esp32s3> I (1280) ESP32: Partition size: total: 1077041, used: 6526
......
[19:48:30]I (1367) pp: pp rom version: e7ae62f
[19:48:30]I (1378) net80211: net80211 rom version: e7ae62f
[19:48:30]I (1380) wifi:wifi driver task: 3fceae7c, prio:23, stack:6656, core=0
[19:48:30]I (1380) system_api: Base MAC address is not set
[19:48:30]I (1391) system_api: read default base MAC address from EFUSE
[19:48:30]I (1400) wifi:wifi firmware version: 7679c42
[19:48:30]I (1401) wifi:wifi certification version: v7.0
[19:48:30]I (1401) wifi:config NVS flash: enabled
[19:48:30]I (1412) wifi:config nano formating: disabled
[19:48:30]I (1412) wifi:Init data frame dynamic rx buffer num: 32
[19:48:30]I (1413) wifi:Init management frame dynamic rx buffer num: 32
[19:48:30]I (1424) wifi:Init management short buffer num: 32
[19:48:30]I (1424) wifi:Init static tx buffer num: 16
[19:48:30]I (1435) wifi:Init tx cache buffer num: 32
[19:48:30]I (1436) wifi:Init static tx FG buffer num: 2
[19:48:30]I (1436) wifi:Init static rx buffer size: 1600
[19:48:30]I (1447) wifi:Init static rx buffer num: 10
[19:48:30]I (1448) wifi:Init dynamic rx buffer num: 32
[19:48:30]I (1448) wifi_init: rx ba win: 6
[19:48:30]I (1459) wifi_init: tcpip mbox: 32
[19:48:30]I (1460) wifi_init: udp mbox: 6
[19:48:30]I (1460) wifi_init: tcp mbox: 6
[19:48:30]I (1471) wifi_init: tcp tx win: 5744
[19:48:30]I (1471) wifi_init: tcp rx win: 8744
[19:48:30]I (1471) wifi_init: tcp mss: 1440
[19:48:30]I (1482) wifi_init: WiFi/LWIP prefer SPIRAM
[19:48:30]I (1483) wifi_init: WiFi IRAM OP enabled
[19:48:30]I (1493) wifi_init: WiFi RX IRAM OP enabled
[19:48:30]I (1494) phy_init: phy_version 302,3ddfab3,Dec 3 2021,14:39:12
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]pll_cap_ext 10
[19:48:30]I (1646) wifi:mode : sta (34:85:18:99:44:50)
[19:48:30]I (1647) wifi:enable tsf
[19:48:30]I (1647) ESP32: MAC:0x34, 0x85, 0x18, 0x99, 0x43, 0x10
[19:48:30]I (1647) ESP32: WIFI_EVENT_STA_START
.....
[19:48:30]I (1685) ESP32: Running partion:ota_1
[19:48:30]I (1687) ESP32: SHA-256 for current firmware: : a36afcd7c94ea7ae185237be99fba4554bdf7423ea75f0b4c26dd026f51524c4
[19:48:30]I (1699) ESP32: Running partition is verfying ...
[19:48:30]I (1709) ESP32: Diagnostics completed successfully! Continuing execution ...
.....
[19:48:30]I (1855) ESP32: [ 1.5 ] Connect to wifi ......
[19:48:30]I (1867) ESP32: wifi_init_sta finished,ssid:testinglan,password:[123456789]
[19:48:32]I (3703) ESP32: WIFI DISCONNECTED:0.
[19:48:35]I (6703) ESP32: WIFI connect
[19:48:35]I (6703) ESP32: mywifi_event_handler step 00
[19:48:35]E (6703) ESP32: Failed to connect to:qinglan2,reason:201,retry to connect to the AP:1.
[19:48:35]E (6715) ESP32: AP:testinglan not found
[19:48:35]I (6716) ESP32: connect to the AP fail
[19:48:37]I (8747) ESP32: WIFI DISCONNECTED:0.
[19:48:38]E (9868) ESP32: UNEXPECTED EVENT:0,Timeout.
[19:48:38]E (9868) ESP32: [ 1.5 ] Connect to wifi failed.

查看问题,好像idf v4.4已经解决了,怎么还存在啊?
需要wifi的额外日志,请提供下打开方法,谢谢。
Last edited by dengbq on Sat Jun 03, 2023 1:29 am, edited 1 time in total.

ESP_LiuH
Posts: 42
Joined: Fri Feb 10, 2023 7:20 am

Re: pll_cap_ext 10

Postby ESP_LiuH » Tue May 30, 2023 12:09 pm

请切换到 https://github.com/espressif/esp-idf/re ... tag/v4.4.4 下验证,如果还存在问题,可以在连接 Wi-Fi 失败一定次数后,再次调用 esp_restart 看是否依然存在。

dengbq
Posts: 38
Joined: Thu Mar 31, 2022 8:45 am

Re: pll_cap_ext 10

Postby dengbq » Fri Jun 02, 2023 4:06 am

升级到idf v4.4.4,问题已经解决,多谢。 @ESP_LiuH

Who is online

Users browsing this forum: No registered users and 54 guests