--- Quote Start ---
originally posted by jdhar@Mar 29 2006, 07:47 PM
you should be able to use elf2flash and specify the offset using the --offset flag - just cat the files together and run use nios2-flash-programmer
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13905)
--- quote end ---
--- Quote End ---
Hello jdhar, thanks for your answer...
The offset flag wasn't specified in the elf2flash help..... thanks...
But I couldn't generate the flash without boot_loader... I want to write several applications in the flash, each one in determined address. My goal is to create a software that copy a determined application to exception area of a processor (there is 3 nios2) to be run. Therefore the boot_loader isn't necessary, but I don't know how to generate the .flash without it.
Follow the command that Im using:
elf2flash --silent --input=myprogram --output=./myprogram.flash --sim_optimize=0 --base=0x00000000 --end=0x007fffff --reset=0x00000000 --boot=C:/altera/kits/nios2_51/components/altera_nios2/boot_loader_cfi.srec --ofset=0x00100000
It occurs an error without --boot tag.
Regards,
Maikon.