Hi Team,
I would like to implement a second bootloader to program an external serial Flash chip. Currently using S110 V7.1.
My current thinking is to create another self contained application in BANK_0 (I should have the space) which when run will advertise a new service and implement the down load protocol and Flash programming.
I could modify the DFU bootloader to run this new app based on a new value set in GPREGRET before the call to bootloader_util_app_start(). Is it safe to use GPREGRET for this purpose going forward? OR Why don't I just do this:
err_code = sd_softdevice_vector_table_base_set(BOOT_EXT_FLASHER);
bootloader_util_app_start(BOOT_EXT_FLASHER);
When I want to run the second application?
I remember reading somewhere about having multiple applications and switching between them, but can't find this reference again and can't remember how the bootloader knew which app was to be run?
Any comments would be appreciated.
Simon