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

bootloader in light switch example

Hellou, I am developing apllication mesh application from example light switch. In application program i receive data from mesh and this data is stored to external serial flash with SPI  driver. 

This data will be new data from hexfile for application. So when i receive all data from mesh and this data are written to external serial flash I need jump to to bootloader by reset. In bootloader program data are readed from external flash and write to internal flash to nrf52832 device. If i understand then memory layout , MBR set the address of start address of bootloader program, if it right sett this address program jump to bootloader program which rewrite flash data in nrf52832, after success rewrite internal flash memory, need set MBR adress to address when end softdevice and start user application data. So my question is how can I change address in MBR when MBR is first page of softdevice (0x0000 - 0x1000), and softdevice is only hex file. Haave some example how solve this problem, some manual . Thank you for answer.  

Parents Reply Children
No Data
Related