Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20875 Discussions

Device configuration failed + CRC error while using .jic file

KfirTito
Employee
1,869 Views

Hi,

FPGA model : C10LP120YF780I7G, Vcore = 1.2V , Vccio = 3.3V (conf dev IO voltage)

Flash model :  MT25QL128ABB

Conf Scheme : AS (x1) , MSEL[3:0] = 1101 (AS, Fast, 3.3V)

JTAG Conf : Single Device

Quartus SW version : Standard Edition, 22.1std.0 Build 915 10/25/2022

Quartus Programmer version : 19.4

Programmer device : USB-Blaster II -> FPGA (SFL) -> Flash 

Gen flash setting :

KfirTito_0-1685515595524.png

 

 

Issue : 

1. Programming .jic file (done without errors)

2. Preform power cycle (to re-load the configuration from the external flash)

3. Device failed to load configuration, status :

INIT_DONE - '1'

CONF_DONE - '0'

CRC_ERROR - '1' 

NSTATUS - '0' (for POR time = error during configuration)

 

 

*Notes -

1. sof file programmed successfully, the device is up and working as expected !!!

2. In Quartus SW -> "Convert Programming File" -> "Advanced..." :

When turn OFF the "AS mode CONF_DONE error check" - the image is up. (attached snapshot)

KfirTito_2-1685515738338.png

 

Attached - sof, jic, cof files

 

 

Thank.

 

 

 

 


 

 

 

0 Kudos
12 Replies
WZ2
Employee
1,818 Views

Sorry for the delay because of the holiday, I will solve this issue asap~


0 Kudos
KfirTito
Employee
1,795 Views

Thanks @WZ2 ,

 

waiting for your help.

0 Kudos
WZ2
Employee
1,780 Views

Hi there,

I have already check your sof and the process of generating jic, there is no problem. There are some points I want to make sure again:

1.      Is the logic code work when turn off the “AS MODE Conf_done error check” and power up after load the jic?

2.      Could u try to read the rpd(bin) file from flash and compare the file with your rpd file when you generate the jic file?

3.      On your board, is the config_done pin is floating?

Best regards,

WZ


0 Kudos
WZ2
Employee
1,780 Views

By the way, please try to use ​.rpd file rather than .jic.


0 Kudos
KfirTito
Employee
1,774 Views

Hi , thanks for the fast response

See my comments below : 

 

1. YES

2. How to read the rpd from the flash ?

3. CONF_DONE pin connected to 10K PU resistor according to " Active Serial Single Device Configuration" and also to FET+LED (attached snapshot from my schematics).

4. Regarding the .rpd generation, i can't choose my configuration device, can you pls check if its ok (attached .rpd & cof files)

BTW - After .rpd generate, I cant choose this file in Quartus programmer : 

KfirTito_0-1686061290009.png

 

0 Kudos
WZ2
Employee
1,710 Views

Hi there,

I check the connection of CRC_ERROR and config_done pin, there is no problem.

If you wanna write the rbf and read the flash’s content, the GSFI ip should be considered. For read the rbf from flash:

https://www.intel.com/content/www/us/en/docs/programmable/683419/23-1-20-2-3/device-family-support.html

For my opinion, the CRC_error is not a reliable detection method, and often leads to false positives. If you can confirm that the logic is running normally, or read the bits in the flash, there is no problem. Turning off CRC_check is an option.

Best regards,

WZ


0 Kudos
WZ2
Employee
1,646 Views

Hi there,

Any update~

Best regards,

WZ


0 Kudos
KfirTito
Employee
1,635 Views

Hi thanks,

not yet.

I need some effort to understand how to implement the above IP and read the rbf from ext flash.

0 Kudos
WZ2
Employee
1,548 Views

Hi there,

Do u need the help for the ip~


0 Kudos
WZ2
Employee
1,522 Views

Hi there,

Any update~

Best regards,


0 Kudos
WZ2
Employee
1,462 Views

Hi there,

I wanted to check if you have any further questions or concerns. If not, I will go ahead and mark this issue as resolved.

Additionally, we would greatly appreciate it if you could take a moment to fill out our survey. Your feedback is valuable to us and helps us improve our support quality.

Thank you for your time and cooperation.

Best regards,

WZ


0 Kudos
KfirTito
Employee
1,455 Views

Hi ,

Regarding rbf content read - we decided to prioritize it as low priority issue.

Regarding the survey - sure .

 

You can mark this issue as resolved.

 

10x

0 Kudos
Reply