Device Firmware Update (DFU) Middleware Library 6.2 6.2.100.2910
 
Loading...
Searching...
No Matches
Application Management

General Description

DFU functions for the application management.

Functions

cy_en_dfu_status_t Cy_DFU_ValidateApp (uint32_t appId, cy_stc_dfu_params_t *params)
 This function reports whether or not metadata and the specified application is valid.
 

Function Documentation

◆ Cy_DFU_ValidateApp()

cy_en_dfu_status_t Cy_DFU_ValidateApp ( uint32_t appId,
cy_stc_dfu_params_t * params )

This function reports whether or not metadata and the specified application is valid.

It checks:

  • checksum for applications without format;
  • application signature for Cypress Standard User Application format.

This is a weak function and the user may override it in the user's code by providing a function with the same name.

Warning
This function do nothing for MCUBoot flow
Note
It is assumed appId is a valid application number.
Parameters
appIdThe application number of the application to be validated.
paramsThe pointer to a DFU parameters structure. See cy_stc_dfu_params_t .
Returns
See cy_en_dfu_status_t.