Large OTA Updates for MKRNB1500

Hi everyone,
I'm trying to find a solution for large OTA updates (over 70% of storage space) for my MKRNB1500.
My general direction is to use an external flash (Winbond W25Q for example) to store the update, and do something along the lines of:

  1. Download update from server (with ArduinoHttpClient for example)
  2. Save update on external flash (W25Q)
  3. Flash the board with the new update from the external flash

I've seen solutions using an SD card and the SDU library, but since I have an external flash already connected and no physical room for an additional SD card this solution is not relevant for me.

Any help would be much appreciated!!!

I made a example a time ago for the mkr 1400 storing the download in the modem memory then copy to the sd card and boot with SDU.

This can maybe a entry point. Or flash from the modem memory directly?

Hi intstarep, thanks for sharing your solution!
I have a few questions:

  1. Can you please tell me more about the problems you had with the SSU library?
  2. I'm trying to find any information about how to flash directly from the modem memory / flash memory, do you have any directions to point me to?

The problem is my solution doesn't have an SD card so I can't really use the SDU library..

Thanks again for your help!

Hi pinkert7

  1. I use the SDU lib because i also want to have a hands on solution (Insert a card for a firmware update). SDU and SSU doesn't work together - so i can't help with SSU questions.

  2. No, sorry absolutely no, this gonne be a tough one.

  3. Wouldn't it be very easy to ad a SD card reader which gives you also the possibility to update by hand?

Cheers

Hi intstarep,
I found a good solution using the SFU library.
I'm working on it now and I'll publish it here once it's ready :slight_smile:

Thank you for your help!

Good to hear. Cheers!

Hi all,
If anyone encounters this problem in the future, you can view my solution here:

Don't hesitate to contact me if you have any questions!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.