Forum Discussion
Altera_Forum
Honored Contributor
15 years agois this possible to program elf file in flash without souce code
hello all,
it this possible to program flash used for storing elf file in nios ii without main source code.that mean i want give only executable file not souce code for programming.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...........................