1 |
PS D:\Dev\code\sleep-test> & 'C:\Users\localuser\.espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe' 'C:\Users\localuser\esp\v5.5.1\esp-idf\tools\idf_monitor.py' -p COM6 -b 115200 --toolchain-prefix riscv32-esp-elf- --make '''C:\Users\localuser\.espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe'' ''C:\Users\localuser\esp\v5.5.1\esp-idf\tools\idf.py''' --target esp32h2 'd:\Dev\code\sleep-test\build\sleep-test.elf'
|
2 |
--- Warning: GDB cannot open serial ports accessed as COMx
|
3 |
--- Using \\.\COM6 instead...
|
4 |
--- esp-idf-monitor 1.8.0 on \\.\COM6 115200
|
5 |
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
|
6 |
I (118) esp_image: segment 3: paddr=0002cf54 vaddr=408005fc sizeESP-ROM:esp32h2-20221101
|
7 |
Build:Nov 1 2022
|
8 |
rst:0x15 (USB_UART_HPSYS),boot:0x8 (SPI_FAST_FLASH_BOOT)
|
9 |
Saved PC:0x408037e2
|
10 |
--- 0x408037e2: rv_utils_wait_for_intr at C:/Users/localuser/esp/v5.5.1/esp-idf/components/riscv/include/riscv/rv_utils.h:79
|
11 |
--- (inlined by) esp_cpu_wait_for_intr at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_hw_support/cpu.c:62
|
12 |
SPIWP:0xee
|
13 |
mode:DIO, clock div:1
|
14 |
load:0x408460f0,len:0x1700
|
15 |
load:0x4083c2d0,len:0xf78
|
16 |
load:0x4083efd0,len:0x2fdc
|
17 |
entry 0x4083c2da
|
18 |
I (23) boot: ESP-IDF v5.5.1 2nd stage bootloader
|
19 |
I (23) boot: compile time Dec 1 2025 20:00:32
|
20 |
I (24) boot: chip revision: v0.1
|
21 |
I (25) boot: efuse block revision: v0.3
|
22 |
I (26) boot.esp32h2: SPI Speed : 64MHz
|
23 |
I (30) boot.esp32h2: SPI Mode : DIO
|
24 |
I (34) boot.esp32h2: SPI Flash Size : 2MB
|
25 |
I (38) boot: Enabling RNG early entropy source...
|
26 |
I (42) boot: Partition Table:
|
27 |
I (45) boot: ## Label Usage Type ST Offset Length
|
28 |
I (51) boot: 0 nvs WiFi data 01 02 00009000 00006000
|
29 |
I (58) boot: 1 phy_init RF data 01 01 0000f000 00001000
|
30 |
I (64) boot: 2 factory factory app 00 00 00010000 00100000
|
31 |
I (71) boot: End of partition table
|
32 |
I (74) esp_image: segment 0: paddr=00010020 vaddr=42018020 size=079f4h ( 31220) map
|
33 |
I (90) esp_image: segment 1: paddr=00017a1c vaddr=40800000 size=005fch ( 1532) load
|
34 |
I (92) esp_image: segment 2: paddr=00018020 vaddr=42000020 size=14f2ch ( 85804) map
|
35 |
I (118) esp_image: segment 3: paddr=0002cf54 vaddr=408005fc size=0c42ch ( 50220) load
|
36 |
I (134) esp_image: segment 4: paddr=00039388 vaddr=4080ca30 size=017b4h ( 6068) load
|
37 |
I (137) esp_image: segment 5: paddr=0003ab44 vaddr=50000000 size=00080h ( 128) load
|
38 |
I (142) boot: Loaded app from partition at offset 0x10000
|
39 |
I (143) boot: Disabling RNG early entropy source...
|
40 |
I (160) cpu_start: Unicore app
|
41 |
D (160) cpu_start: Pro cpu up
|
42 |
D (168) clk: RTC_SLOW_CLK calibration value: 3568288
|
43 |
D (173) cpu_start: calling init function: 0x42000232 on core: 0
|
44 |
--- 0x42000232: __esp_system_init_fn_init_efuse_check at C:/Users/localuser/esp/v5.5.1/esp-idf/components/efuse/src/esp_efuse_startup.c:37
|
45 |
D (174) cpu_start: calling init function: 0x42001486 on core: 0
|
46 |
--- 0x42001486: __esp_system_init_fn_init_show_cpu_freq at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/startup_funcs.c:64
|
47 |
I (175) cpu_start: Pro cpu start user code
|
48 |
I (177) cpu_start: cpu freq: 96000000 Hz
|
49 |
D (181) cpu_start: calling init function: 0x420000e0 on core: 0
|
50 |
--- 0x420000e0: __esp_system_init_fn_init_show_app_info at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_app_format/esp_app_desc.c:123
|
51 |
I (187) app_init: Application information:
|
52 |
I (190) app_init: Project name: sleep-test
|
53 |
I (194) app_init: App version: 1
|
54 |
I (198) app_init: Compile time: Dec 27 2025 14:11:52
|
55 |
I (203) app_init: ELF file SHA256: f2e8d38af...
|
56 |
I (207) app_init: ESP-IDF: v5.5.1
|
57 |
D (211) cpu_start: calling init function: 0x42000246 on core: 0
|
58 |
--- 0x42000246: __esp_system_init_fn_init_efuse_show_app_info at C:/Users/localuser/esp/v5.5.1/esp-idf/components/efuse/src/esp_efuse_startup.c:47
|
59 |
I (217) efuse_init: Min chip rev: v0.0
|
60 |
I (220) efuse_init: Max chip rev: v1.99
|
61 |
I (224) efuse_init: Chip rev: v0.1
|
62 |
D (228) cpu_start: calling init function: 0x42003422 on core: 0
|
63 |
--- 0x42003422: __esp_system_init_fn_init_heap at C:/Users/localuser/esp/v5.5.1/esp-idf/components/heap/heap_caps_init.c:26
|
64 |
D (234) memory_layout: Checking 5 reserved memory ranges:
|
65 |
D (239) memory_layout: Reserved memory range 0x40800000 - 0x4080ca30
|
66 |
--- 0x40800000: _vector_table at C:/Users/localuser/esp/v5.5.1/esp-idf/components/riscv/vectors_intc.S:54
|
67 |
D (245) memory_layout: Reserved memory range 0x4080ca30 - 0x4080f280
|
68 |
D (251) memory_layout: Reserved memory range 0x4084fee0 - 0x40850000
|
69 |
D (257) memory_layout: Reserved memory range 0x50000000 - 0x50000080
|
70 |
--- 0x50000000: esp_wake_stub_entry at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_hw_support/sleep_modes.c:374
|
71 |
D (263) memory_layout: Reserved memory range 0x50000fe8 - 0x50001000
|
72 |
D (269) memory_layout: Building list of available memory regions:
|
73 |
D (275) memory_layout: Available memory region 0x4080f280 - 0x40810000
|
74 |
D (282) memory_layout: Available memory region 0x40810000 - 0x40820000
|
75 |
D (288) memory_layout: Available memory region 0x40820000 - 0x40830000
|
76 |
D (294) memory_layout: Available memory region 0x40830000 - 0x40840000
|
77 |
D (300) memory_layout: Available memory region 0x40840000 - 0x4084d380
|
78 |
D (307) memory_layout: Available memory region 0x4084d380 - 0x4084fee0
|
79 |
D (313) memory_layout: Available memory region 0x50000080 - 0x50000fe8
|
80 |
I (319) heap_init: Initializing. RAM available for dynamic allocation:
|
81 |
D (325) heap_init: New heap initialised at 0x4080f280
|
82 |
I (330) heap_init: At 4080F280 len 0003E100 (248 KiB): RAM
|
83 |
I (335) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
|
84 |
D (340) heap_init: New heap initialised at 0x50000080
|
85 |
I (345) heap_init: At 50000080 len 00000F68 (3 KiB): RTCRAM
|
86 |
D (350) cpu_start: calling init function: 0x42001202 on core: 0
|
87 |
--- 0x42001202: __esp_system_init_fn_esp_timer_init_nonos at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_timer/src/esp_timer_init.c:28
|
88 |
D (356) cpu_start: calling init function: 0x420075f6 on core: 0
|
89 |
--- 0x420075f6: __esp_system_init_fn_init_libc at C:/Users/localuser/esp/v5.5.1/esp-idf/components/newlib/src/init.c:12
|
90 |
D (362) cpu_start: calling init function: 0x420014fe on core: 0
|
91 |
--- 0x420014fe: __esp_system_init_fn_init_brownout at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/startup_funcs.c:79
|
92 |
D (368) intr_alloc: Connected src 2 to int 1 (cpu 0)
|
93 |
D (372) cpu_start: calling init function: 0x42001520 on core: 0
|
94 |
--- 0x42001520: __esp_system_init_fn_init_newlib_time at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/startup_funcs.c:104
|
95 |
D (378) cpu_start: calling init function: 0x42007604 on core: 0
|
96 |
--- 0x42007604: __esp_system_init_fn_init_libc_stdio at C:/Users/localuser/esp/v5.5.1/esp-idf/components/newlib/src/init.c:18
|
97 |
D (384) cpu_start: calling init function: 0x42001530 on core: 0
|
98 |
--- 0x42001530: __esp_system_init_fn_init_flash at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/startup_funcs.c:111
|
99 |
D (389) spi_flash: trying chip: gd
|
100 |
I (392) spi_flash: detected chip: gd
|
101 |
I (395) spi_flash: flash io: dio
|
102 |
W (398) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
|
103 |
D (410) cpu_start: calling init function: 0x420003a0 on core: 0
|
104 |
--- 0x420003a0: __esp_system_init_fn_init_efuse at C:/Users/localuser/esp/v5.5.1/esp-idf/components/efuse/src/esp_efuse_startup.c:158
|
105 |
D (416) efuse: BLK0 REG2 [24-27], len=4 bits
|
106 |
D (420) efuse: BLK0 REG2 [28-31], len=4 bits
|
107 |
D (424) efuse: BLK0 REG3 [0-3], len=4 bits
|
108 |
D (428) efuse: BLK0 REG3 [4-7], len=4 bits
|
109 |
D (432) efuse: BLK0 REG3 [8-11], len=4 bits
|
110 |
D (436) efuse: BLK0 REG3 [12-15], len=4 bits
|
111 |
D (440) cpu_start: calling init function: 0x408059fe
|
112 |
--- 0x408059fe: enable_timer_group0_for_calibration at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_hw_support/port/esp32h2/rtc_time.c:279
|
113 |
D (444) cpu_start: calling init function: 0x40805e7c
|
114 |
--- 0x40805e7c: tlsf_set_rom_patches at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_rom/patches/esp_rom_tlsf.c:167
|
115 |
D (449) cpu_start: calling init function: 0x4200294e on core: 0
|
116 |
--- 0x4200294e: __esp_system_init_fn_esp_hw_stack_guard_init at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/hw_stack_guard.c:15
|
117 |
D (455) cpu_start: calling init function: 0x4200abba on core: 0
|
118 |
--- 0x4200abba: _lp_clkrst_ll_enable_rng_clock at C:/Users/localuser/esp/v5.5.1/esp-idf/components/hal/esp32h2/include/hal/lp_clkrst_ll.h:66
|
119 |
--- (inlined by) __esp_system_init_fn_init_rng at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_hw_support/hw_random.c:109
|
120 |
D (460) cpu_start: calling init function: 0x420037e8 on core: 0
|
121 |
--- 0x420037e8: __esp_system_init_fn_esp_security_init at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_security/src/init.c:42
|
122 |
D (466) cpu_start: calling init function: 0x4200425a on core: 0
|
123 |
--- 0x4200425a: __esp_system_init_fn_esp_sleep_startup_init at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_hw_support/sleep_gpio.c:225
|
124 |
I (472) sleep_gpio: Configure to isolate all GPIO pins in sleep state
|
125 |
I (478) sleep_gpio: Enable automatic switching of GPIO sleep configuration
|
126 |
D (484) cpu_start: calling init function: 0x42013cde on core: 0
|
127 |
--- 0x42013cde: __esp_system_init_fn_sleep_clock_startup_init at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_hw_support/lowpower/port/esp32h2/sleep_clock.c:112
|
128 |
D (490) cpu_start: calling init function: 0x42001582 on core: 0
|
129 |
--- 0x42001582: __esp_system_init_fn_init_pm at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/startup_funcs.c:142
|
130 |
D (507) cpu_start: calling init function: 0x42007ce4 on core: 0
|
131 |
--- 0x42007ce4: __esp_system_init_fn_usb_serial_jtag_conn_status_init at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_driver_usb_serial_jtag/src/usb_serial_jtag_connection_monitor.c:75
|
132 |
D (508) cpu_start: calling init function: 0x42001592 on core: 0
|
133 |
--- 0x42001592: __esp_system_init_fn_init_disable_rtc_wdt at C:/Users/localuser/esp/v5.5.1/esp-idf/components/esp_system/startup_funcs.c:179
|
134 |
D (508) intr_alloc: Connected src 7 to int 2 (cpu 0)
|
135 |
D (512) app_start: Starting scheduler on CPU0
|
136 |
D (516) intr_alloc: Connected src 45 to int 5 (cpu 0)
|
137 |
I (516) main_task: Started on CPU0
|
138 |
D (516) heap_init: New heap initialised at 0x4084d380
|
139 |
D (516) intr_alloc: Connected src 42 to int 8 (cpu 0)
|
140 |
I (526) main_task: Calling app_main()
|
141 |
I (526) EPS32-SLEEP-TEST: Sleep Test with USB disconnected (Battery driven, after LDO)
|
142 |
I (5536) EPS32-SLEEP-TEST: Entering sleep NOW
|
143 |
--- Error: ClearCommError failed (PermissionError(13, 'Das Gerät erkennt den Befehl nicht.', None, 22))
|
144 |
--- Waiting for the device to reconnect........
|