esp32s3使用ULP-RISC-V个别芯片出现COCPU crash唤醒
Posted: Wed Nov 16, 2022 2:56 am
模组: ESP32-S3-MINI-1U
代码:https://gitee.com/mileswangseven/esp32s3_vwdt_test
ESP-IDF: v4.4.2
使用协处理器在休眠期间喂狗,出现COCPU crash唤醒。小批量生产50套,出现了1个。
随着使用的时间增加,后面还有其他模组出现了相同的现象。
Log:
代码:https://gitee.com/mileswangseven/esp32s3_vwdt_test
ESP-IDF: v4.4.2
使用协处理器在休眠期间喂狗,出现COCPU crash唤醒。小批量生产50套,出现了1个。
随着使用的时间增加,后面还有其他模组出现了相同的现象。
Log:
Code: Select all
2022-10-26 16:28:01 ESP-ROM:esp32s3-20210327
2022-10-26 16:29:53 Build:Mar 27 2021
2022-10-26 16:29:53 rst:0x1 (POWERON),boot:0x28 (SPI_FAST_FLASH_BOOT)
2022-10-26 16:29:53 SPIWP:0xee
2022-10-26 16:29:53 mode:DIO, clock div:1
2022-10-26 16:29:53 load:0x3fce3808,len:0x1650
2022-10-26 16:29:53 load:0x403c9700,len:0xb54
2022-10-26 16:29:53 load:0x403cc700,len:0x2f78
2022-10-26 16:29:53 SHA-256 comparison failed:
2022-10-26 16:29:53 Calculated: e33fb628eea0daa04b2ffec6de384225a25d5dbd6e61ede1ab611f4c61cd2820
2022-10-26 16:29:53 Expected: beafec92244bef7b6ae12ee4d7b8f2c12b49fe494de15a2c6a8ed2862230c5ca
2022-10-26 16:29:53 Attempting to boot anyway...
2022-10-26 16:29:53 entry 0x403c9938
2022-10-26 16:29:53 I (43) boot: ESP-IDF v4.4.2 2nd stage bootloader
2022-10-26 16:29:53 I (43) boot: compile time 16:17:26
2022-10-26 16:29:53 I (43) boot: chip revision: 0
2022-10-26 16:29:53 I (45) boot.esp32s3: Boot SPI Speed : 80MHz
2022-10-26 16:29:53 I (50) boot.esp32s3: SPI Mode : DIO
2022-10-26 16:29:53 I (54) boot.esp32s3: SPI Flash Size : 8MB
2022-10-26 16:29:53 I (59) boot: Enabling RNG early entropy source...
2022-10-26 16:29:53 I (64) boot: Partition Table:
2022-10-26 16:29:53 I (68) boot: ## Label Usage Type ST Offset Length
2022-10-26 16:29:53 I (75) boot: 0 nvs WiFi data 01 02 00009000 00006000
2022-10-26 16:29:53 I (83) boot: 1 phy_init RF data 01 01 0000f000 00001000
2022-10-26 16:29:53 I (90) boot: 2 factory factory app 00 00 00010000 00100000
2022-10-26 16:29:53 I (98) boot: End of partition table
2022-10-26 16:29:53 I (102) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=07dc4h ( 32196) map
2022-10-26 16:29:53 I (116) esp_image: segment 1: paddr=00017dec vaddr=3fc91550 size=01f3ch ( 7996) load
2022-10-26 16:29:53 I (120) esp_image: segment 2: paddr=00019d30 vaddr=40374000 size=062e8h ( 25320) load
2022-10-26 16:29:53 I (133) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=17fa4h ( 98212) map
2022-10-26 16:29:53 I (153) esp_image: segment 4: paddr=00037fcc vaddr=4037a2e8 size=07264h ( 29284) load
2022-10-26 16:29:53 I (160) esp_image: segment 5: paddr=0003f238 vaddr=50001000 size=00010h ( 16) load
2022-10-26 16:29:53 I (161) esp_image: segment 6: paddr=0003f250 vaddr=600fe000 size=00028h ( 40) load
2022-10-26 16:29:53 I (173) boot: Loaded app from partition at offset 0x10000
2022-10-26 16:29:53 I (174) boot: Disabling RNG early entropy source...
2022-10-26 16:29:53 I (190) cpu_start: Pro cpu up.
2022-10-26 16:29:53 I (191) cpu_start: Single core mode
2022-10-26 16:29:53 I (200) cpu_start: Pro cpu start user code
2022-10-26 16:29:53 I (200) cpu_start: cpu freq: 160000000
2022-10-26 16:29:53 I (200) cpu_start: Application information:
2022-10-26 16:29:53 I (203) cpu_start: Project name: blink
2022-10-26 16:29:53 I (207) cpu_start: App version: db4eb09
2022-10-26 16:29:53 I (212) cpu_start: Compile time: Oct 26 2022 16:25:50
2022-10-26 16:29:53 I (218) cpu_start: ELF file SHA256: e0b760e7cc4ddab7...
2022-10-26 16:29:53 I (224) cpu_start: ESP-IDF: v4.4.2
2022-10-26 16:29:53 I (229) heap_init: Initializing. RAM available for dynamic allocation:
2022-10-26 16:29:53 I (237) heap_init: At 3FC94820 len 0004B7E0 (301 KiB): D/IRAM
2022-10-26 16:29:53 I (243) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
2022-10-26 16:29:53 I (250) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
2022-10-26 16:29:53 I (256) heap_init: At 600FE028 len 00001FD8 (7 KiB): RTCRAM
2022-10-26 16:29:53 I (263) spi_flash: detected chip: gd
2022-10-26 16:29:53 I (266) spi_flash: flash io: dio
2022-10-26 16:29:53 I (271) sleep: Configure to isolate all GPIO pins in sleep state
2022-10-26 16:29:53 I (277) sleep: Enable automatic switching of GPIO sleep configuration
2022-10-26 16:29:53 I (284) cpu_start: Starting scheduler on PRO CPU.
2022-10-26 16:29:53 Not a ULP-RISC-V wakeup, initializing it!
2022-10-26 16:29:53 wakeup: 0
2022-10-26 16:29:53 ft_wdt timeout handler: 1
2022-10-26 16:29:55 Entering in deep sleep
2022-10-26 16:29:56
2022-10-26 16:29:56 ESP-ROM:esp32s3-20210327
2022-10-26 16:29:56 Build:Mar 27 2021
2022-10-26 16:29:56 rst:0x5 (DSLEEP),boot:0x28 (SPI_FAST_FLASH_BOOT)
2022-10-26 16:29:56 SPIWP:0xee
2022-10-26 16:29:56 mode:DIO, clock div:1
2022-10-26 16:29:56 load:0x3fce3808,len:0x1650
2022-10-26 16:29:56 load:0x403c9700,len:0xb54
2022-10-26 16:29:56 load:0x403cc700,len:0x2f78
2022-10-26 16:29:56 SHA-256 comparison failed:
2022-10-26 16:29:56 Calculated: e33fb628eea0daa04b2ffec6de384225a25d5dbd6e61ede1ab611f4c61cd2820
2022-10-26 16:29:56 Expected: beafec92244bef7b6ae12ee4d7b8f2c12b49fe494de15a2c6a8ed2862230c5ca
2022-10-26 16:29:56 Attempting to boot anyway...
2022-10-26 16:29:56 entry 0x403c9938
2022-10-26 16:29:56 I (43) boot: ESP-IDF v4.4.2 2nd stage bootloader
2022-10-26 16:29:57 I (43) boot: compile time 16:17:26
2022-10-26 16:29:57 I (43) boot: chip revision: 0
2022-10-26 16:29:57 I (45) boot.esp32s3: Boot SPI Speed : 80MHz
2022-10-26 16:29:57 I (50) boot.esp32s3: SPI Mode : DIO
2022-10-26 16:29:57 I (54) boot.esp32s3: SPI Flash Size : 8MB
2022-10-26 16:29:57 I (59) boot: Enabling RNG early entropy source...
2022-10-26 16:29:57 I (64) boot: Partition Table:
2022-10-26 16:29:57 I (68) boot: ## Label Usage Type ST Offset Length
2022-10-26 16:29:57 I (75) boot: 0 nvs WiFi data 01 02 00009000 00006000
2022-10-26 16:29:57 I (83) boot: 1 phy_init RF data 01 01 0000f000 00001000
2022-10-26 16:29:57 I (90) boot: 2 factory factory app 00 00 00010000 00100000
2022-10-26 16:29:57 I (98) boot: End of partition table
2022-10-26 16:29:57 I (102) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=07dc4h ( 32196) map
2022-10-26 16:29:57 I (116) esp_image: segment 1: paddr=00017dec vaddr=3fc91550 size=01f3ch ( 7996) load
2022-10-26 16:29:57 I (120) esp_image: segment 2: paddr=00019d30 vaddr=40374000 size=062e8h ( 25320) load
2022-10-26 16:29:57 I (133) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=17fa4h ( 98212) map
2022-10-26 16:29:57 I (153) esp_image: segment 4: paddr=00037fcc vaddr=4037a2e8 size=07264h ( 29284) load
2022-10-26 16:29:57 I (160) esp_image: segment 5: paddr=0003f238 vaddr=50001000 size=00010h ( 16)
2022-10-26 16:29:57 I (160) esp_image: segment 6: paddr=0003f250 vaddr=600fe000 size=00028h ( 40)
2022-10-26 16:29:57 I (172) boot: Loaded app from partition at offset 0x10000
2022-10-26 16:29:57 I (173) boot: Disabling RNG early entropy source...
2022-10-26 16:29:57 I (190) cpu_start: Pro cpu up.
2022-10-26 16:29:57 I (190) cpu_start: Single core mode
2022-10-26 16:29:57 I (199) cpu_start: Pro cpu start user code
2022-10-26 16:29:57 I (199) cpu_start: cpu freq: 160000000
2022-10-26 16:29:57 I (199) cpu_start: Application information:
2022-10-26 16:29:57 I (202) cpu_start: Project name: blink
2022-10-26 16:29:57 I (207) cpu_start: App version: db4eb09
2022-10-26 16:29:57 I (211) cpu_start: Compile time: Oct 26 2022 16:25:50
2022-10-26 16:29:57 I (218) cpu_start: ELF file SHA256: e0b760e7cc4ddab7...
2022-10-26 16:29:57 I (224) cpu_start: ESP-IDF: v4.4.2
2022-10-26 16:29:57 I (228) heap_init: Initializing. RAM available for dynamic allocation:
2022-10-26 16:29:57 I (236) heap_init: At 3FC94820 len 0004B7E0 (301 KiB): D/IRAM
2022-10-26 16:29:57 I (242) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
2022-10-26 16:29:57 I (249) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
2022-10-26 16:29:57 I (255) heap_init: At 600FE028 len 00001FD8 (7 KiB): RTCRAM
2022-10-26 16:29:57 I (262) spi_flash: detected chip: gd
2022-10-26 16:29:57 I (266) spi_flash: flash io: dio
2022-10-26 16:29:57 I (270) sleep: Configure to isolate all GPIO pins in sleep state
2022-10-26 16:29:57 I (276) sleep: Enable automatic switching of GPIO sleep configuration
2022-10-26 16:29:57 I (284) cpu_start: Starting scheduler on PRO CPU.
2022-10-26 16:29:57 Not a ULP-RISC-V wakeup, initializing it!
2022-10-26 16:29:57 wakeup: 11
2022-10-26 16:29:57 W (294) ulp: 0x50000000 6f 00 e0 01 13 00 00 00 13 00 00 00 13 00 00 00 |o...............|
2022-10-26 16:29:57 W (304) ulp: 0x50000010 82 80 00 00 00 00 00 00 00 00 00 00 00 00 17 11 |................|
2022-10-26 16:29:57 W (314) ulp: 0x50000020 00 00 13 01 21 fe 91 20 19 20 91 28 01 a0 41 11 |....!.. . .(..A.|
2022-10-26 16:29:57 W (324) ulp: 0x50000030 22 c4 29 64 03 27 44 40 26 c2 b7 04 00 80 13 77 |".)d.'D@&......w|
2022-10-26 16:29:57 W (334) ulp: 0x50000040 f7 3f 06 c6 45 8f 23 22 e4 40 13 05 e0 15 9d 20 |.?..E.#".@..... |
2022-10-26 16:29:57 W (344) ulp: 0x50000050 83 27 84 40 b2 40 01 45 93 f7 f7 3f c5 8f 23 24 |.'.@.@.E...?..#$|
2022-10-26 16:29:57 W (354) ulp: 0x50000060 f4 40 22 44 92 44 41 01 82 80 a1 66 83 a7 46 10 |.@"D.DA....f..F.|
2022-10-26 16:29:57 W (364) ulp: 0x50000070 37 07 c0 fd 7d 17 f9 8f 23 a2 f6 10 82 80 a1 67 |7...}...#......g|
2022-10-26 16:29:57 W (364) ulp: 0x50000080 03 a7 47 10 b7 46 c0 ff fd 16 75 8f b7 c6 0f 00 |..G..F....u.....|
2022-10-26 16:29:57 W (374) ulp: 0x50000090 55 8f 23 a2 e7 10 03 a7 47 10 b7 06 00 02 55 8f |U.#.....G.....U.|
2022-10-26 16:29:57 W (384) ulp: 0x500000a0 23 a2 e7 10 03 a7 47 10 b7 06 40 00 55 8f 23 a2 |#.....G...@.U.#.|
2022-10-26 16:29:57 W (394) ulp: 0x500000b0 e7 10 01 a0 73 27 00 c0 f3 27 00 c0 99 8f e3 ed |....s'...'......|
2022-10-26 16:29:57 W (404) ulp: 0x500000c0 a7 fe 82 80 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (414) ulp: 0x500000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (424) ulp: 0x500000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (434) ulp: 0x500000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (444) ulp: 0x50000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (454) ulp: 0x50000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (464) ulp: 0x50000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (474) ulp: 0x50000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (484) ulp: 0x50000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (494) ulp: 0x50000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (494) ulp: 0x50000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (504) ulp: 0x50000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (514) ulp: 0x50000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (524) ulp: 0x50000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (534) ulp: 0x500001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (544) ulp: 0x500001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (554) ulp: 0x500001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (564) ulp: 0x500001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (574) ulp: 0x500001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (584) ulp: 0x500001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (594) ulp: 0x50000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 W (604) ulp: 0x50000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
2022-10-26 16:29:57 ft_wdt timeout handler: 1
2022-10-26 16:29:59 Entering in deep sleep
2022-10-26 16:30:00