Hi!
I have a bootloader like described here and a working application (threads, GNSS, MQTT over SIM Internet, etc.) running on the target. In very rare cases, the application disappears in ROM after randomly long time. After target restart (reset button or power re-attach), the bootloader starts (bootloader output in console) but not the application. It seams that the application is away (erased, no output trace on console). Can anyone tell me how this can happen?
- Target: C030-R412m
- Toolchain: Mbed Studio (latest)
- Mbed OS: 5.15.8
"target_overrides": {
"*": {
"rtos.idle-thread-stack-size": 512,
"rtos.main-thread-stack-size": 8192,
"rtos.thread-stack-size": 5120,
"rtos.timer-thread-stack-size": 768,
"mbed-trace.enable": true,
...some network configs
},
"UBLOX_C030_R412M": {
"target.features_add": ["STORAGE"],
"target.components_add": ["SD", "FLASHIAP"],
"target.network-default-interface-type": "CELLULAR",
"target.bootloader_img": "bootloader/w-bootloader.bin",
"storage.storage_type": "TDB_INTERNAL",
"sd.SPI_MOSI": "SPI_MOSI",
"sd.SPI_MISO": "SPI_MISO",
"sd.SPI_CLK": "SPI_CLK",
"sd.SPI_CS": "SPI_NSS"
}
}