Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- The file type you should be useing rpd. Please also take a look at srunner http://www.altera.com/literature/an/an418.pdf To program the EPCS device in your application you use quartus to first generate the POF files and to convert the files from POF to RPD. RPD is a subset of POF, with the ASCII header removed. The srunner software, that we do provide the source code for, can then write to the EPCS device. Srunner is designed to be ported to many processors, and an 418 gives sufficent detail to produce equivlent functionality in VHDL or Verilog. You may be able to do some pre processing before the transmission of the file. To do a remote update system it is important to remember that the remote update is based on pages, and the pages are are assigned when the POF file is initally generated. The use of fixed start addresses is strongly suggested. Inital POF + RPD 1. Generate the factory image sof and all user sofs, that you may want to use in the image. 2. Decide on memory boundarys for the EPCSdevice, I would suggest for EPCS64 and if two images are used that Page_1 starts at 0x00200000 3. Useing convert programing files set Programing file type to POF, select EPCS64 and mode active serial, select Memory Map file. Using add Sof Data and add File, add the required sofs to the POF, and setting the required addresses. Generate the pof, and check the .map file. Save the conversion set up. 4. Set Programing file type to Raw Programing Data file, select the POF and add the pof you have just generated. Remote update POF + RPD 1. Generate the new user sof. 2. Using convert programing files, set Output programming file type to Programmer Object file to Programmer Object File for Remote Update. 3. Set the POF file to the inital POF 4. Set the SOF file to the new sof, check that the assigned page and start address are correct. 5. Ensure Memory Map File is checked. 6. Set Remote/Local update difference file to Programmer Object File 6. Generate the pof. 7. Check the map file to ensure the correct page has been updated. 8. Set Programing file type to Raw Programing Data file, select the POF and add the pof you have just generated. You may wish to examine the POF and the RPD files in a hex editor, the programing data should start at the adressess indicated, the stream of FF is required. If you are doing a remote update rather than an inital programing of the POF you only need to transmit the data from the required page start address. --- Quote End --- sorry i make a mistake! there are some different bettwen .rbf file data with EPCS4 stored data,(not only reversal) rpd file data are same with EPCS4 stored data after be reversed. i am curious why .rpd file was different with .rbf file