This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52840 OTA via GSM(UART) HTTP

Hello,

I want to perform NRF52840 Firmware update remotely. I refer to link.

I want only normal http OTA update without encryption  for prototype testing. Is there any simple structure for GSM OTA update.

Thank You



Parents Reply Children
  • If you are nRF5 SDK, you can have  a look at the bootloader example.

    There are 2 options, secure bootloader and open bootloader. In both version there is no encryption. The open bootloader is the version without signature verifying. Please have a look at the documentation here.

    In your case you would need to implement background DFU. Meaning you receive the image in the application and only switch to the bootloader to update the image. Basically you need to enable NRF_DFU_SETTINGS_ALLOW_UPDATE_FROM_APP in the bootloader sdk_config.h .

    You then need to implement the part the receive the image from internet in the application. We have an example that my coworker Vidar made here
    Note that the example is provided "as-is" you would need to study the code and make the modification to fit with your needs. 

Related