FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5990 Discussions

EPCQ remaining space read and write

adamShiau
Beginner
1,352 Views

Hello everyone,

I am using the Cyclone IV model FPGA and utilizing a 16Mb EPCQ to store a .jic file.

If there is any remaining space in my EPCQ,

I would like to use it for storing some parameters.

Could you please guide me on how to determine the amount of available space?

 

Thanks!

 

Adam.S

Labels (1)
0 Kudos
1 Solution
KellyJialin_Goh
Employee
959 Views

Hi,

You may refer to the EPCQ flash data sheet to understand more on the memory space of a .jic file occupying the EPCQ flash: https://www.mouser.com/datasheet/2/612/cfg_cf52012-1301744.pdf


Thank you.


Regards,

Kelly


View solution in original post

0 Kudos
11 Replies
FvM
Valued Contributor III
1,338 Views
Hi,
a straightforward approach would be to reserve the memory amount specified for maximal uncompressed configuration file size in device handbook, rounded up to full flash sector. Use the remaining flash blocks for other purposes.
0 Kudos
adamShiau
Beginner
1,321 Views
Hi FvM,
How can I determine how much space the .jic file has occupied in flash? Information like the start address and end address, for example.

Adam. S
0 Kudos
FvM
Valued Contributor III
1,309 Views
Hi,
Programming File Converter optionally generates a map file with this information.
0 Kudos
adamShiau
Beginner
1,302 Views

Hi FvM,

 

In my application, the size of `.jic` file is 2MB.

I convert the `.sof` and `.elf` files into `.flash` files separately,

and then further convert them into `hw.hex` and `sw.hex` files.

Afterward, I combine these two `.hex` files into a `.jic` file.

Upon completing the conversion, I obtain a `.map` file,

with content containing information from `hw.hex` and `sw.hex` (as shown below).

My question is, if this content represents the address information in the EPCQ,

why is there such a significant difference in file sizes?

0x3BA05 corresponds to 244,229 Bytes, which is only 238.5KB.

 

Adam S

 

adamShiau_0-1692430893465.png

adamShiau_1-1692431431284.png

 

0 Kudos
KellyJialin_Goh
Employee
1,268 Views

Hi,

Greetings and welcome to Intel's forum.


You may find more information on the .jic file information generated here: https://www.intel.com/content/www/us/en/docs/programmable/683299/current/generating-jic-and-jam-programming-files.html


Thank you.


Regards,

Kelly Jialin, GOH


0 Kudos
adamShiau
Beginner
969 Views

Hi Kelly,

 

Thank you for your response.

However, the link doesn't mention the information about .jic file content occupying EPCQ addresses.

It's more like a guide about file conversion.

 

Adam S

 

0 Kudos
KellyJialin_Goh
Employee
1,152 Views

Hi,

Any updates from your end whether the information provided was useful?


Thank you.


Regards,

Kelly


0 Kudos
KellyJialin_Goh
Employee
991 Views

Hi,

Any updates on the issue? Is there any further support needed from my end?


Thank you.


Regards,

Kelly


0 Kudos
KellyJialin_Goh
Employee
960 Views

Hi,

You may refer to the EPCQ flash data sheet to understand more on the memory space of a .jic file occupying the EPCQ flash: https://www.mouser.com/datasheet/2/612/cfg_cf52012-1301744.pdf


Thank you.


Regards,

Kelly


0 Kudos
EBERLAZARE_I_Intel
869 Views

Hi,


Do you have any further questions?


0 Kudos
JingyangTeh
Employee
853 Views

Hi


Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome reopen this thread within 20days or open a new thread, some one will be right with you. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 10 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.


Regards

Jingyang, Teh


0 Kudos
Reply