我使用io口来唤醒,发现在串口反复打印同样的数据
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x5 (DSLEEP),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x17f8
load:0x403ce000,len:0x8d8
load:0x403d0000,len:0x2ab0
entry 0x403ce000
[0;32mI (30) boot: ESP-IDF v4.3-dirty 2nd stage bootloader[0m
[0;32mI (30) boot: compile
time 16:07:21[0m
[0;32mI (30) boot: chip revision: 3[0m
[0;32mI (32) boot.esp32c3: SPI Speed : 80MHz[0m
[0;32mI (37) boot.esp32c3: SPI Mode : DIO[0m
[0;32mI (42) boot.esp32c3: SPI Flash Size : 2MB[0m
[0;32mI (46) boot: Enabling RNG early entropy source...[0m
[0;32mI (52) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=061e8h ( 25064) map[0m
[0;32mI (60) esp_image: segment 1: paddr=00016210 vaddr=3fc8a800 size=01ab0h ( 6832) load[0m
[0;32mI (69) esp_image: segment 2: paddr=00017cc8 vaddr=40380000 size=08350h ( 33616) load[0m
[0;32mI (79) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=161e0h ( 90592) map[0m
[0;32mI (85) esp_image: segment 4: paddr=00036208 vaddr=40388350 size=02404h ( 9220) load[0m
[0;32mI (94) esp_image: segment 5: paddr=00038614 vaddr=50000000 size=00004h ( 4) [0m
[0;32mI (102) esp_image: segment 6: paddr=00038620 vaddr=50000008 size=00010h ( 16) [0m
[0;32mI (110) boot: Fast booting app from partition at offset 0x10000[0m
[0;32mI (116) boot: Disabling RNG early entropy source...[0m
[0;32mI (133) cpu_start: Pro cpu up.[0m
[0;32mI (145) cpu_start: Pro cpu start user code[0m
[0;32mI (146) cpu_start: cpu freq: 160000000[0m
[0;32mI (146) cpu_start: Application information:[0m
[0;32mI (148) cpu_start: Project name: deep_sleep[0m
[0;32mI (154) cpu_start: App version: 249c573-dirty[0m
[0;32mI (159) cpu_start: Compile time: Feb 8 2022 16:07:01[0m
[0;32mI (165) cpu_start: ELF file SHA256: 844ba7880f5d4cfb...[0m
[0;32mI (171) cpu_start: ESP-IDF: v4.3-dirty[0m
[0;32mI (176) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (184) heap_init: At 3FC8D0F0 len 00032F10 (203 KiB): DRAM[0m
[0;32mI (190) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM[0m
[0;32mI (197) heap_init: At 50000018 len 00001FD8 (7 KiB): RTCRAM[0m
[0;32mI (203) spi_flash: detected chip: generic[0m
[0;32mI (208) spi_flash: flash io: dio[0m
[0;33mW (211) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m
[0;32mI (225) sleep: Configure to isolate all GPIO pins in sleep state[0m
[0;32mI (231) sleep: Enable automatic switching of GPIO sleep configuration[0m
[0;32mI (238) cpu_start: Starting scheduler.[0m
Wake up from GPIO 2
deep 3231554341551vdsfascvdsfedsa2f3312321548715113245215vd1fd5fed2fadf1235463355
[0;32mI (252) gpio: GPIO[2]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [0m
Enabling GPIO wakeup on pins GPIO2
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x5 (DSLEEP),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x17f8
load:0x403ce000,len:0x8d8
load:0x403d0000,len:0x2ab0
entry 0x403ce000
[0;32mI (30) boot: ESP-IDF v4.3-dirty 2nd stage bootloader[0m
[0;32mI (30) boot: compile time 16:07:21[0m
[0;32mI (30) boot: chip revision: 3[0m
[0;32mI (32) boot.esp32c3: SPI Speed : 80MHz[0m
[0;32mI (37) boot.esp32c3: SPI Mode : DIO[0m
[0;32mI (42) boot.esp32c3: SPI Flash Size : 2MB[0m
[0;32mI (46) boot: Enabling RNG early entropy source...[0m
[0;32mI (52) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=061e8h ( 25064) map[0m
[0;32mI (60) esp_image: segment 1: paddr=00016210 vaddr=3fc8a800 size=01ab0h ( 6832) load[0m
[0;32mI (69) esp_image: segment 2: paddr=00017cc8 vaddr=40380000 size=08350h ( 33616) load[0m
[0;32mI (79) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=161e0h ( 90592) map[0m
[0;32mI (85) esp_image: segment 4: paddr=00036208 vaddr=40388350 size=02404h ( 9220) load[0m
[0;32mI (94) esp_image: segment 5: paddr=00038614 vaddr=50000000 size=00004h ( 4) [0m
[0;32mI (102) esp_image: segment 6: paddr=00038620 vaddr=50000008 size=00010h ( 16) [0m
[0;32mI (110) boot: Fast booting app from partition at offset 0x10000[0m
[0;32mI (116) boot: Disabling RNG early entropy source...[0m
[0;32mI (133) cpu_start: Pro cpu up.[0m
[0;32mI (145) cpu_start: Pro cpu start user code[0m
[0;32mI (146) cpu_start: cpu freq: 160000000[0m
[0;32mI (146) cpu_start: Application information:[0m
[0;32mI (148) cpu_start: Project name: deep_sleep[0m
[0;32mI (154) cpu_start: App version: 249c573-dirty[0m
[0;32mI (159) cpu_start: Compile time: Feb 8 2022 16:07:01[0m
[0;32mI (165) cpu_start: ELF file SHA256: 844ba7880f5d4cfb...[0m
[0;32mI (171) cpu_start: ESP-IDF: v4.3-dirty[0m
[0;32mI (176) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (184) heap_init: At 3FC8D0F0 len 00032F10 (203 KiB): DRAM[0m
[0;32mI (190) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM[0m
[0;32mI (197) heap_init: At 50000018 len 00001FD8 (7 KiB): RTCRAM[0m
[0;32mI (203) spi_flash: detected chip: generic[0m
[0;32mI (208) spi_flash: flash io: dio[0m
[0;33mW (211) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m
[0;32mI (225) sleep: Configure to isolate all GPIO pins in sleep state[0m
[0;32mI (231) sleep: Enable automatic switching of GPIO sleep configuration[0m
[0;32mI (238) cpu_start: Starting scheduler.[0m
Wake up from GPIO 2
deep 3231554341551vdsfascvdsfedsa2f3312321548715113245215vd1fd5fed2fadf1235463355
[0;32mI (252) gpio: GPIO[2]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [0m
Enabling GPIO wakeup on pins GPIO2
0