Bug in quartus_pgm command line tool
Hi,
i have been using the quartus_pgm command line utility with the "--nios2" option lately to write a few bytes to the EPCQ of my Cyclone V GT Development Kit.
I noticed that there is a bug related to the length of the flash filename being used.
When I type
quartus_pgm --nios2 --epcq --base=0x4c000000 --csr=0x4e000000 --instance=0 fix1.srec
I get the following error message:
Info: Command: quartus_pgm --nios2 --epcq --base=0x4c000000 --csr=0x4e000000 --instance=0 fix1.srec
Info (18932): Using cable "USB-BlasterII [1-8]", device 1, instance 0x00
Info (18932): Resetting and pausing target processor:
Info (18932): OK
Error (18927): No CSR found at address 0x4E000000
Info (18932): Leaving target processor paused
When I use the same file but rename it to a filename with 16 or more characters the exact same command works flawlessly. It also works when I start the command from a parent directory and give "<path to file>/fix1.srec" as parameter (as long as it has 16 or more characters in total)
I attached the srecord file i was using as .txt file because .srec is not a supported format for attachments.
Edit: Quartus Version 18.1.0 Build 625 09/12/2018 SJ Standard Edition