Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1174 Discussions

Trouble with programming EPCQ via JTAG interface, cannot find flash loader.

THuyn18
Beginner
1,041 Views

Hello,

 

I am trying to program an EPCQ4A through an FPGA (10CL006ZE144). When I go to create the .jic file, the flash loader for my FPGA is not listed. The closest I can find is 10CL006Z, and when I create a .jic file using that and try to program it, I get the error:

 

"Error (209025): Can't recognize silicon ID for device 1. A device's silicon ID is different from its JTAG ID. Verify that all cables are securely connected, select a different device, or check the power on the target system. Make sure the device pins are connected and configured correctly."

 

What can I do to fix this?

0 Kudos
17 Replies
a_x_h_75
New Contributor III
758 Views

That's the correct device to select when creating your jic file.

 

What hardware are you using? Given the device you specify I guess it's your own custom hardware.

 

Can you program the FPGA directly, using the sof, via JTAG? I think this is more likely to be a signal integrity issue.

 

Cheers,

Alex

0 Kudos
THuyn18
Beginner
758 Views

Hi Alex,

 

I'm using the USB Blaster II, and I can program the FPGA with a .sof without any issues.

 

Thanks,

Tin

0 Kudos
THuyn18
Beginner
758 Views

After taking another look at my board schematic, I noticed that the 3 MSEL pins are grounded. Could this be the problem? I remember reading somewhere that the FPGA must be set to active serial to program an EPCQ device, but I'm not sure where.

0 Kudos
a_x_h_75
New Contributor III
758 Views

I'm afraid that is wrong. Yes - the MSEL pins need to be connected for AS mode. Refer to section 6.3.1. of the Configuration User Guide.

 

Cheers,

Alex

0 Kudos
THuyn18
Beginner
758 Views

Thanks! I'll get that fix and update on how it works out.

0 Kudos
THuyn18
Beginner
758 Views

Update: I got the board reworked so that the MSEL pins were 010, which corresponds to AS, and still got the same error. Will keep troubleshooting and updating.

0 Kudos
THuyn18
Beginner
758 Views

What is the difference between standard and fast POR delay? Could that make a difference? I currently have it configured to standard.

0 Kudos
ShafiqY_Intel
Employee
758 Views

Hi THuyn18,

 

Can you kindly try to reduce your TCK frequency to 6 MHz ?

Below link is the command to change TCK frequency (on page 14= 2.8. Changing the TCK Frequency)

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_usb_blstr_ii_cable.pdf#page=14

 

Kindly try it out with your design and let me know the result.

 

Thanks

0 Kudos
THuyn18
Beginner
758 Views

Hi Wolfgang,

 

I tried it and nothing changed. Am I supposed to recreate the jic file after changing the frequency?

 

Tin

0 Kudos
a_x_h_75
New Contributor III
758 Views

You don't need to regenerate the .jic when you change the JTAG frequency.

 

Fast & slow POR change the speed at which the device comes up. Doesn't come into play until the devices boot from FLASH.

 

How far from the FPGA is the EPSQ? Have you a source termination resistor on DCLK?

 

Cheers,

Alex

0 Kudos
THuyn18
Beginner
758 Views

The EPCQ is about 2 in. away from the FPGA. And there is no termination resistor on the DCLK. Should there be one? It didn't mention it in the handbook.

 

Tin

0 Kudos
ShafiqY_Intel
Employee
758 Views

Hi THuyn18,

 

Have you check your MSEL pin? Did you set it to AS config?

I afraid you are not set MSEL Pin as Active Serial (AS) configuration.

 

Am I supposed to recreate the jic file after changing the frequency?

No, you no need to change the .jic file.

 

Thanks

0 Kudos
a_x_h_75
New Contributor III
758 Views

Indeed - no mention of a DCLK resistor in the handbook. I would still recommend one, sited near the FPGA.

 

If you haven't already seen it, refer to figure 83 on page 115 of the Cyclone 10 User guide. This clarifies the resistor required. Given how close your EPCQ is to your FPGA the resistor may be critical.

 

Cheers,

Alex

0 Kudos
THuyn18
Beginner
758 Views

I don't see a DCLK resistor in that figure. What resistor value would you recommend?

0 Kudos
a_x_h_75
New Contributor III
758 Views

20R - 40R, placed near the FPGA.

Cheers,

Alex

0 Kudos
THuyn18
Beginner
758 Views

And this resistor goes from the DCLK line to ground, correct?

0 Kudos
a_x_h_75
New Contributor III
758 Views

A series resistor in the DCLK trace, similar to the resistor in the DATA trace (in figure 83) but sited as near to the FPGA as possible.

 

Cheers,

Alex

0 Kudos
Reply