MBR functions

nRF5 SDK v15.0.0

Functions

uint32_t nrf_dfu_mbr_copy_bl (uint32_t *p_src, uint32_t len)
Function for copying the bootloader using an MBR command. More...
uint32_t nrf_dfu_mbr_init_sd (void)
Function for initializing the SoftDevice using an MBR command. More...
uint32_t nrf_dfu_mbr_irq_forward_address_set (void)
Function for setting the address of the IRQ table to the app's using an MBR command. More...

Detailed Description

Function Documentation

uint32_t nrf_dfu_mbr_copy_bl ( uint32_t * p_src ,
uint32_t len
)

Function for copying the bootloader using an MBR command.

Parameters
[in] p_src Source address of the bootloader data to copy.
[in] len Length of the data to copy in bytes.
Returns
This function will return only if the command request could not be run. See sd_mbr_command_copy_bl_t for possible return values.
uint32_t nrf_dfu_mbr_init_sd ( void )

Function for initializing the SoftDevice using an MBR command.

Return values
NRF_SUCCESS If the SoftDevice was initialized successfully. Any other return value indicates that the SoftDevice could not be initialized.
uint32_t nrf_dfu_mbr_irq_forward_address_set ( void )

Function for setting the address of the IRQ table to the app's using an MBR command.

Return values
NRF_SUCCESS If the address of the new irq table was set. Any other return value indicates that the address could not be set.