I am doing DFU using nRF52832 board. Is it possible to update partial firmware?
For example, Is it possible to change only blinking LED without changing other stuff from the code?
I am doing DFU using nRF52832 board. Is it possible to update partial firmware?
For example, Is it possible to change only blinking LED without changing other stuff from the code?
Hi Patil! It is possible, in my case I used a work around to implement delta-updates. Look for Janpatch, it is possible to generate a binary delta file which you will use to reconstruct the complete firmware image by using your program memory with the app already programmed and the delta file to then generate the full firmware image which you will then forward to the DFUOTA bootloader.... or to another flash area where you can store the reconstructed FW, depending on your implementation, hardware, etc... That's how I did it in a nrf52840 running mesh SDK.
There may be a more direct way, depends what you are running, and I'm guessing that if you are running Zephyr or nRF Connect SDK there may be a more straigh-forward path. I am still using the old SDKs here...
Thanks a lot!
Can you share me useful link for it to get some more idea?
Also, how did you check the swapping type in DFU?
Hello again. You are welcome!
Check this out: https://github.com/janjongboom/janpatch // https://npm.io/search/keyword:janpatch
You can generate the binary files while building as a post-build command, or whenever you'd like, using the js jdiff available through npm.
I don't get what you mean by "the swapping type in DFU"....
Best of luck!
Regards
//EA
Hello again. You are welcome!
Check this out: https://github.com/janjongboom/janpatch // https://npm.io/search/keyword:janpatch
You can generate the binary files while building as a post-build command, or whenever you'd like, using the js jdiff available through npm.
I don't get what you mean by "the swapping type in DFU"....
Best of luck!
Regards
//EA
I would like to know how to set the MCUBoot Swap algorithms (like Scratch Algorithm, Move algorithm, etc.) and also the types like permanent swapping or reverting back.