Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi
An update. This is what the flash programmer says when I run it in terminal mode. Looks like nada is getting written. Tryed measuring the /CS on the Flash. I see a couple of /CS on my scope right at the beginning, but then nothing happens(waiting for timeout an err from the flash programmer) Any ideas anyone???$ nios2-flash-programmer --base=0x0 --input=MX_ATA_REV2.flash --s
of=MX_ATA_REV2.sof --verbose --debug
May 30, 2005 2:13:37 PM - (FINE) nios2-flash-programmer: nios2-flash-programmer
starting
May 30, 2005 2:13:37 PM - (INFO) nios2-flash-programmer: args = --base=0x0 --inp
ut=MX_ATA_REV2.flash --sof=MX_ATA_REV2.sof --verbose --debug
May 30, 2005 2:13:37 PM - (INFO) nios2-flash-programmer: Attempting to read inpu
t-data from MX_ATA_REV2.flash
May 30, 2005 2:13:38 PM - (INFO) nios2-flash-programmer: Launching Quartus Progr
ammer to download:
MX_ATA_REV2.sof
May 30, 2005 2:13:39 PM - (FINE) nios2-flash-programmer: Quartus Pgm launched
Info: *******************************************************************
Info: Running Quartus II Programmer
Info: Command: quartus_pgm --no_banner --mode=jtag --operation=p;MX_ATA_REV2.sof
Info: Using programming cable "USB-Blaster "
Info: Started Programmer operation at Mon May 30 14:13:42 2005
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020830DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Mon May 30 14:13:43 2005
Info: Quartus II Programmer was successful. 0 errors, 0 warnings
Info: Processing ended: Mon May 30 14:13:43 2005
Info: Elapsed time: 00:00:04
May 30, 2005 2:13:43 PM - (FINE) nios2-flash-programmer: SOF programming done. e
xit code = 0x0000
Send (64) failed.
Unable to synchronize with target.
May 30, 2005 2:14:35 PM - (SEVERE) nios2-flash-programmer: Error opening target
hardware
May 30, 2005 2:14:35 PM - (SEVERE) nios2-flash-programmer:
In order to program flash, you must first create a purpose-built
flash-programming design (i.e. FPGA configuration) and associate it with
your particular board. The Nios development kit is delivered with purpose-bui
lt
flash-programming designs pre-built for several development boards. If you wi
sh
to program flash on your own board, you must first create a flash-programming
design.
The process of creating a flash-programming design for your board is mostly
automated. From a bash-shell, execute this script:
mk_target_board --help
The help-message includes references to other documentation on programming
flash and targeting Nios systems to custom board designs.
- exiting.
/cygdrive/c/altera/kits/nios2/examples/mx_ata_rev2/system/software/memtest_ECT_R
EV2/Debug
$ Regards Michael E