Chapter 3 Configure .sof file into FPGA Flash

From Terasic Wiki

Jump to: navigation, search
3.1 Execute Shell Script
In this section we will introduce how to change .sof file to .pof file via executing Shell Script under Centos and configure it into the flash of DE5-NET.
1.Download the toolkits for configuring flash from http://mail.terasic.com.tw/~johnny/release/de5_net/flash_programming.zip, its contents are as below:
ItemFile nameDescription
1de5_net_pfl.cdfChain Description File, use for JTAG configure setting
2de5_net_pfl.sof.sof file with PFL IP, use for download .pof file to flash
3factory.sof.sof file that will be configured into flash page0(Factory location)
4user_image.sof.sof file that will be configured into flash page1(user image location)
5test.shthe Shell Script
6output_file.cofthe setting file that change user_image.sof to .pof file
2.Named the .sof file as factory.sof(It is the factory location in flash), it will be configured into flash, copy it and cover into flash programming window.
3.If users need to configure another .sof file into flash user image, rename the second .sof file as user_image.sof and copy into flash programming window.
4.Go to flash programming windows under Terminal, run command "sh test.sh", the system start to change user_image.sof to outputfile.pof and configure into flash.
图31.jpg

5.Below is the configuring process, it will take about 10 minutes.
图32.jpg

6.Below picture showed the image switching status in flash.
图33.jpg

7.If user’s board is DE5-NET AB device, please download toolkits from http://mail.terasic.com.tw/~johnny/release/de5_net/flash_programming_ab.zip
Personal tools