Need FOTA update help for nRF5340 with Semtech SX1262 LoRa Module

Originally posted by Abbas Jawadwala: I'm currently intending to design an nRF5340 based BLE/LoRa endpoint which will be a sensorpad collecting important data. The idea is to design a sensor pad with BLE as well as a LoRaWAN communication interface with a modular design There will be two versions of devices, PCB designing will allow us to connect or remove the LoRaWAN when required, which communicates with the nRF 5340 via SPI. Since 𝐅𝐔𝐎𝐓𝐀 is important for this application, it should be enabled via BLE as well as via LoRaWAN. So, the main point of discussion is 𝘩𝘰𝘸 𝘤𝘢𝘯 𝘸𝘦 𝘱𝘦𝘳𝘧𝘰𝘳𝘮 𝘧𝘪𝘳𝘮𝘸𝘢𝘳𝘦 𝘖𝘛𝘈 𝘷𝘪𝘢 𝘵𝘩𝘦 𝘚𝘦𝘮𝘵𝘦𝘤𝘩 𝘚𝘹1262 𝘮𝘰𝘥𝘶𝘭𝘦? From what I read, OTA requires an additional software stack to perform the collection of fragments, converting it into a binary file, checking its digital signature & and authenticating it, sending the report, etc, and so on. Is that stack readily available via Nordic or some 3rd party vendor? I'm reading the Amazon IOT core LoRaWAN OTA guide which mentions the steps to perform OTA but it's not clear whether the FUOTA stack is provided by them or not: https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-fuota-mc-process.html We are in the architecture design phase and in requirement of better clarity or resources that can guide us with the exact steps required to perform the OTA update of nrf5340 with Sx1262. Any help, support, or guidance will be greatly appreciated. Thanks. https://docs.aws.amazon.com/images/iot/latest/developerguide/images/iot-lorawan-fuota-flow.png
FUOTA process overview - AWS IoT Core
The following diagram shows how AWS IoT Core for LoRaWAN performs the FUOTA process for your end devices. If you're adding individual devices to your FUOTA session, you can skip the steps for creating and configuring your multicast group. You can add your devices directly to a FUOTA session, and AWS IoT Core for LoRaWAN will then start the firmw...
3 Replies
techielew
techielew7mo ago
@Networking
InsightMike
InsightMike7mo ago
This isn't a mature space. You've probably seen some of the material from TTN on this subject, https://www.thethingsindustries.com/news/introducing-the-firm-update-over-the-air-fuota-feature-for-lorawan-devices-using-the-things-stack/.
The Things Industries
Introducing the Firmware Update Over The Air (FUOTA) Feature for Lo...
Learn how the FUOTA makes updates for LoRaWAN devices easier, the requirements required for the FUOTA update, its main users and the benefits of FUOTA
InsightMike
InsightMike7mo ago
But before you go too deep, consider what the impact on battery life will be if you perform a FUOTA. In some cases, one or two FW updates could consume the battery. The most practical approach, although imperfect, may just be to do a BLE FW update and require local interaction.