How do i restore the factory image, How do i re-build the factory image – Altera Nios II Embedded Evaluation Kit Cyclone III Edition User Manual

Page 75

Advertising
background image

D–5

Development Board Version 1.0.

Altera Corporation

Nios II Embedded Evaluation Kit, Cyclone III Edition

July 2010

If you would like to open these Nios II Software Build flow projects to the
Nios II IDE for debugging purposes, then you will import the app and
bsp projects into the Nios II IDE.

For step by step instructions on importing a Nios II Software Build flow
project in to the Nios II IDE, refer to the software tutorial “My First Nios II
Software Application
” in the documents/tutorials/software_tutorials
folder of the Nios II Embedded Evaluation kit directory.

How do I restore the factory image?

To restore the factory image, perform the following steps:

1.

Using the Quartus II Programmer, configure the FPGA with the SOF
file:

altera/<version #>/kits/cycloneIII_3c25_niosII/

examples/application_selector/cycloneIII_embedded_

evaluation_kit_applicatoin_selector.sof

2.

Open a Nios II Command Shell and change to the directory:

altera/<version #>/kits/

cycloneIII_3c25_niosII/factory_recovery/flash_cont

ents

3.

In the Nios II Command Shell, program the factory image into flash
with the command:

nios2-flash-programmer

base=0x04000000

restore_cycloneIII_3c25.flash

1

If you get the error message: No CFI table found at address
<address> Leaving target processor paused

Check that either the address is correct (hex four million - i.e. 6
zeroes after the 4) or that you have two "-" characters before
"base".

4.

You should now be able to reset the board to start the Application
Selector.

How do I re-build the factory image?

To re-build the factory image refer to

Appendix C, Restoring the Factory

Image

.

Advertising