Forum Discussion

Varshasri's avatar
Varshasri
Icon for New Contributor rankNew Contributor
3 months ago

Unable to program EPCQ16A on custom cyclone IV board - error during jic flashing.

Hello,

I  have created a custom FPGA PCB board with cyclone IV EP4CE6E22C8N FPGA. For flash I have a EPCQ16A. When I try to configure my FPGA in jtag mode MSEL (2:0) = "011", and use the .sof file. - everything is working properly.

But when I try to flash using .jic - it fails to program and shows an error. While generating the jic file I did select the correct flash device - EPCQ16A. And I changed my MSEL(2:0) to "010" (AS mode). When I give autodetect before adding the .jic file, it does recognise my FPGA device and after I have added the .jic file I can see the EPCQ16A in the JTAG chain. However, when I program it fails. 

I have attached the programmer window screenshot and the error message:

 Info (209060): Started Programmer operation at Thu Nov 27 12:04:37 2025

Info (209016): Configuring device index 1

Info (209017): Device 1 contains JTAG ID code 0x020F10DD 

Info (209007): Configuration succeeded -- 1 device(s) configured

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.

Error (209012): Operation failed Info (209061): Ended Programmer operation at Thu Nov 27 12:04:39 2025

 Please can anyone tell me where I am going wrong and how to fix it?

2 Replies

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

    Hi Varshasri,

    Can you confirm that you are using Cyclone IV GX FPGA Development Kit?

    Regards,
    Fakhrul
     

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

      I am using the cyclone IV EP4CE6E22C8N FPGA chip (not the development board). I have customised my own PCB with this FPGA chip using EPCQ16A for flashing. I found out where the issue is - I have made connection error while connecting my flash to the FPGA. The data0 pin was connected wrongly and hence it was not able to switch to Active Serial mode. Now that I have modified the connections, I am able to flash successfully. Thanks anyway