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