--- Quote Start ---
originally posted by hammer42@May 31 2006, 02:52 AM
ok, i tried to take an srec and convert it to a binary to use for dd, but the objcopy in linux couldn't recognize the nios srec. is there another way to convert it into something that can be copied using dd?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15696)
--- quote end ---
--- Quote End ---
You should look at the .flash format of altera.
And write a utility to convert .flash to binary.
# Creating .flash file for the FPGA configuration
sof2flash --epcs --input=$SOPC_KIT_NIOS2/examples/verilog/niosII_cycloneII_2c35/standard/standard.sof --output=standard.flash# Creating .flash file for the project
elf2flash --epcs --after=standard.flash --input=zImage --output=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_epcs.srec