Forum Discussion
aikeu
Regular Contributor
1 year agoHi BigSid,
You dont need to copy your file to the same directory with the Nios ii command shell executable.
You just need to be in the directory to run the sof2flash cmd Nios ii command shell has been enabled.
I suspect how you run the command and input parameters wrongly. I think the way the run the command example is something like the below example:
Converts standard.sof to an S-record file named standard_cfi.flash intended for a
CFI flash memory. The S-record offset begins at 0x0.
sof2flash --offset=0x0 --input=standard.sof \ --output=standard_cfi.flash
You can refer further details the cmd is run in the document Nios ii programmer guide:
https://cdrdv2-public.intel.com/666773/ug_nios2_flash_programmer-683118-666773.pdf
Thanks.
Regards,
Aik Eu