Forum Discussion

PFern11's avatar
PFern11
Icon for New Contributor rankNew Contributor
6 years ago

RPD file format question

In AN827 (https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an827.pdf) p. 8 in the table about output file types, it says:

The .rpd file content has a bit swapped if compared to the output file.

Can someone clarify what output file this is referring to? Isn't the .rpd the output file? Does the user need to do anything to account for this swap, or is this just informational?

3 Replies

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor
    Hi, RPD is the output file. The bit swap is related to how the binary is being position in hex format. It can be set as big-endian or little-endian format.
  • PFern11's avatar
    PFern11
    Icon for New Contributor rankNew Contributor

    So, just to be clear, when programming the Flash directly (not through the SFL), the .rpd file can be used directly (i.e. don't have to do anything to account for this swap)?

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor
    Yes, depending on how you are going to update the flash. If let say you are writing the data into flash in little-endian format then you will need to generate the file in little-endian format. If not then you will need to performed bit swap on your code.