Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Remote update EPCS file format?(rpd or rbf)

I have a Cyclone III EP3C5 design that uses an EPCS4 device in AS mode for remote system update. my question: what file format am I supposed to use when downloading a new application configuration into the EPCS16?.rpd or .rbf or else?

Please help.

Thanks a lot in advance

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If you are using srunner software then rpd is the obvious choice. But I wrote my own drivers from scratch and just used the rbf file because it was lying around on the disk. And yes, I had to bit reverse the bytes for use by the altera altasmi_parallel megafunction. Watch that one!

    Nick
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i am afraid i have to disagree. RPD is the correct format. it is already bit reversed.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    .rbf

    But make sure you use the correct bit order.

    In some applications you need to flip the bits like this:

    out_byte[7] <= inByte[0];

    out_byte[6] <= inByte[1];

    out_byte[5] <= inByte[2];

    out_byte[4] <= inByte[3];

    out_byte[3] <= inByte[4];

    out_byte[2] <= inByte[5];

    out_byte[1] <= inByte[6];

    out_byte[0] <= inByte[7];