#include <include/dfu/pcd.h>
Sets up the PCD command structure with the location and size of the firmware update. Then boots the network core and initiates the update procedure. The function will return before the update procedure on the network core has completed or failed, and will indicate success as long as the initialization of the update procedure was successful. The network core will still be in a powered on state when this function returns.
- Parameters
-
src_addr | Start address of the data which is to be copied into the network core. |
len | Length of the data which is to be copied into the network core. |
- Return values
-
0 | on success, an error code on failure. |