Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.

Firmware Over the Air (FOTA)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Firmware Over the Air (FOTA)

by area540 on Tue Jun 16, 2020 6:20 pm

I am working with circuit python on an NRF52840 dev kit trying to update the firmware from a website using FTP.

My first attempt has me looking at the built-in nvm module. Can I change how much of the non volatile memory I have access to? Would a new module built in C be more appropriate? Do I need to think about changing the bootloader? I am using the adafruit bootloader atm.

To give a sense of scope, I would like to be able to update the circuit python build over the air using FTP.

Any help is appreciated and I can provide more details as necessary.

Posts: 1
Joined: Thu May 28, 2020 11:22 am

Re: Firmware Over the Air (FOTA)

by siddacious on Tue Jun 16, 2020 7:05 pm

You will certainly need to update the bootloader to support OTA updates , and likely you would need to make modifications to the CircuitPython source code as well. With that said, OTA updates of firmware and bootloaders are both individually large, complex and very low level projects which puts them outside of the scope of this forum.

Nordic has a good amount of documentation available, so I would start there. You may also learn something by reading the source for the nRF UF2 bootloader:

Posts: 271
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.