Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

"upload" error

my board is stratix II ep2s60.nios2is v5.1.linux is v1.4. After I build the kernel,I choose the "upload" to download the kernel to the board.the error appears.

such information appears:

------------------------------------------------

Microtronix Linux Extensions

Version 1.4, Built June 20, 2005

------------------------------------------------

(note: only Altera-provided flash components will

work, since install.ptf was not found. This will

probably be fine for you.)

The flash programmer has been updated. Please see the

documentation for instructions on how to update your command line.

The flash programmer has been updated. Please see the

documentation for instructions on how to update your command line.

usage: nios2-flash-programmer [-h/--help] [-c/--cable <cable name>]

[-d/--device <device index>] [-i/--instance <instance>]

[-s/--sidp <address>] [-I/--id <id>] [-t/--timestamp <timestamp>]

-b/--base <address> [-e/--epcs]

<action> [-g/--go]

actions can be either:

[--erase-all | --erase <bytes>] [--no-keep-nearby] [--verify] <file>*

--read <filename> [--read-bytes <start>+<size>]

-h/--help Print this message

-Q/--quiet Don&#39;t print anything if everything works

--debug Print debug information

-c/--cable <cable name> Specifies which JTAG cable to use (not needed if

you only have one cable)

-d/--device <device index> Specifies in which device you want to look for the

Nios II debug core (1 = device nearest TDI etc.)

-i/--instance <instance> Specifies the INSTANCE value of the debug core

(not needed if there is exactly one on the chain)

-s/--sidp <address> Base-address of System ID peripheral on target

-I/--id <system-id-value> Unique ID code for target system

-t/--timestamp <time-stamp> Timestamp for target-system (when last generated)

--accept-bad-sysid Continue even if the system ID comparison fails

-b/--base <address> Base address of FLASH/EPCS to operate on

-e/--epcs This operation is on an EPCS flash

-E/--erase <start>+<size> Erase a range of bytes in the flash, or the entire

--erase-all flash before/instead of programming it.

-P/--program Program flash from the input files (the default)

--no-keep-nearby Don&#39;t preserve bytes which need to be erased but

which aren&#39;t specified in the input file

-Y/--verify Verify that contents of flash match input files

<filename>* The names of the file(s) to program or verify

-R/--read <file> Read flash contents into file

-B/--read-bytes <start>+<size> Specify which bytes to read

-g/--go Run processor from reset vector after program.

Input files should be in Motorola S-Record format. Addresses within the files

are interpreted as offsets from the base address of the flash. Output files

written by the tool are in the same format.

The flash programmer supports all CFI flashes which use the AMD programming

algorithm (CFI algorithm 2) or the Intel algorithm (1 or 3).

what&#39;s the problem?who can help me?is there something wrong with flash configuration?I&#39;m really confused.How can I do?Please help me.Thanks.
No RepliesBe the first to reply