User guide
Chapter 3: Using the Flash Programmer from the Command Line 3–9
bin2flash
© March 2014 Altera Corporation Nios II Flash Programmer User Guide
f For additional parameters, type elf2flash --help at a command line.
bin2flash Command-Line Example
bin2flash --location=0x40000 --input=data.bin --output=data.flash
Converts data.bin to an S-record file named data.flash. Addresses in the S-record file
place the data starting at offset 0x40000 from the beginning of flash memory.
--input=<file> Required — Name of the input binary file being converted
--output=<file> Required — Name of the output file
Table 3–5. bin2flash Parameters (Part 2 of 2)
Name Required? Default Description