Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
yes you only need the binary file to program the flash, you don't need to provide the source code. The .elf file is all you need.
- Altera_Forum
Honored Contributor
Thanks 4 reply ...............
can u give me some reference manual 4 programming flash through bin file also how to convert elf file to bin file. - Altera_Forum
Honored Contributor
elf2flash and nios2-flash-programmer are the command line tools that you need to become familiar with. They are both covered, adequately, in the nios ii flash programmer user guide (http://www.altera.com/literature/ug/ug_nios2_flash_programmer.pdf).
There are also analogous commands for creating "flash" files (SRECs) for binary files (bin2flash) and SOFs (sof2flash). Cheers, slacker - Altera_Forum
Honored Contributor
thanks...........................