Hello.
How to write custom firmware updater, which:
-
Takes new firmware from other device on SPI or I2C bus.
-
Writes it to flash ("bank1" at 0x1B000, or "bank2" at 0x25000), for example, with ble_flash_word_write() (BLE radio is off at that moment).
3) Updates something in flash memory to start from "bank1" or "bank0", so selected firmware starts after reset. ?
Especially interested in (3) - where to change firmware starting address? By default firmware starting address in flash memory is 0x1B000 - how to change this default?
Thanks!
P.S.
Keil reports "Component is incompatible with versions of other selected components" when I select nRF_Libraries->DFU->dfu_bootloader and asks me to use s110 stack, while I'm using s130 2.0.0-7.alpha That's why I decided to write own simple firmware updater rather than use existing DFU, incompatible with s130.