I normally reprogram the feather using newtmgr to write the app_update.bin file. That works great.
I need to be able to remotely upgrade firmware.

I am using v1.4.1, http_application_update to download the app_update.bin file from a server and update. I then have the application do a sys_reset(0) and it boots the updated application! Perfect.

The next time I reboot, it reloads the version that I programed with newtmgr.
Also, the reboot takes a long time, so I believe it has a backup stored somewhere? Is there any documentation that describes where this image is stored?

How can I make the http_application_update be permanent. Am i missing a step?

–tx–

Make sure to call:

boot_write_img_confirmed();

From your downloaded application!
That fixed it.

Yep, otherwise the bootloader assumes a broken image and rolls back.

Yep, otherwise the bootloader assumes a broken image and rolls back.

Edited: the web app reported an error, so I retried … and found afterward the first approach successful. I’m not allowed to remove my comment, but maybe someone else removes this duplicate.

7 days later
Terms and Conditions | Privacy Policy