User guide
© March 2014 Altera Corporation Nios II Flash Programmer User Guide
Contents
Chapter 1. Overview of the Nios II Flash Programmer
Introduction ............................................................................1–1
Prerequisites .........................................................................1–2
Nios II Flash Programmer GUI and Command-Line Utilities ................................1–2
How the Flash Programmer Works ........................................................1–2
Flash Programmer Target Design .......................................................1–3
Chapter 2. Using the Flash Programmer GUI
Introduction ............................................................................2–1
Starting the Flash Programmer GUI ........................................................2–1
Specifying your Flash Programmer Settings ..............................................2–2
Working with Flash Programmer Settings Files ...........................................2–3
Setting the Hardware Connection .......................................................2–4
Checking System ID and System Timestamp ..............................................2–4
Generating Flash Files and Programming Flash Memory ...................................2–5
Chapter 3. Using the Flash Programmer from the Command Line
nios2-flash-programmer ..................................................................3–2
nios2-flash-programmer Command-Line Examples ........................................3–4
sof2flash ...............................................................................3–5
sof2flash Command-Line Examples .....................................................3–6
elf2flash ................................................................................3–6
Programming Both Hardware and Software into an EPCS/EPCQ Device .....................3–7
elf2flash Command-Line Examples ......................................................3–8
bin2flash ...............................................................................3–8
bin2flash Command-Line Example ......................................................3–9
Appendix A. Non-Standard Flash Memories
Built-in Recognition and Override ........................................................ A–1
Flash Override Files .................................................................... A–1
Flash Override File Format ............................................................ A–1
How to Use the Flash Override File ..................................................... A–2
Width Mode Override Parameter ......................................................... A–2
Appendix B. Supported Flash Memory Devices
Appendix C. Stand-Alone Mode
Installing the Nios II Stand-Alone Flash Programmer ....................................... C–1
Running the Nios II Stand-Alone Flash Programmer ........................................ C–1
Appendix D. Troubleshooting
Overview ............................................................................. D–1
Start Button Grayed Out in the Flash Programmer GUI ...................................... D–1
Probable Cause ...................................................................... D–1
Suggested Actions ................................................................... D–1
"No Nios II processors available" Error .................................................... D–1
Probable Cause ...................................................................... D–1
Suggested Actions ................................................................... D–1