15 bootloader, Bootloader – BECKHOFF ET9300 User Manual

Page 96

Advertising
background image

94

Application Note ET9300

15 Bootloader

The SSC is prepared to be used as the base code for a Bootloader implementation. The basic
bootloader features are the Bootstate and firmware download. Both features are already fully provided
by the SSC and can be enabled by the following settings:

-

BOOTSTRAPMODE_SUPPORTED

-

FOE_SUPPORTED

The following functions are intent to be used in the firmware download process:

BL_Start(): Called in the state transition from INIT to BOOT

BL_StartDownload(): Called on a write request in case that the file name starts with "ECATFW__" (the
file name is specified in aFirmwareDownloadHeader (foeappl.c)

BL_Data(): Called on every data fragment

The firmware update itself (e.g. writing the flash and reset the Controller) can either be done during
the FoE file download or on the transition from BOOT to INIT. Which mechanism is implement is up to
the slave vendor.

For further information about the recommend slave behaviour during a state transition see the
ETG.5003.2.

Advertising