Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
This command copies a new BootLoader. More...
|Pointer to the source of the Bootloader to be be copied. |
|Number of 32 bit words to copy for BootLoader. |
This command copies a new BootLoader.
With this command, destination of BootLoader is always the address written in NRF_UICR->BOOTADDR.
Destination is erased by this function. If (destination+bl_len) is in the middle of a flash page, that whole flash page will be erased.
This function will use PROTENSET to protect the flash that is not intended to be written.
On Success, this function will not return. It will start the new BootLoader from reset-vector as normal.
- Return values:
NRF_ERROR_INVALID_STATE indicates that something was wrong. NRF_ERROR_INTERNAL indicates an internal error that should not happen. NRF_ERROR_FORBIDDEN if NRF_UICR->BOOTADDR is not set NRF_ERROR_INVALID_LENGTH is invalid.
Generated on Mon Dec 17 2018 22:13:55 by 1.7.2