MW_DFU_FwImageStart
PIC32CX-BZ2 and PIC32CX-BZ6
C
uint16_t MW_DFU_FwImageStart(void);Description
Starts or restarts the firmware image update procedure.
Note
Calling this API resets the state machine and parameters of the DFU module.
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Firmware image update procedure started or restarted successfully. |
| MBA_RES_INVALID_PARA | The API cannot be executed in the current state of the DFU process. |
PIC32CX-BZ3
C
uint16_t MW_DFU_FwImageStart(void);Description
Starts or restarts the firmware image update procedure.
Note
Calling this API resets the state machine and parameters of the DFU module.
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Firmware image update procedure started or restarted successfully. |
| MBA_RES_INVALID_PARA | The API cannot be executed in the current state of the DFU process. |
| MBA_RES_FAIL | External flash access failed. |
