Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by kwolfe@Aug 3 2006, 10:27 AM the question is, what should be exactly program into the 2nd flash device? the .elf file, the .flash file from elf2flash, some other binary file?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17390)
--- quote end ---
--- Quote End --- Kevin: this post (http://forum.niosforum.com/forum/index.php?act=st&f=2&t=2538) helped me do something similar... Basically, the key is to get the executable in .hex format using nios2-elf-objcopy -o ihex <project name>.elf <file name>.hex from the NIOS SDK. Then load that--you'll have to convert it to the raw binary, but that isn't too difficult.