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

nrf52832 OTA firmware update

hi, i just ask about nrf52832. im using it with keil compiler and trying to divide the memory section (it that will be update and not) but i have hard time to do with keil compiler

i want to update the firmware in several weeks, after load on the nrf52.

the point is that is it possible to OTA update partly?? not the all of them and if it is possible, how can i do that.

thanks,

Parents
  • I'm sorry but it's still not very clear for me.

    Are you saying you only want to update part of the firmware code, leaving other part un-touched. Say first 1kB of the code, and keep the rest 30kB for example un-modified ?

    It's not possible to do that with our current DFU bootloader. But it should be straight forward to modify the bootloader to do that. There is a small tricky part that for a page that only partly updated you would need to backup the part that should be kept, erase the page, write the new data in and then write the backup data back.

    If you don't want to modify the bootloader, I would suggest to simply update the whole thing, meaning you only modify the first 1kB but in the new image you update the whole 31kB.

Reply
  • I'm sorry but it's still not very clear for me.

    Are you saying you only want to update part of the firmware code, leaving other part un-touched. Say first 1kB of the code, and keep the rest 30kB for example un-modified ?

    It's not possible to do that with our current DFU bootloader. But it should be straight forward to modify the bootloader to do that. There is a small tricky part that for a page that only partly updated you would need to backup the part that should be kept, erase the page, write the new data in and then write the backup data back.

    If you don't want to modify the bootloader, I would suggest to simply update the whole thing, meaning you only modify the first 1kB but in the new image you update the whole 31kB.

Children
No Data
Related