Hi,
I want to build a DFU mechanism with our own protocol, which means I build up two BLE services 'read' and 'write' where I can transmit the new application firmware, store it in flash and then begin to update the device. I want to use dual bank layout for flash, because of security reasons.
In a first try I didn't use BLE writes, but a transmit over TWI which is working. Now I have the firmware image in the flash. Now my questions:
How do I configure the memory to dual bank use? Does it have to be done in teh bootloader settings page? By now bank1 and bank0 have the same addresses and I don't know how to change address for bank1.
How do I start the bootloader, so that it copies the application from bank 1 to bank 0?
Thanks for the help in advance!!!
Kind regards
Sascha