Forum Discussion

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

Automated RPD file generation?

I'm using Quartus II v10.0 web edition.

My board has a microcontroller on it and I have developed a boot loader to flash the EPCS device from a RPD file sent to it through a LAN. All works very well but creating the RPD files from Quartus is a pain in the arse, have to start by converting the SOF file to a POF file, and then convert the POF file to a RPD.

My question is, can I configure Quartus somehow to generate these files automatically when I compile?

4 Replies

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

    Assignments -> Device -> Device and Pin Options -> Programming Files

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

    In addition, programming files, that can't be directly generated by Quartus, e.g. *.JIC, can be converted automatically by a *.tcl script

    set_global_assignment -name POST_FLOW_SCRIPT_FILE "quartus_sh:JicGen.tcl"
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok. the programming files configuration does not offer "raw programming data" but it does have "raw binary file" and intel hex.

    I've found that if I burn the RBF file directly to the EPCS device, it seems to work. But for some reason the RPD file contains a lot of data way beyond the point where the RBF file ends, and they're only similar at the beginning.

    Is burning the RBF as is to the EPCS device in any way worse than using a RPD file?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I use .rbf and they work fine.

    I'm pretty sure that the extra info is unnecessary or redundant.