Multiboot the creation and commissioning of the MCs file for Golden image and update image

Source: Internet
Author: User

The functionality of the multiboot should be the same for different FPGAs, but the specific configuration may not be the same. The basic flow is as follows:

The source is xapp1246, which is clearly divided into 5 steps, starting with the 0 address of Flash when the FPGA starts, but because Golden image has some configuration, the FPGA receives the configuration to go to the other address and continues to read the contents of the update image. These configurations require the following command when generating the golden bit:

Set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]                 // optional compression set_property bitstream. CONFIG. Configfallback enable [current_design] / enable Readback function [h00800000] [Current_ Design]//update The start address of the image

If you are able to return to the Golden Image area when an error occurs loading the update image, you need to add the following constraint when generating the update image:

Set_property BITSTREAM.GENERAL.COMPRESS TRUE [Current_design]set_property bitstream. CONFIG. Configfallback ENABLE [Current_design]

Meaning like golden image. After generating these two bits, use the following command to generate the MCS file.

Write_cfgmem-Force (UP)0x0 led_icape_golden.bit up 0x00800000 Led_light_update_ Error.bit" -file Icape_golden_light_update_error.mcs

These parameters are related to the size of the specific flash and bit files. For example, bpix16 represents a 16-bit BPI flash, up 0x0 led_icape_golden.bit indicates that the bit's start address is 0x0, and finally the MCS file is generated. The premise is that the current working directory has these two bits. PWD command to view the current working directory, the CD command can switch the current working directory.

In order to verify that the update configuration can be returned to the golden configuration, the bit can be changed in the data, and then generate MCS files, burned into flash, to complete the verification.

Multiboot the creation and commissioning of the MCs file for Golden image and update image

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.