MW_DFU_FwImageActivate
Only valid for PIC32CX-BZ3
C
uint16_t MW_DFU_FwImageActivate(void);
Description
Activates the new firmware after a system reboot.
Note
The system state after activation should be verified to ensure proper operation.
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Activation successful. |
MBA_RES_BAD_STATE | API cannot be executed in the current DFU process state. |
MBA_RES_OOM | Insufficient memory available. |
MBA_RES_FAIL | Flash access failed. |