Forum Discussion

Lilian_61's avatar
Lilian_61
Icon for New Contributor rankNew Contributor
5 years ago
Solved

How to generate a full 16MB size image?

Hi,

I am using quartus 19.1 Convert Programming File tool to generate .jic and rpd image by using cof.

Current the generated image size is 15MB, and due to project requirement, I need to generate a full 16MB size image. Is there some earlier way to fill the empty part with all "1" to build a full 16M image?

Thanks!

  • Lilian_61's avatar
    Lilian_61
    5 years ago

    Hi,

    Thanks for your reply, I have fixed this problem.

    Actually I didn't pay attention to the .jic file, I focused on the .rpd file.

    And I just figure out a method,that is I build a 16byte dummy hex file, which is all ’1‘, and add it at offset 0x0FFFFF0,then I could get a full 16MB size .rpd image.

5 Replies

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

    Hi,


    The JIC file generated should cover fully on the flash that you are using. May I know if your using different flash then the one you selected?


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

      Hi,

      Thanks for your reply, I have fixed this problem.

      Actually I didn't pay attention to the .jic file, I focused on the .rpd file.

      And I just figure out a method,that is I build a 16byte dummy hex file, which is all ’1‘, and add it at offset 0x0FFFFF0,then I could get a full 16MB size .rpd image.

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

    Hi,


    The rpd file will only contain the FPGA bitstream data and does not care about the rest of the data. The reason is that if you are using QSPI flash, usually it is erase to 1 and there is no need to write a 1 into the flash.


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

      Yes, I know that. This is from our project requirement,the image size should be 16M,so I have to fill up with unnecessary ‘1’.