1.4.5.1 bootloader_XXX_Tasks Function

C

// XXX - Specifies the Bootloader Type
void bootloader_XXX_Tasks(void)

Summary

Starts bootloader execution.

Description

This function can be used to start bootloader execution.

The function waits for application firmware from the Host devices (Host-PC/Embedded Host/Serial Memory) based on the bootloader running.

Once the complete application is received, programmed and verified successfully, it resets the device to jump into programmed application.

Precondition

bootloader_Trigger() must be called to check for bootloader triggers at startup.

Parameters

None

Returns

None

Example

while(true)
{
    bootloader_XXX_Tasks();
}

Remarks

For UART, I2C, SPI and CAN bootloaders this function runs in a infinite loop and it never returns