flash_programmer - Nios II Flash Programmer User Guide...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Preliminary Information 101 Innovation Drive San Jose, CA 95134 http://www.altera.com Nios II Flash Programmer User Guide
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright © 2007 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device des- ignations, and all other words and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera Corporation in the U.S. and other countries. All other product or service names are the property of their respective holders. Al- tera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the ap- plication or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published in- formation and before placing orders for products or services . ii Altera Corporation Preliminary UG-NIOSIIFLSHPROG-1.5
Image of page 2
Altera Corporation iii Contents Chapter 1. Overview of the Nios II Flash Programmer Introduction ............................................................................................................................................ 1–1 Prerequisites ...................................................................................................................................... 1–2 How the Flash Programmer Works .................................................................................................... 1–2 IDE and Command-Line Modes ......................................................................................................... 1–3 Flash Programmer Target Design ....................................................................................................... 1–3 Minimum Component Set ............................................................................................................... 1–4 Chapter 2. Using the Flash Programmer in IDE Mode The Flash Programmer Dialog Box ..................................................................................................... 2–1 Chapter 3. Using the Flash Programmer in Command-Line Mode nios2-flash-programmer ....................................................................................................................... 3–2 nios2-flash-programmer Command-Line Examples .................................................................. 3–5 sof2flash .................................................................................................................................................. 3–6 sof2flash Command-Line Examples .............................................................................................. 3–6 elf2flash ................................................................................................................................................... 3–6 Programming Both Hardware and Software into an EPCS Device .......................................... 3–8 elf2flash Command-Line Examples ............................................................................................... 3–9 bin2flash .................................................................................................................................................. 3–9 bin2flash Command-Line Example ............................................................................................. 3–10 Chapter A. Non-Standard Flash Memories Built-in Recognition and Override ..................................................................................................... A–1 Flash Override Files .............................................................................................................................. A–1 Flash Override File Format ............................................................................................................ A–2 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–2 Appendix D. Troubleshooting Overview ................................................................................................................................................ D–1 Program Flash Button Grayed Out in the IDE ................................................................................. D–1 Probable Cause ................................................................................................................................ D–1 Suggested Actions ........................................................................................................................... D–1
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
iv Altera Corporation Nios II Flash Programmer User Guide Contents "No Nios II processors available" Error ............................................................................................. D–1 Probable Cause ................................................................................................................................ D–1 Suggested Actions ........................................................................................................................... D–1 "No CFI table found" Error .................................................................................................................. D–2 Probable Cause ................................................................................................................................ D–2 Suggested Actions ........................................................................................................................... D–2 "No EPCS registers found" Error ........................................................................................................ D–2 Probable Cause ................................................................................................................................ D–2 Suggested Actions ........................................................................................................................... D–2 "System does not have any flash memory" Error ............................................................................ D–3 Probable Cause ................................................................................................................................ D–3 Suggested Actions ........................................................................................................................... D–3
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern