rst:0x8 (TG1WDT_SYS_RESET),boot:0x3b (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:6660 load:0x40078000,len:14944 ho 0 tail 12 room 4 load:0x40080400,len:3816 entry 0x40080698 I (58) boot: ESP-IDF 4.4.4 2nd stage bootloader I (58) boot: compile time 16:32:23 I (58) boot: chip revision: v3.0 I (61) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (68) boot.esp32: SPI Speed : 40MHz I (73) boot.esp32: SPI Mode : DIO I (78) boot.esp32: SPI Flash Size : 16MB W (82) boot.esp32: PRO CPU has been reset by WDT. W (88) boot.esp32: WDT reset info: PRO CPU PC=0x4011ad7c W (94) boot.esp32: WDT reset info: APP CPU PC=0x4011ad4f I (100) boot: Enabling RNG early entropy source... I (105) boot: Partition Table: I (109) boot: ## Label Usage Type ST Offset Length I (116) boot: 0 nvs WiFi data 01 02 00009000 00005000 I (124) boot: 1 otadata OTA data 01 00 0000e000 00002000 I (131) boot: 2 partition0 OTA app 00 10 00010000 007e0000 I (139) boot: 3 partition1 OTA app 00 11 007f0000 007e0000 I (146) boot: 4 spiffs Unknown data 01 82 00fd0000 00030000 I (154) boot: End of partition table I (158) boot_comm: chip revision: 3, min. application chip revision: 0 I (165) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=612f8h (398072) map I (318) esp_image: segment 1: paddr=00071320 vaddr=3ff80000 size=00004h ( 4) load I (318) esp_image: segment 2: paddr=0007132c vaddr=3ffbdb60 size=049dch ( 18908) load I (331) esp_image: segment 3: paddr=00075d10 vaddr=40080000 size=0a308h ( 41736) load I (349) esp_image: segment 4: paddr=00080020 vaddr=400d0020 size=11360ch (1127948) map I (758) esp_image: segment 5: paddr=00193634 vaddr=4008a308 size=1479ch ( 83868) load I (807) boot: Loaded app from partition at offset 0x10000 I (807) boot: Disabling RNG early entropy source... I (819) psram: This chip is ESP32-D0WD I (820) spiram: Found 64MBit SPI RAM device I (820) spiram: SPI RAM mode: flash 40m sram 40m I (824) spiram: PSRAM initialized, cache is in low/high (2-core) mode. I (832) cpu_start: Pro cpu up. I (835) cpu_start: Starting app cpu, entry point is 0x400851bc I (0) cpu_start: App cpu up. I (1708) spiram: SPI SRAM memory test OK I (1740) cpu_start: Pro cpu start user code I (1740) cpu_start: cpu freq: 80000000 I (1740) cpu_start: Application information: I (1743) cpu_start: Project name: idf-wav-sdcard I (1749) cpu_start: App version: 1bb5f54-dirty I (1754) cpu_start: Compile time: Feb 4 2024 16:31:08 I (1760) cpu_start: ELF file SHA256: dc84717d1c4edc89... I (1767) cpu_start: ESP-IDF: 4.4.4 I (1772) heap_init: Initializing. RAM available for dynamic allocation: I (1779) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM I (1785) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM I (1791) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM I (1797) heap_init: At 3FFD4E98 len 0000B168 (44 KiB): DRAM I (1804) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (1810) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1817) heap_init: At 4009EAA4 len 0000155C (5 KiB): IRAM I (1823) spiram: Adding pool of 4095K of external SPI memory to heap allocator I (1833) spi_flash: detected chip: gd I (1835) spi_flash: flash io: dio I (1841) EdgeImpulse: Testing model against pre-recorded sample data... I (1857) sleep: Configure to isolate all GPIO pins in sleep state I (1859) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (1871) main: SETUP--start I (1944) main: initArduino done I (1945) main: Iterating through app partitions... I (1945) main: found partition 'partition0' at offset 0x10000 with size 0x7e0000 I (1951) main: found partition 'partition1' at offset 0x7f0000 with size 0x7e0000 I (1959) main: Currently running partitions: I (1965) main: 'partition0' at offset 0x10000 with size 0x7e0000 I (1972) main: Running firmware version: 1bb5f54-dirty I (1977) main: ------------------------- ELOC Recorder ------------------------- -- VERSION: ELOC_V0.1_1bb5f54d_MODIFIED Feb 4 2024 16:31:08 ----------------------------------------------------------------- I (1996) main: Edge Impulse framework enabled I (2001) main: Continuous inference disabled I (2007) main: Setting initial time to build date: Feb 4 2024 16:31:08 I (2014) main: Setting up HW System... I (2018) ElocSystem: Reading Factory Info from NVS I (2024) ElocSystem: Opening Non-Volatile factory (NVS) handle E (2030) ElocSystem: Error (ESP_ERR_NVS_NOT_FOUND) opening NVS handle 'factory' namespace! I (2039) ElocSystem: Factory Data: Serial=0, HW_Gen = 0, HW_Rev = 0 I (2046) ElocSystem: Setting up I2C I (2051) ElocSystem: Setting up I2C devices... i2c scan: Found device at: 0x18 Found device at: 0x19 I (2105) ElocSystem: Found 2 I2C devices: I (2106) ElocSystem: 0x18 I (2106) ElocSystem: 0x19 I (2106) ElocSystem: : ELOC_IOEXP PCA9557 I (2115) ELOC_IOEXP: PCA9557 initialized I (7136) ElocSystem: : LIS3DH Accelerometer I (7144) ElocSystem: Temperature: 25 °C I (7148) ElocSystem: Setup Buzzer I (7195) main: TRYING to mount SDCArd, SDIO I (7196) SDC: Initializing SD card I (7242) SDC: SDCard mounted at: /sdcard Name: LX128 Type: SDHC/SDXC Speed: 20 MHz Size: 120580MB I (7244) main: SD card mounted I (7249) SDC: SD card free space: 99.311127 GB I (7251) SDC: SD card free space: 104135264 KiB I (7256) main: File system loaded: List of Directory [/spiffs] ----------------------------------- T Size Date/Time Name ----------------------------------- f 2 18/01/2024 13:41 battery.cal f 1029 31/12/1969 23:59 eloc.config ----------------------------------- 1031 in 2 file(s) ----------------------------------- List of Directory [/sdcard] ----------------------------------- T Size Date/Time Name ----------------------------------- d - 22/10/2023 19:31 System Volume Information d - 25/01/2024 18:07 log f 1029 07/02/2024 15:22 elocConfig.config.bak d - 26/01/2024 17:52 eloc ----------------------------------- 1029 in 1 file(s) ----------------------------------- List of Directory [/sdcard/eloc] ----------------------------------- T Size Date/Time Name ----------------------------------- d - 25/01/2024 18:07 not_set1706206072144 d - 26/01/2024 17:52 update d - 25/01/2024 18:10 not_set1706206248856 d - 02/02/2024 17:24 First Case test1706894643509 d - 06/02/2024 00:31 First Case test1707179478386 d - 06/02/2024 00:35 First Case test1707179721000 d - 07/02/2024 12:13 341707308021263 d - 07/02/2024 12:47 341707310064001 d - 07/02/2024 15:15 prnamg1707318908149 d - 07/02/2024 15:22 prnamg1707319358568 ----------------------------------- I (7417) CONFIG: Read this Configuration: { "device": { "fileHeader": "prnamg", "locationCode": "6MJWMRHV+8V", "locationAccuracy": 7, "nodeName": "ELOC_SD_CONFIG_Lexar" }, "config": { "secondsPerFile": 3600, "cpuMaxFrequencyMHZ": 80, "cpuMinFrequencyMHZ": 10, "cpuEnableLightSleep": true, "bluetoothEnableAtStart": true, "bluetoothEnableOnTapping": true, "bluetoothEnableDuringRecord": true, "bluetoothOffTimeoutSeconds": 20, "logConfig": { "logToSdCard": false, "filename": "/sdcard/log/eloc.log", "maxFiles": 10, "maxFileSize": 5120 }, "intruderCfg": { "enable": false, "threshold": 5, "windowsMs": 2000 }, "battery": { "updateIntervalMs": 600000, "avgSamples": 10, "avgIntervalMs": 0, "noBatteryMode": false } }, "mic": { "MicType": "ns", "MicBitShift": 11, "MicSampleRate": 16000, "MicUseAPLL": true, "MicUseTimingFix": false, "MicChannel": "Left" } }I (7507) CONFIG: Sample rate = 16000 I (7512) CONFIG: Running with this Configuration: { "device": { "fileHeader": "prnamg", "locationCode": "6MJWMRHV+8V", "locationAccuracy": 7, "nodeName": "ELOC_SD_CONFIG_Lexar" }, "config": { "secondsPerFile": 3600, "cpuMaxFrequencyMHZ": 80, "cpuMinFrequencyMHZ": 10, "cpuEnableLightSleep": true, "bluetoothEnableAtStart": true, "bluetoothEnableOnTapping": true, "bluetoothEnableDuringRecord": true, "bluetoothOffTimeoutSeconds": 20, "logConfig": { "logToSdCard": false, "filename": "/sdcard/log/eloc.log", "maxFiles": 10, "maxFileSize": 5120 }, "intruderCfg": { "enable": false, "threshold": 5, "windowsMs": 2000 }, "battery": { "updateIntervalMs": 600000, "avgSamples": 10, "avgIntervalMs": 0, "noBatteryMode": false } }, "mic": { "MicType": "ns", "MicBitShift": 11, "MicSampleRate": 16000, "MicUseAPLL": true, "MicUseTimingFix": false, "MicChannel": "Left" } }I (7606) CONFIG: Sample rate = 16000 I (7610) main: Setting up Battery... I (7635) Battery: Calibration data loaded: {} I (7790) Battery: Calibrate voltage: read 3.379V, offset 0.000, scale 1.000000, result 3.379V I (7791) Battery: Detected LiFePo E (7793) main: Failed to initialize logging subsystem with ESP_ERR_INVALID_STATE I (7808) main: Creating Bluetooth task... I (7809) BluetoothServer: Enable BT with node ELOC_SD_CONFIG_Lexar I (7814) BTDM_INIT: BT controller compile version [8020d24] I (7821) system_api: Base MAC address is not set I (7824) system_api: read default base MAC address from EFUSE I (7833) main: Creating Performance Monitor task... I (7834) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 Getting real time stats over 5000 ticks (5000 ms) I (7854) main: Edge impulse model version: trumpet trimmed.290754.14 I (7855) EdgeImpulse: Edge Impulse Inferencing settings: I (7861) EdgeImpulse: Interval: 0.250000 ms. I (7865) EdgeImpulse: Frame size: 4000 I (7870) EdgeImpulse: Sample length: 250 ms. I (7875) EdgeImpulse: No. of classes: 2 I (7879) main: Testing model against pre-recorded sample data... I (7886) main: TEST_SAMPLE length is greater than the Edge Impulse model length, applying down-sampling I (7896) main: Running test category: trumpet I (8206) main: Test model predictions: I (8207) main: (DSP: 251 ms., Classification: 44 ms., Anomaly: 0 ms.) I (8208) main: background: 0.207031 I (8212) main: trumpet: 0.792969 W (8217) main: Test of trumpet sample appears to be poor, check model! I (8224) main: Running test category: other I (8536) main: Test model predictions: I (8536) main: (DSP: 252 ms., Classification: 44 ms., Anomaly: 0 ms.) I (8537) main: background: 0.996094 I (8542) main: trumpet: 0.000000 I (8646) pm: Frequency switching config: CPU_MAX: 80, APB_MAX: 80, APB_MIN: 10, Light sleep: ENABLED I (8646) sleep: Enable automatic switching of GPIO sleep configuration I (8652) I2SMEMSSampler: i2s_port = 0 I (8656) I2SMEMSSampler: i2s_sampling_rate = 16000 I (8662) I2SMEMSSampler: mBitShift = 11 I (8666) I2SMEMSSampler: mListenOnly = 0 I (8671) I2SMEMSSampler: m_fixSPH0645 = 0 I (8676) SDC: SD card free space: 99.311127 GB I (8681) SDC: SD card free space: 104135264 KiB I (8686) WAVFileWriter: Allocating 2 buffers of 2048 bytes in RAM I (9193) main: Battery: Voltage: 3.379V, 100% SoC, Temp 33 °C I (9197) main: Heap: Min=107072, free=108512 (47%), largestFreeBlock=102400, fragmentation=6% I (9201) main: PSRAM Heap: Min=4164071, free=4165187 (1%), largestFreeBlock=4128768, fragmentation=1% I (9265) BluetoothServer: SerialBT is ready ------------------------------------------------------ | Task | Core | Free Stack | Run Time | Percentage | BT Server | 2147483647 | 1968 | 153954 | 1% | stats | 0 | 2428 | 3676 | 0% | main | 0 | 556 | 745559 | 6% | IDLE | 1 | 948 | 4089031 | 37% | IDLE | 0 | 944 | 4639730 | 42% | Tmr Svc | 0 | 1528 | 0 | 0% | ipc1 | 1 | 920 | 0 | 0% | spp_tx | 0 | 3504 | 0 | 0% | btController | 1 | 2152 | 1065774 | 9% | ipc0 | 0 | 964 | 21317 | 0% | esp_timer | 0 | 3568 | 654 | 0% | ei_thread | Created | hciT | Created | BTU_TASK | Created | BTC_TASK | Created ----------------------------------- | Task | Core | Free Stack | Run Time | Percentage | stats | 0 | 2428 | 4068 | 0% | IDLE | 1 | 948 | 5526008 | 49% | IDLE | 0 | 944 | 5546013 | 49% | main | 0 | 556 | 1009 | 0% | BT Server | 1 | 1968 | 16864 | 0% | spp_tx | 0 | 3504 | 0 | 0% | ei_thread | 1 | 3448 | 0 | 0% | ipc0 | 0 | 964 | 0 | 0% | hciT | 1 | 1508 | 0 | 0% | BTU_TASK | 1 | 2260 | 0 | 0% | BTC_TASK | 1 | 1420 | 0 | 0% | esp_timer | 0 | 3488 | 691 | 0% | btController | 1 | 2024 | 8968 | 0% | Tmr Svc | 0 | 1528 | 0 | 0% | ipc1 | 1 | 920 | 0 | 0% ----------------------------------- I (19221) main: Battery: Voltage: 3.379V, 100% SoC, Temp 34 °C I (19224) main: Heap: Min=106836, free=109192 (47%), largestFreeBlock=102400, fragmentation=7% I (19228) main: PSRAM Heap: Min=4164071, free=4165187 (1%), largestFreeBlock=4128768, fragmentation=1% I (24277) BluetoothServer: Knock knock knocking on Heaveans Door... I (24278) BluetoothServer: LIS3DH double click I (24278) BluetoothServer: Bat Voltage 3.379 | Task | Core | Free Stack | Run Time | Percentage | stats | 0 | 2428 | 4172 | 0% | BT Server | 1 | 1968 | 23266 | 0% | IDLE | 1 | 948 | 5512277 | 49% | IDLE | 0 | 944 | 5542812 | 49% | main | 0 | 556 | 908 | 0% | ipc0 | 0 | 964 | 0 | 0% | hciT | 1 | 1508 | 0 | 0% | BTU_TASK | 1 | 2260 | 0 | 0% | BTC_TASK | 1 | 1420 | 0 | 0% | Tmr Svc | 0 | 1528 | 0 | 0% | ipc1 | 1 | 920 | 0 | 0% | esp_timer | 0 | 3488 | 718 | 0% | btController | 1 | 2024 | 13204 | 0% | spp_tx | 0 | 3504 | 0 | 0% | ei_thread | 1 | 3448 | 0 | 0% ----------------------------------- I (25508) BluetoothServer: Knock knock knocking on Heaveans Door... I (25509) BluetoothServer: LIS3DH double click I (25509) BluetoothServer: Bat Voltage 3.379 I (26876) BluetoothServer: 20 seconds without bluetooth connection, exceeding max. of 20 sec! Shutting down Bluetooth. W (26892) BT_APPL: bta_dm_disable BTA_DISABLE_DELAY set to 200 ms I (27806) BluetoothServer: Knock knock knocking on Heaveans Door... I (27807) BluetoothServer: LIS3DH double click I (27808) BluetoothServer: Bat Voltage 3.379 I (27813) BluetoothServer: two following are heap size, total and max alloc I (27821) BluetoothServer: 152720 I (27825) BluetoothServer: 98304 I (27829) BluetoothServer: Enable BT with node ELOC_SD_CONFIG_Lexar I (27837) BTDM_INIT: BT controller compile version [8020d24] I (29108) BluetoothServer: SerialBT is ready ------------------------------------------------------ I (29110) BluetoothServer: Knock knock knocking on Heaveans Door... I (29115) BluetoothServer: LIS3DH double click I (29119) BluetoothServer: Bat Voltage 3.379 I (29250) main: Battery: Voltage: 3.379V, 100% SoC, Temp 34 °C I (29253) main: Heap: Min=106664, free=108128 (47%), largestFreeBlock=98304, fragmentation=10% ets Jul 29 2019 12:21:46 rst:0x8 (TG1WDT_SYS_RESET),boot:0x3b (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:6660 load:0x40078000,len:14944 ho 0 tail 12 room 4 load:0x40080400,len:3816 entry 0x40080698