Hi, we have a device based on esp32c3, it is reading from adc with a 40ms interval and based on that reading it is controlling a relay connected to a gpio, which can also be controlled through ble mesh. The device is running bluedroid. All the devices in testing are working fine. Recently we got a complaint from a customer that the device goes completely unresponsive all of a sudden. The logs from the returned device are attached. It is printing random logs, it looks like that it is restarting repeatedly, but no coredump/backtrace or reason is printed. IDF-version is 5.0.5. Any clue what might be happening here? Thanks.
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (307) esp_image: segment 4: paddr=0013634c vaddr=40386934 size=0a6d8h ( 42712) load
I (315) esp_image: segment 5: paddr=00140a2c vaddr=00000000 size=0f5a4h ( 62884)
I (330) boot: Loaded app from partition at offset 0x20000
I (330) boot: Disabling RNG early entropy source...
I (342) cpu_start: Unicore app
I (342) cpu_start: Pro cpu up.
I (351) cpu_start: Pro cpu start user code
I (351) cpu_start: cpu freq: 160000000 Hz
I (351) cpu_start: Application information:
I (354) cpu_start: Project name: SMART_RELAY
I (359) cpu_start: App version: ReleaseTestingV2.0.1-sr_T-dirty
I (366) cpu_start: Compile time: Aug 1 2024 05:49:54
I (372) cpu_start: ELF file SHA256: 919ef5803b02e859...
I (378) cpu_start: ESP-IDF: v5.0.5-dirty
I (384) cpu_start: Min chip rev: v0.3
I (388) cpu_start: Max chip rev: v1.99
I (393) cpu_start: Chip rev: v0.4
I (398) heap_init: Initializing. RAM available for dynamic allocation:
I (405) heap_init: At 3FC9CBC0 len 0003FB50 (254 KiB): DRAM
I (411) heap_init: At 3FCDC710 len 00002950 (10 KiB): STACK/DRAM
I (418) heap_init: At 50000010 len 00001FD8 (7 KiB): RTCRAM
I (425) spi_flash: detected chip: generic
I (429) spi_flash: flash io: dio
W (434) ADC: legacy driver is deprecated, please migrate to `esp_adc/adc_oneshot.h`
I (442) coexist: coexist rom version 9387209
I (446) app_start: Starting scheduler on CPU0
I (451) main_task: Started on CPU0
I (455) main_task: Calling app_main()
I (459) MAIN: Booting...
I (462) MAIN: FIRMWARE VERSION : [2.0.1]
I (467) MAIN: HARDWARE VERSION : [Rev A]
I (480) SERIAL_LOGS: Serial logs enable flag read successful, value = 0
I (481) MAIN: Initialized DEF_NVS_PARTITION successfully
I (485) ESP_CHIP_INFO: chip variant:ESP32-C3, core count:1, revision:4
I (492) ESP_CHIP_INFO: idf-version:v5.0.5-dirty
I (500) PRODUCTION_DATA: Initialized production data partition successfully...
E (505) NVS: [ser_no] The value is not initialized yet!
E (511) PRODUCTION_DATA: Production data read failed, SERIAL_NUMBER_NVMKEY
E (519) NVS: [part_no] The value is not initialized yet!
E (525) PRODUCTION_DATA: Production data read failed, PART_NUMBER_NVMKEY
E (533) NVS: [hw_rev] The value is not initialized yet!
E (539) PRODUCTION_DATA: Production data read failed, HARDWARE_REV_NVMKEY
E (546) NVS: [int_ord_no] The value is not initialized yet!
E (553) PRODUCTION_DATA: Production data read failed, INTERNAL_ORDER_NUMBER_NVMKEY
E (561) NVS: [env] The value is not initialized yet!
E (567) PRODUCTION_DATA: Production data read failed, ENVIRONMENT_NVMKEY
E (574) NVS: [mcu_type] The value is not initialized yet!
E (580) PRODUCTION_DATA: Production data read failed, MCU_TYPE_NVMKEY
I (588) SOFTWARE INFO: DEFAULT EFUSE MAC ADDRESS: [54:32:04:8e:38:60]
I (595) SOFTWARE INFO: IDF VERSION: [v5.0.5-dirty]
I (600) SOFTWARE INFO: APPLICATION NAME: [SMART_RELAY]
I (606) SOFTWARE INFO: APPLICATION COMMIT HASH: [ReleaseTestingV2.0.1-sr_T-dirty]
I (614) SOFTWARE INFO: APPLICATION FIRMWARE VERSION : [2.0.1]
I (621) SOFTWARE INFO: APPLICATION HARDWARE VERSION : [Rev A]
I (627) BLE OTA: OTA image -> ESP_OTA_IMG_VALID
I (632) BLE OTA: Booted into a valid OTA image
E (637) NVS: [boot_mode] The value is not initialized yet!
I (644) BLE OTA: nvs_get_boot_mode --> Boot mode: NORMAL OPERATION
I (651) MAIN: Entering into normal operation mode...
I (656) SMART RELAY: Initializing...
I (661) gpio: GPIO[10]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (670) gpio: GPIO[1]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (679) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (688) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (697) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (707) gpio: GPIO[3]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (716) gpio: GPIO[3]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (2725) SMART RELAY: Correct NVS space size
I (2726) SMART RELAY: sr_states_save_in_nvs: value save success
I (2726) SMART RELAY: NVS data read successful
I (2731) BUTTON: 1 user button need to add
I (2736) gpio: GPIO[8]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (2745) BUTTON: Button [8]state 1
I (2749) BUTTON: 0: user button 8 added
I (3254) SMART RELAY: BLE update task created!
I (3254) SMART RELAY: Fault update task created, err_code 0
I (3254) HEALTH_FAULTS: No faults to send...
I (3259) SMART RELAY: BLE update task created!
I (3264) SMART RELAY: BLE update task created
I (3269) SMART RELAY: esp_random: 82672777
I (3274) SMART RELAY: Random boot-up publication timer started with value:82672777(microseconds)
E (3283) gpio: gpio_install_isr_service(466): GPIO isr service already installed
I (3792) BL0937: is_bl0937_nvs_flag_detected: 1
I (3792) Power Monitoring: periodic power reading send timer created
I (3793) MAIN: Smart Relay Initialized successfully
I (3799) BLE_INIT: BT controller compile version [65db61f]
I (3806) system_api: Base MAC address is not set
I (3810) system_api: read default base MAC address from EFUSE
I (3817) BLE_INIT: Bluetooth MAC: 54:32:04:8e:38:62
I (3823) phy_init: phy_version 1130,b4e4b80,Sep 5 2023,11:09:30
W (3967) BLE_MESH: bt_mesh_proxy_server_prov_disable, Already
I (3977) BTMESH: ESP_BLE_MESH_NODE_PROV_COMPLETE_EVT
I (3978) SR_BLE_MAIN: Provisioning complete event: Node address is: 0x8E8
I (3980) BTMESH: ESP_BLE_MESH_PROV_REGISTER_COMP_EVT, err_code 0
I (3987) SMART RELAY: Opcode received in Queue is 0xFF
W (3992) BLE_MESH: bt_mesh_prov_enable, Already
I (3997) BTMESH: BLE Mesh Node initialized
E (4002) NVS: [scene_0] The value is not initialized yet!
E (4009) NVS: [scene_1] The value is not initialized yet!
E (4015) NVS: [scene_2] The value is not initialized yet!
E (4021) NVS: [scene_3] The value is not initialized yet!
E (4028) NVS: [scene_4] The value is not initialized yet!
E (4034) NVS: [scene_5] The value is not initialized yet!
E (4041) NVS: [scene_6] The value is not initialized yet!
E (4046) NVS: [scene_7] The value is not initialized yet!
E (4053) NVS: [scene_8] The value is not initialized yet!
E (4059) NVS: [scene_9] The value is not initialized yet!
E (4066) NVS: [scene_10] The value is not initialized yet!
E (4072) NVS: [scene_11] The value is not initialized yet!
E (4079) NVS: [scene_12] The value is not initialized yet!
E (4085) NVS: [scene_13] The value is not initialized yet!
E (4092) NVS: [scene_14] The value is not initialized yet!
E (4098) NVS: [scene_15] The value is not initialized yet!
E (4104) NVS: [scene_16] The value is not initialized yet!
E (4111) NVS: [scene_17] The value is not initialized yet!
E (4117) NVS: [scene_18] The value is not initialized yet!
E (4124) NVS: [scene_19] The value is not initialized yet!
E (4130) NVS: [scene_20] The value is not initialized yet!
E (4136) NVS: [scene_21] The value is not initialized yet!
E (4143) NVS: [scene_22] The value is not initialized yet!
E (4149) NVS: [scene_23] The value is not initialized yet!
E (4156) NVS: [scene_24] The value is not initialized yet!
E (4163) NVS: [scene_25] The value is not initialized yet!
E (4169) NVS: [scene_26] The value is not initialized yet!
E (4175) NVS: [scene_27] The value is not initialized yet!
E (4181) NVS: [scene_28] The value is not initialized yet!
E (4188) NVS: [scene_29] The value is not initialized yet!
E (4194) NVS: [scene_30] The value is not initialized yet!
E (4202) NVS: [scene_31] The value is not initialized yet!
I (4207) BTMESH: ESP_BLE_MESH_NODE_SET_UNPROV_DEV_NAME_COMP_EVT
I (4213) SR_BLE_MAIN: Unprovisioned device name set successfully to Smart Relay
W (4221) BLE_MESH: bt_mesh_prov_enable, Already
I (4227) main_task: Returned from app_main()
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) bo▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revisioI (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: ▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revi▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip reviI (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revisI (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip rev▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revisio▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=00059▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.▒I (25) boot: ESP-IDF v5.0.5-dirty 2nd stage bootloader
I (26) boot: compile time 05:49:59
I (26) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed : 80MHz
I (33) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (73) boot: 2 prod_part WiFi data 01 02 00011000 00004000
I (81) boot: 3 factory factory app 00 00 00020000 00140000
I (88) boot: 4 ota_0 OTA app 00 10 00160000 00140000
I (96) boot: 5 ota_1 OTA app 00 11 002a0000 00140000
I (103) boot: End of partition table
I (108) boot: Defaulting to factory image
I (112) esp_image: segment 0: paddr=00020020 vaddr=3c0e0020 size=369c0h (223680) map
I (156) esp_image: segment 1: paddr=000569e8 vaddr=3fc91200 size=02cf4h ( 11508) load
I (158) esp_image: segment 2: paddr=000596e4 vaddr=40380000 size=06934h ( 26932) load
I (167) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=d6324h (877348) map
I (307) esp_image: segment 4: paddr=0013634c vaddr=40386934 size=0a6d8h ( 42712) load
I (315) esp_image: segment 5: paddr=00140a2c vaddr=00000000 size=0f5a4h ( 62884)
I (330) boot: Loaded app from partition at offset 0x20000
I (330) boot: Disabling RNG early entropy source...
I (342) cpu_start: Unicore app
I (342) cpu_start: Pro cpu up.
I (351) cpu_start: Pro cpu start user code
I (351) cpu_start: cpu freq: 160000000 Hz
I (351) cpu_start: Application information:
I (354) cpu_start: Project name: SMART_RELAY
I (359) cpu_start: App version: ReleaseTestingV2.0.1-sr_T-dirty
I (366) cpu_start: Compile time: Aug 1 2024 05:49:54
I (372) cpu_start: ELF file SHA256: 919ef5803b02e859...
I (378) cpu_start: ESP-IDF: v5.0.5-dirty
I (384) cpu_start: Min chip rev: v0.3
I (388) cpu_start: Max chip rev: v1.99
I (393) cpu_start: Chip rev: v0.4
I (398) heap_init: Initializing. RAM available for dynamic allocation:
I (405) heap_init: At 3FC9CBC0 len 0003FB50 (254 KiB): DRAM
I (411) heap_init: At 3FCDC710 len 00002950 (10 KiB): STACK/DRAM
I (418) heap_init: At 50000010 len 00001FD8 (7 KiB): RTCRAM
I (425) spi_flash: detected chip: generic
I (429) spi_flash: flash io: dio
W (434) ADC: legacy driver is deprecated, please migrate to `esp_adc/adc_oneshot.h`
I (442) coexist: coexist rom version 9387209
I (446) app_start: Starting scheduler on CPU0
I (451) main_task: Started on CPU0
I (455) main_task: Calling app_main()
I (459) MAIN: Booting...
I (462) MAIN: FIRMWARE VERSION : [2.0.1]
I (467) MAIN: HARDWARE VERSION : [Rev A]
I (480) SERIAL_LOGS: Serial logs enable flag read successful, value = 0
I (481) MAIN: Initialized DEF_NVS_PARTITION successfully
I (485) ESP_CHIP_INFO: chip variant:ESP32-C3, core count:1, revision:4
I (492) ESP_CHIP_INFO: idf-version:v5.0.5-dirty
I (500) PRODUCTION_DATA: Initialized production data partition successfully...
E (505) NVS: [ser_no] The value is not initialized yet!
E (511) PRODUCTION_DATA: Production data read failed, SERIAL_NUMBER_NVMKEY
E (519) NVS: [part_no] The value is not initialized yet!
E (525) PRODUCTION_DATA: Production data read failed, PART_NUMBER_NVMKEY
E (533) NVS: [hw_rev] The value is not initialized yet!
E (539) PRODUCTION_DATA: Production data read failed, HARDWARE_REV_NVMKEY
E (546) NVS: [int_ord_no] The value is not initialized yet!
E (553) PRODUCTION_DATA: Production data read failed, INTERNAL_ORDER_NUMBER_NVMKEY
E (561) NVS: [env] The value is not initialized yet!
E (567) PRODUCTION_DATA: Production data read failed, ENVIRONMENT_NVMKEY
E (574) NVS: [mcu_type] The value is not initialized yet!
ESP32C3 crashing and printing random logs on serial
-
- Posts: 3
- Joined: Wed Oct 09, 2024 1:20 pm
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32C3 crashing and printing random logs on serial
Hard to say, but the glitched characters in the output make me think it may be a power supply issue.
-
- Posts: 3
- Joined: Wed Oct 09, 2024 1:20 pm
Re: ESP32C3 crashing and printing random logs on serial
Maybe, we have checked the supply line, it is clean and stable even when the device is malfunctioning. Moreover, device recovers after a power cycle and then randomly goes into this state again after a few days. No way to replicate the issue as the reason is unknown.ESP_Sprite wrote: ↑Sat Oct 12, 2024 2:55 amHard to say, but the glitched characters in the output make me think it may be a power supply issue.
-
- Posts: 1734
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32C3 crashing and printing random logs on serial
Is the issue in any way correlated to the switching of the relay?
-
- Posts: 3
- Joined: Wed Oct 09, 2024 1:20 pm
Re: ESP32C3 crashing and printing random logs on serial
I don't think so, we have many devices in testing that are switching relays periodically and working just fine.MicroController wrote: ↑Wed Oct 16, 2024 9:51 amIs the issue in any way correlated to the switching of the relay?
Who is online
Users browsing this forum: No registered users and 130 guests