EasyManua.ls Logo

Altera Nios - Reprogramming the Flash Memory

Altera Nios
50 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
44 Altera Corporation
Restore the Factory Configuration Nios Development Board Reference Manual, Cyclone Edition
Reprogramming
the Flash
Memory
You can now use the Nios processor in the Cyclone device and the
GERMS monitor to reprogram the flash memory by performing the
following steps:
1. Connect the Console RS-232 serial connector to the host computer
using a serial cable.
2. Open a Nios SDK Shell by choosing Programs > Altera > Nios
Development Kit <installed version> Nios SDK Shell (Start menu).
The default flash image file is located in the Nios SDK Shell default
directory.
3. To download the flash file to the GERMS monitor executing on the
board, type:
nios-run -x -r -p com1 default_board_image_cyclone_1c20.flash
This command assumes the you connected the serial cable to COM1
on your host computer. If you are using a different COM port,
change the com1 argument appropriately.
4. It will take 10 to 20 minutes to download the entire flash image. Do
not reset the board during this time. When the download is
complete, the Nios SDK Shell will return to a bash prompt.
5. Push the Force Safe button to perform a power-on reset and
reconfigure the Cyclone device from flash memory. You should see
the Safe LED turned on and activity on LEDs D0 — D7.
Your board is now re-configured to the default factory condition.

Related product manuals