Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Hi, I know what you say. Embedded software should be located after the FPGA configuration. The 2 files downloaded to EPCS is from the directory "You nois profect\flash" and they are generated when downloading to EPCS by flash programmer in Nios II SBT for Eclipse. The first file is generated by the command "$SOPC_KIT_NIOS2/bin/sof2flash --input="D:/.../C.sof" --output="D:/.../flash/c.flash" --epcs --verbose". The second file is generated by the command "$SOPC_KIT_NIOS2/bin/elf2flash --input="D:/.../software/C_SOPC/C_SOPC.elf" --output="D:/.../flash/c_sopc.flash" --epcs --after="D:/.../flash/C.flash" --verbose ". Refer to the description of "flash_programmer.sh" for the two commands above, paragraph 4 in page 3-1 of documentation "Nios II Flash Programmer User Guide.pdf (2010)". You can see "--after="D:/.../flash/c.flash"". So it is OK when downloading the "c_sopc.flash" after downloading "c.flash". The way I used is not convenient, I must make sure the directory of two .flash files. My workmate suggest editing the tree commands to a bat file, but I know few about bat file. My qestion: My operation about CMD is in# 4 floor. Please share your operation about CMD. Do you just program 1 file by CMD? what is your file programmed? where is it?