Nios® V Embedded Processor Design Handbook

ID 726952
Date 12/04/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.3.6.3. Updating the Factory Image

The Update the Factory Image menu, Option 6 performs RSU Image update by updating to a new factory image and decision firmware version. Before initiating Option 6, you are recommended to run Option 7 to erase the current decision firmware to show that a new decision firmware is updated along with the factory image.

The operation begin by reading the Factory Update RPD image from the QSPI flash, starting from address 0x3800000. After the RPD image is read successfully, the software proceeds to add and verify the configuration bitstream into a temporary FactoryUpdate slot. Once it is completed, power cycle the device.

Note: After the factory image is updated completely, the device automatically reconfigure to the application image with the highest priority.
Table 45.  Decision Firmware Status Log
Erase Decision Firmware Power Cycle
Before After Before After

DCMF0: OK

DCMF1: OK

DCMF2: OK

DCMF3: OK

DCMF0: OK

DCMF1: Corrupted

DCMF2: Corrupted

DCMF3: Corrupted

DCMF0: OK

DCMF1: Corrupted

DCMF2: Corrupted

DCMF3: Corrupted

DCMF0: OK

DCMF1: OK

DCMF2: OK

DCMF3: OK

Factory Image Update Log

Reading the Factory Update image based on RPD memory map....
Read Successfully.
Slot FactoryUpdate created at 0x2000000 with size =  0x460000 bytes.
Slot 2 is erased.
      NAME: FactoryUpdate
    OFFSET: 0x0000000002000000
      SIZE: 0x00460000
  PRIORITY: [disabled]
Slot 2 was programmed with size=4587520.
Slot 2 was verified with size=4587520.
Add and Verify the image successfully in Slot 2

Please power cycle the device to update the factory image.