Forum Discussion

KBhag3's avatar
KBhag3
Icon for New Contributor rankNew Contributor
6 years ago

Cyclone 10GX JTAG Programming

Hi, I am using Cyclone 10GX in one of my design. When I started testing my board, JTAG was not functioning properly. I could program Cyclone10 through JTAG at 1MHz but not beyond that.

I tried different pull up values for TMS & TDI (10K, 4.7K & 1K) but the response is same in all cases. Even at 1 MHz, I couldn’t program Micron Flash device.

I checked back my layout & below are the net lengths in the PCB.

JTAG_TCK: 3.3 inch

JTAG_TD0: 2.9 inch

JTAG_TMS: 2.7 inch

JTAG_TDI: 2.8 inch

I believe 0.5 inch trace length difference should not create any issues at 24 MHz JTAG speed.

I have attached my Schematics page. Please let me know if you have any suggestions for this issue.

Best regards,

Bhagavath

24 Replies

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

    Hi Bhagavath,

    Is your VCCPGM =1.8v?

    Is auto detect working at higher frequency ?

    Can you capture TCK,TMS,TDI , nSTATUS CONF_DONE & nCONFIG and attach ?

    Regards

    Anand

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

      Dear Anand,

      Thanks for your response.

      Yes, my VCCPGM is 1.8V. I have attached the FPGA Power section Schematics.

      Auto detect also is working at 1MHz only.

      I need some time to capture the images.

      Best regards,

      Bhagavath

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

        Hi Bhagavath,

        Good to know that you have solved the problem.

        1. Yes MT25QU is supported device.
        2. Have you set the MSEL pins of the FPGA devices to the AS configuration mode?
        3. The Generic Serial Flash Interface Intel FPGA IP core provides access to Serial Peripheral Interface (SPI) flash devices.

        If still facing problem try to work with the example given in the link so that narrow down the issue.

        Please do refer below link

        https://www.intel.com/content/www/us/en/programmable/documentation/tkt1520669802999.html#rku1522581481513

        Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

        Best Regards

        Anand

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

    Dear Anand,

    When the board is powered ON with MSEL pins in AS mode: nCONFIG is continuously high & CONFIG_DONE is continuous low. nStatus is going high & low like clock signal. The board is in continuous loop as shown in the attached image (Figure141 of Handbook). Writing the configuration data to FPGA is not happening.

    nStatus will become high if I load .sof file through JTAG, as expected. Also CONFIG_DONE goes high after programming.

    Best regards,

    Bhagavath

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

      Hi Bhagavath,

      We can finally suspect the flash device.

      Let me escalated this case to AE. I will get back to you on this soon.

      Regards

      Anand

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

        Dear Anand,

        I have captured the top marking of the Micron Flash & the same is attached. Not sure if this will help.

        Do you suggest any footprint compatible alternate part? I will quickly procure few of them & try if that helps.

        Best regards,

        Bhagavath

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

    Dear Anand,

    I have some confusion now. Does this mean there is no Flash Device available for Cyclone 10 GX in AS Mode? Unfortunately, I am not in a position to change the design now. Will MT25QU be added in the supported list in near future? As you asked to try with MT25Q, can you suggest complete part no.? As I understand MT25Q devices are either QU or QL. I can't use QL as my voltage level is 1.8V. Also the chart says passive configuration is supported with MT25Q but my configuration mode is AS.

    Need more support from you.

    Best regards,

    Bhagavath

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

      ​Hi Bhagavath,

      We are not telling that "No Flash Device available for Cyclone 10 GX in AS Mode" .

      Micron MT25QU is not tested with cyclone 10 GX, we can't guarantee on its operation.

      Try some other alternate device with same footprint.

      Regards

      Anand

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

    Dear Anand,

    Does this mean the part I selected (MT25QU256ABA8ESF) is supported by Cyclone 10 GX but not validated yet by Intel? Do you suggest/Recommend any other footprint compatible device? Also, I want to know if you have any suggestion/corrections in my circuit related to Micron Flash.

    Has any of your customer tested the AS booting with Micron Flash (with Cyclone 10 GX)?

    I am sorry with too many questions but I am really stuck for last 3 weeks. I have time only till this week end to resolve the issue. I have designed 20+ Altera FPGA boards but never faced this type of booting issue till now.

    Is it possible to support if I come there to Intel with one board?

    Best regards,

    Bhagavath

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

      Dear Anand,

      I tried this but status is same.

      Best regards,

      Bhagavath

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

    Hi,

    I don't know if your problem is resolved but i read somewhere (i don't remember the document) that in fast mode (MSEL = 010) density need to be > 256Mb OR > 512Mb.

    Perahps that can help you.

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

      Hi,

      Thanks for your reply. I just changed the Flash with a new device & it started working.

      Best regards,

      Bhagavath

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

        Actually it started working in first board when I removed 10K pullup from D0 & D1 lines of configuration Flash.