alt-file-convert error
I am using Quartus Prime Standard Edition 18.1 for MAX10 development.
I need to store the NIOS-II code in an external QSPI to be copied into SDRAM for execution at power up.
My understanding is that I have to add a Memcpy-based boot copier.
When I use the command below, I get errors:
alt-file-convert.exe -I elf32-littlenios2 -O hex --input==./MAX1000_QSPI_SDRAM.elf --output=./Hello_world.hex --base=0x01800000 --end=0x01ffffff --reset=0x01800000 --out-data-width=8 --boot="./boot_loader_epcq256_cv.srec"
Converting Nios II ELF file to HEX file. Appending boot file.
Mar 16, 2022 4:45:18 PM - (SEVERE) elf2flash: Data error: java.io.FileNotFoundException:
Mar 16, 2022 4:45:18 PM - (SEVERE) elf2flash: Error retrieving data from
nios2-elf-objcopy: 'c:\users\a91399\appdata\local\temp\tmpokijuc': No such file
Is there another way to add the mem-copier?
Why am I getting this error?
Thank you
Hi,
This flow is for MAX 10 as documented, I have found a KDB related to this issue:
https://www.intel.com/content/www/us/en/support/programmable/articles/000086355.html
I believe you have done the above workaround, but just to confirm that you have executed the command from a Nios II Command Shell?
May I know where is your project file located when executing the command?
Is it local or network drive? Can you try placing your project folder on a local drive? If already, execute Nios II Command Shell as Admin (run as Admin...) and re-try.
I was able to generate on Linux 18.1, now I am trying on Windows next.