--- Quote Start ---
If you are using a Windows host make sure to open the "Nios II Command Shell". You can find it in the start menu under the Nios II EDS you installed. It uses Cygwin which allows Linux oriented tools to run in Windows.
--- Quote End ---
I'm using TeraAsic Board which contains Stratix IV FPGA.
Thanks . I followed the same step before also .
The steps i followed are
1)Opened Nios 2 EDS through start Menu and moved to the directory where i have .sof file .
2) Now i have to convert .sof to .flash file by using the script
" sof2flash --input= filename.sof --outpu=filename_hw.flash --offset=0x00020000 --pfl --optionbit=0x18000 --programmingmode=FPP
After this i'm able to generate .flash file successfully.
3)Now ,i programmed .sof through JTAG(Quartus ) and it is 100% successfull.
4)now i have programm flash using .flash file which i created in step 2
and i used the script
" nios2-flash-programmer --base=0x08000000 filename_hw.flash "
But the error displayed is "
"there are no nios iiprocessors available which match the values specified. please check that your pld iscorrectly configured, downloading a new .sof file is necessary ".
please help me out friends .
aiim