Firebase-ESP-Client: Firebase OTA Update crash
IDE and its version:
- PlatformIO Board: M5 Core2
I was testing the OTA update feature and while it downloads the file successfully (upto 98%) it crashes after that. I feel the crash is related to applying the new firmware. No clue in this domain Here is the output
Download firmware file OTA with Google Cloud Storage JSON API...
Downloading firmware firmware.bin (1629728)
Downloaded 0%
Downloaded 2%
~~~~~~~~~~~
Downloaded 96%
Downloaded 98%
[1124326][E][ssl_client.cpp:36] _handle_error(): [data_to_read():343]: (-76) UNKNOWN ERROR CODE (004C)
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x40121b6d PS : 0x00060030 A0 : 0x80123afa A1 : 0x3ffda7c0
A2 : 0x0018de20 A3 : 0x3ffc5d30 A4 : 0x3f803d8c A5 : 0x000001ab
A6 : 0x00001000 A7 : 0x001127aa A8 : 0x80121b6d A9 : 0x3ffda7a0
A10 : 0x00000000 A11 : 0x00000e20 A12 : 0x000001ab A13 : 0x3ffd2c44
A14 : 0x0018d000 A15 : 0x00000e20 SAR : 0x00000014 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x4008ad04 LEND : 0x4008ad0f LCOUNT : 0x00000000
Backtrace:0x40121b6a:0x3ffda7c00x40123af7:0x3ffda9c0 0x40124246:0x3ffdaa70 0x401247cb:0x3ffdaad0 0x400d4c17:0x3ffdaba0 0x400d4c8c:0x3ffdac00 0x400e141a:0x3ffdac20 0x400e14ab:0x3ffdac50 0x40103dcd:0x3ffdac70 0x40105006:0x3ffdac90 0x401050f5:0x3ffdacb0 0x400f0799:0x3ffdace0 0x400f0891:0x3ffdad00 0x400d4634:0x3ffdad20
#0 0x40121b6a:0x3ffda7c00 in GG_CloudStorage::handleResponse(FirebaseData*, fb_esp_gcs_req_t*) at .pio/libdeps/m5stack-core2/Firebase Arduino Client Library for ESP8266 and ESP32/src/gcs/GCS.cpp:1866
Partition table
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 2M,
ota_0, app, ota_0, , 2M,
ota_1, app, ota_1, , 2M,
spiffs, data, spiffs, , 0x370000,
Can you help in knowing what caused this issue?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 44 (22 by maintainers)
The timeout is 10 seconds by default and can be changed via the config https://github.com/mobizt/Firebase-ESP-Client/blob/a41b2031272baa3995c1cefb4502247a625980c8/examples/RTDB/Basic/Basic.ino#L111-L112