Note: When the remote system upgrade host loads an application image, the static firmware
traverses the image pointer slots in reverse order. The new image has the highest
priority when you restart the device.
5.12. Removing Application Image
1. Set up exclusive access to the AS x4 interface and flash memory by running the
QSPI_OPEN and QSPI_SET_CS commands. After running these commands, you
have exclusive access to the AS x4 interface and flash until you relinquish access
by running the QSPI_CLOSE command. Write the new application image to the
flash memory using the QSPI_WRITE command.
2. Write the application image start address stored in the image pointer slot of the
configuration firmware pointer block (CPB0 and CPB1) to 0x00000000 by using
the QSPI_WRITE command.
Note: You must update both copies (copy0 and copy1) when editing the
configuration firmware pointer block and sub-partition table.
3.
Erase the application image content in the flash memory using the QSPI_ERASE
command.
4. To remove a new application image, add another new application image in the
next or subsequent image pointer slot or allow the device to fall back to the
previous or secondary application image in your application image list. The
following table shows correct entries for image pointer slots for CPB0 and CPB1 for
offsets 0x20 and 0x28 :
CPB Start Address + 0x20
Content Value
CPB0 + 0x20 = 0x002E4020
Old application image pointer slot
(lower priority)
0x002F4000
CPB0 + 0x28 = 0x002E4028
Current/new application image
pointer slot (highest priority)
0x03FF0000
CPB1 + 0x20 = 0x002EC020
Old application image pointer slot
(lower priority)
0x002F4000
CPB1 + 0x28 = 0x002EC028
Current/New application image
pointer slot (highest priority)
0x03FF0000
5. Remote System Upgrade
UG-S10CONFIG | 2018.11.02
Intel Stratix 10 Configuration User Guide
Send Feedback
96