Forum Discussion

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

FPGA not configured from flash EPCQ128A with generated .rbf file issue

FPGA is regularly configured with .jic file.

  • .jic and .rbf are generated from the same .sof, with Quartus Prime Standard Edition, Version 18.1.0
  • .jic and .rbf file generated with parameters:

Configuration device (FLASH) - EPCQ128A,

Flash Mode - ACTIVE SERIAL X4,

  • .sof file is made for FPGA device Cyclone V: 5CSXFC6D6F31I7

7 Replies

  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi Dragan,

    Just would like to check, have you program SOF and JIC into the device before? Is it working fine?

    Regards,

    YL

    • DTrif's avatar
      DTrif
      Icon for New Contributor rankNew Contributor

      Hello,

      FPGA is never configured from FPGA flash EPCQ128A with RBF which is generated by Quartus 18.1.0.

      FPGA is always configured from FPGA flash EPCQ128A with JIC which is generated by Quartus 18.1.0.

      Old FPGA flash EPCQ128N (Quartus 15.0.0 was used):

      JIC (via JTAG) and RBF (via TFTP SW update) are successfully flashed on FPGA flash EPCQ128N and FPGA is configured after reboot device in both cases. Those JIC and RBF were generated by Quartus 15.0.0 from same SOF.

      New FPGA flash EPCQ128A (Quartus 18.1.0 is used):

      Now, we are using new FPGA flash EPCQ128A. For new FPGA flash (EPCQ128A) JIC and RBF are generated by Quartus 18.1.0 and state is:

      • JIC is flashed (via JTAG) on FPGA flash EPCQ128A and after reboot device, FPGA is successfully configured
      • RBF is flashed (via TFTP SW update) on FPGA flash EPCQ128A, but after reboot device, FPGA is not configured

      Files JIC and RBF are generated from same SOF.

      Regards,

      Dragan

    • DTrif's avatar
      DTrif
      Icon for New Contributor rankNew Contributor

      Hello SooYL,

      thank you for answer.

      For flashing old FPGA flash EPCQ128N we use RBF file and due to we try to generate correct RBF file flashing new FPGA flash EPCQ128A as well.

      We have tried with RPD, but size of that file was bigger than size of FPGA flash which is available from Linux.

      Anyhow we will try to generate RPD according your suggestion.

      JIC and RBF, which were generated for old FPGA flash EPCQ128N (Quartus 15.0.0 was used), have same sequences at the beginning of files:

      JIC: ...6A 6A 6A 6A 36 F0 ...

      RBF: ...6A 6A 6A 6A 36 F0 ...

      while JIC and RBF, which are generated for new FPGA flash EPCQ128A (Quartus 18.1.0 is used), have different sequences at the beginning of files:

      JIC: ...AF A6 A6 A6 66 03...

      RBF: ...6A 6A 6A 6A 36 F0 ...

      Have you noticed differences above? Do you have some explanation?

      Regards,

      Dragan

  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi Dragon,

    Yes, please try on RPD file. Meanwhile, RBF is a Raw Binary File. Thus there is no any special header available in the bitstream. Meanwhile, JIC has special header and it is required for Quartus Programmer to program the bitstream into flash memory.

    Regards,

    YL

  • DTrif's avatar
    DTrif
    Icon for New Contributor rankNew Contributor

    Hello,

    we successfully generated RPD file according your suggestions. After flashing that RPD into FPGA flash and reboot, FPGA is properly configured.

    Thank you very much for your help.

    Regards,

    Dragan