Chapter 3 Configure .sof file into FPGA Flash
From Terasic Wiki
- 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:
Item File name Description 1 de5_net_pfl.cdf Chain Description File, use for JTAG configure setting 2 de5_net_pfl.sof .sof file with PFL IP, use for download .pof file to flash 3 factory.sof .sof file that will be configured into flash page0(Factory location) 4 user_image.sof .sof file that will be configured into flash page1(user image location) 5 test.sh the Shell Script 6 output_file.cof the setting file that change user_image.sof to .pof file
- 2.Named the .sof file as factory.sof(It is the factory localtion 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.
- 5.Below is the configuring process, it will take about 10 minutes.
- 6.Below picture showed the image switching status in flash.
- 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