4.3.3 Auto Update

For auto update to occur, the auto update feature needs to be enabled in the user design. On power-up, the device selects the newer version of the first two images stored in the SPI directory. If the version of the newer image does not match that of the currently programmed image, then auto update occurs. The following figure shows the high-level flow of auto update programming.

Figure 4-11. Auto Update High-Level Flowchart

The following figure shows the detailed flow of auto update programming.

Figure 4-12. Auto Update Detailed Flow

The following table lists example auto update conditions when different image versions are available in the SPI flash.

Table 4-12. Example Auto Update Conditions
Version Running on the DeviceFirst Two Image Versions Available in SPI FlashBack Level ProtectionImage Version Selected for Auto Update
Blank device2, 3Disabled3
32, 3DisabledNo auto update
31, 2Disabled2
21, 2DisabledNo auto update
11, 2Disabled2
23, 4Enabled and set to 4No auto update
33, 5Enabled and set to 45
23, 5Enabled and set to 45
52, 3Enabled and set to 4No auto update