Forum Discussion

Amir3's avatar
Amir3
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

'quartus_pgm' command - works with "Nios II Command Shell" but not with batch file

Hey everyone,

I'm trying to burn Flash memory device (MT25QL256) with SW image (Nios Application) by Batch file with these commands, and always I get an error:

C:\intelFPGA_lite\18.0\quartus\bin64\quartus_pgm --nios2 --epcq --base=0xY --csr=0xZ --cable="USB-Blaster [USB-2]" X.flash

This Batch file located in the same path of "X.flash" file.

When I'm trying to burn Flash memory device with "Nios II Command Shell 18.0" tool with these commands, It's work:

1. cd Path

2. quartus_pgm --nios2 --epcq --base=0xY --csr=0xZ --cable="USB-Blaster [USB-2]" X.flash

The 'quartus_pgm' command is the same in both scenarios, so I don't understand why it doesn't work with the Batch file.

Note - Path, X, Y and Z have no special meaning, I can't write down the original data.

Thenks.

17 Replies

  • KellyJialin_Goh's avatar
    KellyJialin_Goh
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,

    As we do not receive any response from you on the previous answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 9/10 survey.


    Thank you.

    Regards,

    Kelly Jialin, GOH