Chip is ESP32-D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None WARNING: Detected crystal freq 41.01MHz is quite different to normalized freq 40MHz. Unsupported crystal in use? Crystal is 40MHz MAC: 8c:aa:b5:8b:25:50 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00001000 to 0x00007fff... Flash will be erased from 0x00010000 to 0x000a4fff... Flash will be erased from 0x00008000 to 0x00008fff... Compressed 25392 bytes to 15887... Writing at 0x00001000... (100 %) Wrote 25392 bytes (15887 compressed) at 0x00001000 in 0.8 seconds (effective 253.4 kbit/s)... Hash of data verified. Compressed 606976 bytes to 385317... Writing at 0x00010000... (4 %) Writing at 0x0001bc0a... (8 %) Writing at 0x00026f50... (12 %) Writing at 0x0002c757... (16 %) Writing at 0x000320ab... (20 %) Writing at 0x00037e39... (25 %) Writing at 0x0003d76e... (29 %) Writing at 0x00043226... (33 %) Writing at 0x00048683... (37 %) Writing at 0x0004d98e... (41 %) Writing at 0x00052c47... (45 %) Writing at 0x000582da... (50 %) Writing at 0x0005da9f... (54 %) Writing at 0x0006362f... (58 %) Writing at 0x00068efd... (62 %) Writing at 0x0006e9f2... (66 %) Writing at 0x00073fc2... (70 %) Writing at 0x00079643... (75 %) Writing at 0x0007fac0... (79 %) Writing at 0x000856e1... (83 %) Writing at 0x0008c674... (87 %) Writing at 0x000960f2... (91 %) Writing at 0x0009be95... (95 %) Writing at 0x000a13eb... (100 %) Wrote 606976 bytes (385317 compressed) at 0x00010000 in 9.8 seconds (effective 495.0 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Writing at 0x00008000... (100 %) Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 262.1 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... Executing action: monitor Running idf_monitor in directory h:\esp32\esp-now_master Executing "C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:\Espressif\frameworks\esp-idf-v4.4.2\tools/idf_monitor.py -p com5 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 h:\esp32\esp-now_master\build\empty.elf -m 'C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:\Espressif\frameworks\esp-idf-v4.4.2\tools\idf.py' '-p' 'com5'"... --- idf_monitor on com5 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- 16) heap_init: At 3FFB6CB8 len 00029348 (164 KiB): DRAM �ets Jun 8 2016 00:22:57AC address is not set rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:6664 load:0x40078000,len:14848 load:0x40080400,len:3792 0x40080400: _init at ??:? entry 0x40080694 I (26) boot: ESP-IDF v4.4.2-dirty 2nd stage bootloader I (26) boot: compile time 05:23:44 I (26) boot: chip revision: 1 I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (37) boot.esp32: SPI Speed : 40MHz I (41) boot.esp32: SPI Mode : DIO I (46) boot.esp32: SPI Flash Size : 2MB I (50) boot: Enabling RNG early entropy source... I (56) boot: Partition Table: I (59) boot: ## Label Usage Type ST Offset Length I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (74) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (82) boot: 2 factory factory app 00 00 00010000 00100000 I (89) boot: End of partition table I (93) boot_comm: chip revision: 1, min. application chip revision: 0 I (100) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=13044h ( 77892) map I (137) esp_image: segment 1: paddr=0002306c vaddr=3ffb0000 size=0384ch ( 14412) load I (143) esp_image: segment 2: paddr=000268c0 vaddr=40080000 size=09758h ( 38744) load I (159) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=694f0h (431344) map I (316) esp_image: segment 4: paddr=00099518 vaddr=40089758 size=0ada0h ( 44448) load I (334) esp_image: segment 5: paddr=000a42c0 vaddr=50000000 size=00010h ( 16) load I (344) boot: Loaded app from partition at offset 0x10000 I (344) boot: Disabling RNG early entropy source... I (356) cpu_start: Pro cpu up. I (357) cpu_start: Starting app cpu, entry point is 0x400811a0 0x400811a0: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/port/cpu_start.c:160 I (0) cpu_start: App cpu up. I (371) cpu_start: Pro cpu start user code I (371) cpu_start: cpu freq: 160000000 I (371) cpu_start: Application information: I (375) cpu_start: Project name: empty I (380) cpu_start: App version: ccbf16b-dirty I (386) cpu_start: Compile time: Aug 21 2022 05:23:02 I (392) cpu_start: ELF file SHA256: 0400fb405a66693e... I (398) cpu_start: ESP-IDF: v4.4.2-dirty I (403) heap_init: Initializing. RAM available for dynamic allocation: I (410) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (416) heap_init: At 3FFB6CB8 len 00029348 (164 KiB): DRAM I (423) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (429) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (435) heap_init: At 400944F8 len 0000BB08 (46 KiB): IRAM I (443) spi_flash: detected chip: generic I (446) spi_flash: flash io: dio W (450) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (464) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (474) system_api: Base MAC address is not set I (484) system_api: read default base MAC address from EFUSE I (484) WIFI_STA MAC: 0x8c, 0xaa, 0xb5, 0x8b, 0x25, 0x50 I (494) main: Starting program I (534) main: Done nvs_flash_init I (534) SEND_ESP_NOW: initialising ESP-NOW I (554) wifi:wifi driver task: 3ffbd108, prio:23, stack:6656, core=0 I (574) wifi:wifi firmware version: eeaa27d I (574) wifi:wifi certification version: v7.0 I (574) wifi:config NVS flash: enabled I (574) wifi:config nano formating: disabled I (574) wifi:Init data frame dynamic rx buffer num: 32 I (584) wifi:Init management frame dynamic rx buffer num: 32 I (584) wifi:Init management short buffer num: 32 I (594) wifi:Init dynamic tx buffer num: 32 I (594) wifi:Init static rx buffer size: 1600 I (604) wifi:Init static rx buffer num: 10 I (604) wifi:Init dynamic rx buffer num: 32 I (614) wifi_init: rx ba win: 6 I (614) wifi_init: tcpip mbox: 32 I (614) wifi_init: udp mbox: 6 I (624) wifi_init: tcp mbox: 6 I (624) wifi_init: tcp tx win: 5744 I (624) wifi_init: tcp rx win: 5744 I (634) wifi_init: tcp mss: 1440 I (634) wifi_init: WiFi IRAM OP enabled I (644) wifi_init: WiFi RX IRAM OP enabled I (644) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (754) wifi:mode : sta (8c:aa:b5:8b:25:50) I (754) wifi:enable tsf I (754) SEND_ESP_NOW: wifi initialised and started successful I (754) ESPNOW: espnow [version: 1.0] init I (764) SEND_ESP_NOW: esp_now initialised successful I (764) PIR_SENSOR: initialsing Sensor I (774) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:3 I (784) PIR_SENSOR: Pir-Sensor configured I (784) PIR_SENSOR: ISR handler Pir-Sensor configured abort() was called at PC 0x40082d57 on core 0 0x40082d57: lock_acquire_generic at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:139 Backtrace:0x40081a66:0x3ffb06600x400885fd:0x3ffb0680 0x4008efc2:0x3ffb06a0 0x40082d57:0x3ffb0710 0x40082ea1:0x3ffb0740 0x40082f1a:0x3ffb0760 0x4012b9ae:0x3ffb0790 0x4012e9e1:0x3ffb0aa0 0x40138031:0x3ffb0ad0 0x4008da51:0x3ffb0b00 0x40082ffd:0x3ffb0b50 0x400832d1:0x3ffb0b70 0x40082b35:0x3ffb0ba0 0x401350cf:0x3ffb9c60 0x400d1f93:0x3ffb9c80 0x40089ca9:0x3ffb9ca0 0x4008b649:0x3ffb9cc0 0x40081a66: panic_abort at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/panic.c:402 0x400885fd: esp_system_abort at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/esp_system.c:128 0x4008efc2: abort at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/abort.c:46 0x40082d57: lock_acquire_generic at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:139 0x40082ea1: _lock_acquire_recursive at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:167 0x40082f1a: __retarget_lock_acquire_recursive at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:323 0x4012b9ae: _vfprintf_r at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vfprintf.c:853 (discriminator 2) 0x4012e9e1: vprintf at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vprintf.c:34 (discriminator 5) 0x40138031: esp_log_writev at C:/Espressif/frameworks/esp-idf-v4.4.2/components/log/log.c:200 0x4008da51: esp_log_write at C:/Espressif/frameworks/esp-idf-v4.4.2/components/log/log.c:210 0x40082ffd: pirSensorIsrHandler at H:/Projects/C/ESP32/ESP-NOW_master/main/pirSensor.c:30 0x400832d1: gpio_isr_loop at C:/Espressif/frameworks/esp-idf-v4.4.2/components/driver/gpio.c:416 (inlined by) gpio_intr_service at C:/Espressif/frameworks/esp-idf-v4.4.2/components/driver/gpio.c:433 0x40082b35: _xt_lowint1 at C:/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/port/xtensa/xtensa_vectors.S:1111 0x401350cf: cpu_ll_waiti at C:/Espressif/frameworks/esp-idf-v4.4.2/components/hal/esp32/include/hal/cpu_ll.h:183 (inlined by) esp_pm_impl_waiti at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_pm/pm_impl.c:837 0x400d1f93: esp_vApplicationIdleHook at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/freertos_hooks.c:63 0x40089ca9: prvIdleTask at C:/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/tasks.c:3973 (discriminator 1) 0x4008b649: vPortTaskWrapper at C:/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/port/xtensa/port.c:131 ELF file SHA256: 0400fb405a66693e Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:6664 load:0x40078000,len:14848 load:0x40080400,len:3792 0x40080400: _init at ??:? entry 0x40080694 I (27) boot: ESP-IDF v4.4.2-dirty 2nd stage bootloader I (27) boot: compile time 05:23:44 I (27) boot: chip revision: 1 I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (37) boot.esp32: SPI Speed : 40MHz I (42) boot.esp32: SPI Mode : DIO I (47) boot.esp32: SPI Flash Size : 2MB I (51) boot: Enabling RNG early entropy source... I (57) boot: Partition Table: I (60) boot: ## Label Usage Type ST Offset Length I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (82) boot: 2 factory factory app 00 00 00010000 00100000 I (90) boot: End of partition table I (94) boot_comm: chip revision: 1, min. application chip revision: 0 I (101) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=13044h ( 77892) map I (138) esp_image: segment 1: paddr=0002306c vaddr=3ffb0000 size=0384ch ( 14412) load I (144) esp_image: segment 2: paddr=000268c0 vaddr=40080000 size=09758h ( 38744) load I (160) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=694f0h (431344) map I (316) esp_image: segment 4: paddr=00099518 vaddr=40089758 size=0ada0h ( 44448) load I (335) esp_image: segment 5: paddr=000a42c0 vaddr=50000000 size=00010h ( 16) load I (345) boot: Loaded app from partition at offset 0x10000 I (345) boot: Disabling RNG early entropy source... I (357) cpu_start: Pro cpu up. I (357) cpu_start: Starting app cpu, entry point is 0x400811a0 0x400811a0: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/port/cpu_start.c:160 I (344) cpu_start: App cpu up. I (372) cpu_start: Pro cpu start user code I (372) cpu_start: cpu freq: 160000000 I (372) cpu_start: Application information: I (376) cpu_start: Project name: empty I (381) cpu_start: App version: ccbf16b-dirty I (386) cpu_start: Compile time: Aug 21 2022 05:23:02 I (393) cpu_start: ELF file SHA256: 0400fb405a66693e... I (398) cpu_start: ESP-IDF: v4.4.2-dirty I (404) heap_init: Initializing. RAM available for dynamic allocation: I (411) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (417) heap_init: At 3FFB6CB8 len 00029348 (164 KiB): DRAM I (423) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (430) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (436) heap_init: At 400944F8 len 0000BB08 (46 KiB): IRAM I (444) spi_flash: detected chip: generic I (447) spi_flash: flash io: dio W (451) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (465) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (475) system_api: Base MAC address is not set I (485) system_api: read default base MAC address from EFUSE I (485) WIFI_STA MAC: 0x8c, 0xaa, 0xb5, 0x8b, 0x25, 0x50 I (495) main: Starting program I (535) main: Done nvs_flash_init I (535) SEND_ESP_NOW: initialising ESP-NOW I (555) wifi:wifi driver task: 3ffbd108, prio:23, stack:6656, core=0 I (575) wifi:wifi firmware version: eeaa27d I (575) wifi:wifi certification version: v7.0 I (575) wifi:config NVS flash: enabled I (575) wifi:config nano formating: disabled I (575) wifi:Init data frame dynamic rx buffer num: 32 I (585) wifi:Init management frame dynamic rx buffer num: 32 I (585) wifi:Init management short buffer num: 32 I (595) wifi:Init dynamic tx buffer num: 32 I (595) wifi:Init static rx buffer size: 1600 I (605) wifi:Init static rx buffer num: 10 I (605) wifi:Init dynamic rx buffer num: 32 I (615) wifi_init: rx ba win: 6 I (615) wifi_init: tcpip mbox: 32 I (615) wifi_init: udp mbox: 6 I (625) wifi_init: tcp mbox: 6 I (625) wifi_init: tcp tx win: 5744 I (625) wifi_init: tcp rx win: 5744 I (635) wifi_init: tcp mss: 1440 I (635) wifi_init: WiFi IRAM OP enabled I (645) wifi_init: WiFi RX IRAM OP enabled I (645) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (755) wifi:mode : sta (8c:aa:b5:8b:25:50) I (755) wifi:enable tsf I (755) SEND_ESP_NOW: wifi initialised and started successful I (755) ESPNOW: espnow [version: 1.0] init I (765) SEND_ESP_NOW: esp_now initialised successful I (765) PIR_SENSOR: initialsing Sensor I (775) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:3 I (785) PIR_SENSOR: Pir-Sensor configured I (785) PIR_SENSOR: ISR handler Pir-Sensor configured abort() was called at PC 0x40082d57 on core 0 0x40082d57: lock_acquire_generic at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:139 Backtrace:0x40081a66:0x3ffb06600x400885fd:0x3ffb0680 0x4008efc2:0x3ffb06a0 0x40082d57:0x3ffb0710 0x40082ea1:0x3ffb0740 0x40082f1a:0x3ffb0760 0x4012b9ae:0x3ffb0790 0x4012e9e1:0x3ffb0aa0 0x40138031:0x3ffb0ad0 0x4008da51:0x3ffb0b00 0x40082ffd:0x3ffb0b50 0x400832d1:0x3ffb0b70 0x40082b35:0x3ffb0ba0 0x401350cf:0x3ffb9c60 0x400d1f93:0x3ffb9c80 0x40089ca9:0x3ffb9ca0 0x4008b649:0x3ffb9cc0 0x40081a66: panic_abort at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/panic.c:402 0x400885fd: esp_system_abort at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/esp_system.c:128 0x4008efc2: abort at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/abort.c:46 0x40082d57: lock_acquire_generic at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:139 0x40082ea1: _lock_acquire_recursive at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:167 0x40082f1a: __retarget_lock_acquire_recursive at C:/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:323 0x4012b9ae: _vfprintf_r at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vfprintf.c:853 (discriminator 2) 0x4012e9e1: vprintf at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vprintf.c:34 (discriminator 5) 0x40138031: esp_log_writev at C:/Espressif/frameworks/esp-idf-v4.4.2/components/log/log.c:200 0x4008da51: esp_log_write at C:/Espressif/frameworks/esp-idf-v4.4.2/components/log/log.c:210 0x40082ffd: pirSensorIsrHandler at H:/Projects/C/ESP32/ESP-NOW_master/main/pirSensor.c:30 0x400832d1: gpio_isr_loop at C:/Espressif/frameworks/esp-idf-v4.4.2/components/driver/gpio.c:416 (inlined by) gpio_intr_service at C:/Espressif/frameworks/esp-idf-v4.4.2/components/driver/gpio.c:433 0x40082b35: _xt_lowint1 at C:/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/port/xtensa/xtensa_vectors.S:1111 0x401350cf: cpu_ll_waiti at C:/Espressif/frameworks/esp-idf-v4.4.2/components/hal/esp32/include/hal/cpu_ll.h:183 (inlined by) esp_pm_impl_waiti at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_pm/pm_impl.c:837 0x400d1f93: esp_vApplicationIdleHook at C:/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/freertos_hooks.c:63 0x40089ca9: prvIdleTask at C:/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/tasks.c:3973 (discriminator 1) 0x4008b649: vPortTaskWrapper at C:/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/port/xtensa/port.c:131 ELF file SHA256: 0400fb405a66693e Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:6664 load:0x40078000,len:14848 load:0x40080400,len:3792 0x40080400: _init at ??:?