I tried power cycle and again gateway got into boot loop.
Rebooting...
ets Jul 29 2019 12:21:46
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:7072
load:0x40078000,len:14416
load:0x40080400,len:3716
entry 0x40080680
I (27) boot: ESP-IDF v4.3.1 2nd stage bootloader
I (27) boot: compile time 10:36:00
I (27) boot: chip revision: 3
I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (46) boot.esp32: SPI Speed : 40MHz
I (46) boot.esp32: SPI Mode : DIO
I (46) boot.esp32: SPI Flash Size : 16MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (75) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (82) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (90) boot: 3 ota_0 OTA app 00 10 00100000 00400000
I (97) boot: 4 fatfs_gwui Unknown data 01 81 00500000 000c0000
I (104) boot: 5 fatfs_nrf52 Unknown data 01 81 005c0000 00040000
I (112) boot: 6 ota_1 OTA app 00 11 00600000 00400000
I (120) boot: 7 fatfs_gwui_2 Unknown data 01 81 00a00000 000c0000
I (127) boot: 8 fatfs_nrf52_2 Unknown data 01 81 00ac0000 00040000
I (135) boot: End of partition table
I (139) boot_comm: chip revision: 3, min. application chip revision: 0
I (146) esp_image: segment 0: paddr=00600020 vaddr=3f400020 size=47b98h (293784) map
I (261) esp_image: segment 1: paddr=00647bc0 vaddr=3ffb0000 size=02bfch ( 11260) load
I (266) esp_image: segment 2: paddr=0064a7c4 vaddr=40080000 size=05854h ( 22612) load
I (276) esp_image: segment 3: paddr=00650020 vaddr=400d0020 size=c9f40h (827200) map
I (575) esp_image: segment 4: paddr=00719f68 vaddr=40085854 size=12938h ( 76088) load
I (618) boot: Loaded app from partition at offset 0x600000
I (618) boot: Disabling RNG early entropy source...
I (630) cpu_start: Pro cpu up.
I (630) cpu_start: Application information:
I (630) cpu_start: Project name: ruuvi_gateway_esp
I (635) cpu_start: App version: v1.11.2
I (640) cpu_start: Compile time: Mar 1 2022 08:39:36
I (647) cpu_start: ELF file SHA256: 0fc1a9112b1305b6...
I (652) cpu_start: ESP-IDF: v4.2.2
I (657) cpu_start: Single core mode
I (662) heap_init: Initializing. RAM available for dynamic allocation:
I (669) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
I (675) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (681) heap_init: At 3FFBFA28 len 000205D8 (129 KiB): DRAM
I (687) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (694) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (700) heap_init: At 4009818C len 00007E74 (31 KiB): IRAM
I (706) cpu_start: Pro cpu start user code
I (724) spi_flash: detected chip: generic
I (724) spi_flash: flash io: dio
I (724) cpu_start: Starting scheduler on PRO CPU.
I (728) fw_update: [main] Project name : ruuvi_gateway_esp
I (734) fw_update: [main] Firmware version : v1.11.2
I (740) fw_update: [main] Boot partition: ota_1
I (745) fw_update: [main] Currently running partition: ota_1
I (751) fw_update: [main] Currently running partition state: VALID
I (758) fw_update: [main] Next update partition: ota_0: address 0x00100000, size 0x400000
I (767) fw_update: [main] Next fatfs_gwui partition: fatfs_gwui: address 0x00500000, size 0xc0000
I (776) fw_update: [main] Next fatfs_nrf52 partition: fatfs_nrf52: address 0x005c0000, size 0x40000
I (786) SwitchCtrl: [main] GPIO SwitchCtrl init
I (791) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (801) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (810) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (819) LEDS: [main] leds_init
I (823) LEDS: [main] TaskWatchdog: leds_task: Create timer
I (829) os_task: [main] Start thread 'leds_task' with priority 6, stack size 2048 bytes
I (837) LEDS: [leds_task] leds_task started
I (842) LEDS: [leds_task] TaskWatchdog: Register current thread
I (849) LEDS: [leds_task] TaskWatchdog: Start timer
I (855) ruuvi_gateway: [main] Init NVS
I (867) system_api: Base MAC address is not set
I (867) system_api: read default base MAC address from EFUSE
I (872) ruuvi_gateway: [main] Read saved Mac address: CA:44:F0:57:F0:B3
I (878) ruuvi_gateway: [main] Read saved WiFi SSID / Hostname: RuuviGatewayF0B3
I (886) LEDS: [main] leds_indication_on_nrf52_fw_updating
I (892) LEDS: [main] LED: Start blinking, interval: 1000 ms, duty cycle: 5%
I (900) nRF52Fw: [main] Hardware reset nRF52: true
I (905) gpio: GPIO[17]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1014) nRF52Fw: [main] Hardware reset nRF52: false
I (1014) nRF52Fw: [main] Init SWD
I (1014) SWD: [main] nRF52 SWD init
D (1016) SWD: [main] /Users/otsojousimaa/git/ruuvi.gateway_esp.c/main/nrf52swd.c:120 {nrf52swd_init_spi_init}: spi_bus_initialize
D (1028) SWD: [main] /Users/otsojousimaa/git/ruuvi.gateway_esp.c/main/nrf52swd.c:134 {nrf52swd_init_spi_add_device}: spi_bus_add_device
D (1041) SWD: [main] /Users/otsojousimaa/git/ruuvi.gateway_esp.c/main/nrf52swd.c:194 {nrf52swd_init_internal}: libswd_init
D (1051) SWD: [main] /Users/otsojousimaa/git/ruuvi.gateway_esp.c/main/nrf52swd.c:147 {nrf52swd_libswd_debug_init}: libswd_debug_init
Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4009691c: 00000c46 980020c0 24a690d8
Core 0 register dump:
PC : 0x40096922 PS : 0x00060630 A0 : 0x800d6a60 A1 : 0x3ff81dd0
A2 : 0x400d691c A3 : 0x00000001 A4 : 0x80089020 A5 : 0x3afaf440
A6 : 0x00000001 A7 : 0x00000901 A8 : 0x80096922 A9 : 0x3ff81da0
A10 : 0x00000000 A11 : 0x00000018 A12 : 0x00000014 A13 : 0x000000a5
A14 : 0x000000a5 A15 : 0x00060023 SAR : 0x00000000 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace:0x4009691f:0x3ff81dd0 |<-CORRUPTED
ELF file SHA256: 0fc1a9112b1305b6
Rebooting...
ets Jul 29 2019 12:21:46
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:7072
load:0x40078000,len:14416
load:0x40080400,len:3716
entry 0x40080680
I (27) boot: ESP-IDF v4.3.1 2nd stage bootloader
I (27) boot: compile time 10:36:00
I (27) boot: chip revision: 3
I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (46) boot.esp32: SPI Speed : 40MHz
I (46) boot.esp32: SPI Mode : DIO
I (46) boot.esp32: SPI Flash Size : 16MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (67) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (75) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (82) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (90) boot: 3 ota_0 OTA app 00 10 00100000 00400000
I (97) boot: 4 fatfs_gwui Unknown data 01 81 00500000 000c0000
I (104) boot: 5 fatfs_nrf52 Unknown data 01 81 005c0000 00040000
I (112) boot: 6 ota_1 OTA app 00 11 00600000 00400000
I (120) boot: 7 fatfs_gwui_2 Unknown data 01 81 00a00000 000c0000
I (127) boot: 8 fatfs_nrf52_2 Unknown data 01 81 00ac0000 00040000
I (135) boot: End of partition table
I (139) boot_comm: chip revision: 3, min. application chip revision: 0
I (146) esp_image: segment 0: paddr=00600020 vaddr=3f400020 size=47b98h (293784) map
I (261) esp_image: segment 1: paddr=00647bc0 vaddr=3ffb0000 size=02bfch ( 11260) load
I (266) esp_image: segment 2: paddr=0064a7c4 vaddr=40080000 size=05854h ( 22612) load
I (276) esp_image: segment 3: paddr=00650020 vaddr=400d0020 size=c9f40h (827200) map
I (575) esp_image: segment 4: paddr=00719f68 vaddr=40085854 size=12938h ( 76088) load
I (618) boot: Loaded app from partition at offset 0x600000
I (618) boot: Disabling RNG early entropy source...
I (630) cpu_start: Pro cpu up.
I (630) cpu_start: Application information:
I (630) cpu_start: Project name: ruuvi_gateway_esp
I (635) cpu_start: App version: v1.11.2
I (640) cpu_start: Compile time: Mar 1 2022 08:39:36
I (647) cpu_start: ELF file SHA256: 0fc1a9112b1305b6...
I (652) cpu_start: ESP-IDF: v4.2.2
I (657) cpu_start: Single core mode
I (662) heap_init: Initializing. RAM available for dynamic allocation:
I (669) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
I (675) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (681) heap_init: At 3FFBFA28 len 000205D8 (129 KiB): DRAM
I (687) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (694) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (700) heap_init: At 4009818C len 00007E74 (31 KiB): IRAM
I (706) cpu_start: Pro cpu start user code
I (724) spi_flash: detected chip: generic
I (724) spi_flash: flash io: dio
I (724) cpu_start: Starting scheduler on PRO CPU.
I (728) fw_update: [main] Project name : ruuvi_gateway_esp
I (734) fw_update: [main] Firmware version : v1.11.2
I (740) fw_update: [main] Boot partition: ota_1
I (745) fw_update: [main] Currently running partition: ota_1
I (751) fw_update: [main] Currently running partition state: VALID
I (758) fw_update: [main] Next update partition: ota_0: address 0x00100000, size 0x400000
I (767) fw_update: [main] Next fatfs_gwui partition: fatfs_gwui: address 0x00500000, size 0xc0000
I (776) fw_update: [main] Next fatfs_nrf52 partition: fatfs_nrf52: address 0x005c0000, size 0x40000
I (786) SwitchCtrl: [main] GPIO SwitchCtrl init
I (791) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (801) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (810) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (819) LEDS: [main] leds_init
I (823) LEDS: [main] TaskWatchdog: leds_task: Create timer
I (829) os_task: [main] Start thread 'leds_task' with priority 6, stack size 2048 bytes
I (837) LEDS: [leds_task] leds_task started
I (842) LEDS: [leds_task] TaskWatchdog: Register current thread
I (849) LEDS: [leds_task] TaskWatchdog: Start timer
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4008bbc1 PS : 0x00060130 A0 : 0x8008b6f0 A1 : 0x3ffc0130
A2 : 0x7fbc0404 A3 : 0x00000000 A4 : 0x3ff81f18 A5 : 0x00000000
A6 : 0x3ff81fb0 A7 : 0x00060023 A8 : 0x000401a4 A9 : 0x000401a4
A10 : 0x000401a4 A11 : 0x3ffc0150 A12 : 0x3ffb00fc A13 : 0x3ffb06b0
A14 : 0x3ff60000 A15 : 0xb83fc000 SAR : 0x00000000 EXCCAUSE: 0x0000001d
EXCVADDR: 0x000401ac LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Backtrace:0x4008bbbe:0x3ffc0130 0x4008b6ed:0x3ffc0150 0x4008b7b3:0x3ffc0190 0x40088ea5:0x3ffc01c0
ELF file SHA256: 0fc1a9112b1305b6
Now notable change was that power led blinks sometimes red. (See video)
https://photos.app.goo.gl/gQFkd5uubiioV6Ra9
Also trace has least once gone further
Again had to restore v1.11.1 firmware to get gateway working again.
Edit: Tried also following:
- Install v1.11.1 → Factory reset → Update v1.11.2 from web ui → Power cycle → Boot loop
- Install v1.11.1 → Update v1.11.2 from web ui → Factory reset → Power cycle → Boot loop