Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHere's an easy way for you to figure this out yourself.
1) Program the flash using the JTAG programmer 2) Read the flash, eg., create a Qsys system with a flash controller. 3) Compare the data you just read to the RBF file, or the RPD file. I've been testing flash programming with Cyclone IV E devices, eg., the BeMicro-SDK and the DE0-nano. The images read back from EPCS flash (SPI flash) match those in the .rpd file (taking into account that the bytes get bit-reversed). In your case, FPP shouldn't be bit-reversing, so your flash data should match your .rpd file. If they don't match, then read the PFL documentation, perhaps it adds some header information. In that case, just search a little further into the flash until you see a pattern that matches the .rpd file contents. To generate an .rpd file from a .sof file, I use the conversion tool in the GUI (File->Convert programming file), and convert .sof to .pof (selecting the appropriate flash target), and then convert that .pof to .rpd format. Cheers, Dave