现在使用ESP32-S2模块,在正常上电或连续不间断上电下,有时莫名出现死机,电流在30mA左右。
现在如果3.3V电彻底放电,就不会出现上电死机问题。特别在3.3V未放电一下,最容易出现。我这个属于欠压问题(串口打印并没有出现掉电欠压情况)?还是掉电后没有正常复位。
特别说明下,3.3V接了两个220uF铝电解电容。尝试在3.3V并接4个1KΩ电阻,上电死机出现次数相对较少些。
附件有测试EN和Boot引脚电压波形,及串口打印信息(如下波形及打印信息),请帮忙分析下,以及最好处理解决办法。
测试EN和Boot引脚上电波形1(黄线Boot,蓝线EN)
测试EN和Boot引脚上电波形2(黄线Boot,蓝线EN)
波形1对应打印串口信息
[21:50:27.848]收←◆ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xf (BROWN_OUT_RST),boot:0x9 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe610
[21:50:28.456]收←◆ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1884
load:0x4004c000,len:0xa04
load:0x40050000,len:0x2b80
entry 0x4004c1f4
[0;32mI (21) boot: ESP-IDF v4.3-194-g5b5e46971-dirty 2nd stage bootloader[0m
[0;32mI (21) boot: compile
time 19:09:06[0m
[0;32mI (21) boot: chip revision: 0[0m
[0;32mI (25) boot.esp32s2: SPI Speed : 80MHz[0m
[0;32mI (30) boot.esp32s2: SPI Mode : DIO[0m
[0;32mI (35) boot.esp32s2: SPI Flash Size : 8MB[0m
[0;32mI (40) boot: Enabling RNG early entropy source...[0m
[0;32mI (45) boot: Partition Table:[0m
[0;32mI (49) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (56) boot: 0 nvs WiFi data 01 02 00009000 00004000[0m
[0;32mI (63) boot: 1 otadata OTA data 01 00 0000d000 00002000[0m
[0;32mI (71) boot: 2 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (78) boot: 3 factory factory app 00 00 00010000 00100000[0m
波形2对应打印串口信息
[21:58:33.869]收←◆ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1884
load:0x4004c000,len:0xa04
load:0x40050000,len:0x2b80
entry 0x4004c1f4
[0;32mI (21) boot: ESP-IDF v4.3
[21:58:33.909]收←◆-194-g5b5e46971-dirty 2nd stage bootloader[0m
[0;32mI (21) boot: compile time 19:09:06[0m
[0;32mI (21) boot: chip revision: 0[0m
[0;32mI (25) boot.esp32s2: SPI Speed : 80MHz[0m
[0;32mI (30) boot.esp32s2: SPI Mode : DIO[0m
[0;32mI (35) boot.esp32s2: SPI Flash Size : 8MB[0m
[0;32mI (40) boot: Enabling RNG early entropy source...[0m
[0;32mI (45) boot: Partition Table:[0m
[0;32mI (49) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (56) boot: 0 nvs WiFi data 01 02 00009000 00004000[0m
[0;32mI (63) boot: 1 otadata OTA data 01 00 0000d000 00002000[0m
[0;32mI (71) boot: 2 phy_init RF
[21:58:33.974]收←◆data 01 01 0000f000 00001000[0m
[0;32mI (78) boot: 3 factory factory app 00 00 00010000 00100000[0m
[0;32mI (86) boot: 4 ota_0 OTA app 00 10 00110000 00100000[0m
[0;32mI (93) boot: 5 storage Unknown data 01 fe 00210000 003c8000[0m
[0;32mI (101) boot: End of partition table[0m
[0;32mI (105) boot: Defaulting to factory image[0m
[0;32mI (110) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22428h (140328) map[0m
[0;32mI (146) esp_image: segment 1: paddr=00032450 vaddr=3ffc73
[21:58:34.036]收←◆c0 size=040ach ( 16556) load[0m
[0;32mI (150) esp_image: segment 2: paddr=00036504 vaddr=40022000 size=09b14h ( 39700) load[0m
[0;32mI (162) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=a5bd8h (678872) map[0m
[21:58:34.164]收←◆[0;32mI (298) esp_image: segmen
[21:58:34.197]收←◆t 4: paddr=000e5c00 vaddr=4002bb14 size=0b8a0h ( 47264) load[0m