Forum Discussion

SERMASWATHIKA's avatar
SERMASWATHIKA
Icon for Contributor rankContributor
1 year ago

how to program epcq device on starter vino kit of cyclone v gt device

Hi Team,

We are using cyclone v gt eval kit. we tried to check the flash programming of our design in eval board.

we create the design with nios,ocm,jtag,serial flash controller ip(legacy epcs/epcq controller) and generated the flash files. we tried to flash the device using nioss ii command shell.

But we could not able to program the core flash and epcs signature read failiure occurs.

so we tried serial flash loader instead of epcq controller and program jic file to epcq device. Works fine.

but we need to check the epcq with flash files.

How to configure that, can you please give solution for this?

16 Replies

  • Hi,

    I have even generated flash files and programmed through quartus_pgm command but i am getting this following error:

    please give solution for this.

  • Hi,


    "But we could not able to program the core flash and epcs signature read failiure occurs."

    -What is the error message? Please provide the screenshot of this failure.


    Regards,

    Aiman


    • SERMASWATHIKA's avatar
      SERMASWATHIKA
      Icon for Contributor rankContributor

      Hi ,

      initially i have used "nios2-flash-programmer.exe --epcs --base=0x0 epcscode_test_mem_core.flash" this command to program the epcq in 22.1 quartus tool.

      At that time i got epcs signature read failiure error. After that i get to know that, nios2-flash command is EOL.

      So i have tried quartus_pgm command to program the epcq now.

      In that programming command, i got this following error:

      attahced the screenshot for clearview .

      Please clear one point that can i use this quartus_pgm command to program the epcq?

      this can be used in cyclone v gt kit which uses Max II for configuration

      • SERMASWATHIKA's avatar
        SERMASWATHIKA
        Icon for Contributor rankContributor

        do you have any response for the above information? if any please respond

  • Hi,


    -quartus_pgm command can be use to program EPCQ.

    -Can you try to use latest quartus version 23.1?

    -Make sure to run as administrator: Quartus Tool's "Windows Authorization" to Administrator

    -Can you share your design file in .qar so we can reproduce the error?

    -You are using windows or Linux?


    Regards,

    Aiman





  • Hi,


    Apologize for the delay in response as I was gathering some information from our internal team.


    Which IP are you using for the EPCQ? Is it the GSFI IP?


    If yes, then if .jic is already successful, then you can run TCL script to check the register values of the GSFI, for e.g CR, Device ID.


    Attached is the TCL script to run in command console, that will output something like this (make sure to change the base address at line #4):


    • SERMASWATHIKA's avatar
      SERMASWATHIKA
      Icon for Contributor rankContributor

      Hi ,

      I am using Serial Flash Controller II Intel FPGA IP ,

      i could not find any tcl script in your previous reply.

      Can you please tell in detail regarding tcl script?

    • SERMASWATHIKA's avatar
      SERMASWATHIKA
      Icon for Contributor rankContributor

      Hi ,

      Can you please tell in detail..which tcl file i need to run..i am waiting for your response

  • Hi,


    I have attaced the TCL script in my previous response. Please check the forum thread again. There is two response provided, one of the response contains a photo of the TCL scripts.


    Regards,

    Aiman


  • Hi,


    Please ignore my previous response.


    For Nios II, we have the example design for Nios II + EPCQ boot you could follow:

    https://www.intel.com/content/www/us/en/docs/programmable/683689/current/processor-application-execute-in-place-90927.html

    That design uses .jic, which will include the .hex(convert .elf of the application) and .sof (Quartus project). So you only need to program the .jic and does not need to manually program any other files.


    Regards,

    Aiman


  • We do not receive any response from you to the previous answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you