Forum Discussion
SBure
New Contributor
7 years agoHi, thanks for answer. I'm using hex file, which is generated like this:
#Create a flash image of your FPGA configuration file
sof2flash --input=hw.sof --output=hw.flash --epcq --verbose
#Note: We are using --epcq instead of --epcs here for EPCQ devices
#Create a flash image of your NIOS II .elf file
elf2flash --input=sw.elf --output=sw.flash --epcs --after=hw.flash –verbose
#Create the .hex image of your Nios II software
nios2-elf-objcopy --input-target srec --output-target ihexsw.flash sw.hex