Altera_Forum
Honored Contributor
20 years agoproblems with programing flash
hi, I have an altera cyclone evalution board (1c12) and I want to program the flash but i fail....
<div class='quotetop'>QUOTE </div> --- Quote Start --- [SOPC Builder]$ nios2-flash-programmer --base=0x00000000 standard.flash --sof=/cygdrive/c/altera/kits/nios2/examples/ve rilog/niosII_cyclone_1c12_eval/standard/standard_eval_board.sof --verbose 1 juin 2006 16:24:24 - (FIN) nios2-flash-programmer: nios2-flash-programmer starting 1 juin 2006 16:24:24 - (INFO) nios2-flash-programmer: args = --base=0x00000000 standard.flash --sof=c:/altera/kits/nios2 /examples/verilog/niosII_cyclone_1c12_eval/standard/standard_eval_board.sof --verbose 1 juin 2006 16:24:24 - (INFO) nios2-flash-programmer: Attempting to read input-data from standard.flash 1 juin 2006 16:24:25 - (INFO) nios2-flash-programmer: Launching Quartus Programmer to download: c:/altera/kits/nios2/examples/verilog/niosII_cyclone_1c12_eval/standard/standard_eval_board.sof 1 juin 2006 16:24:25 - (FIN) nios2-flash-programmer: Quartus Pgm launched Info: ******************************************************************* Info: Running Quartus II Programmer Info: Command: quartus_pgm --no_banner --mode=jtag --operation=p;c:/altera/kits/nios2/examples/verilog/niosII_cyclone_1c 12_eval/standard/standard_eval_board.sof Info: Using programming cable "Nios II Evaluation Board [USB-0]" Info: Started Programmer operation at Thu Jun 01 16:24:26 2006 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 Thu Jun 01 16:24:26 2006 Info: Quartus II Programmer was successful. 0 errors, 0 warnings Info: Processing ended: Thu Jun 01 16:24:26 2006 Info: Elapsed time: 00:00:01 1 juin 2006 16:24:26 - (FIN) nios2-flash-programmer: SOF programming done. exit code = 0x0000 Connecting with target design Attempting to resynch with target Unable to synchronize with target. 1 juin 2006 16:24:28 - (GRAVE) nios2-flash-programmer: Error opening target hardware 1 juin 2006 16:24:28 - (GRAVE) 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-built flash-programming designs pre-built for several development boards. If you wish 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.[/b] --- Quote End --- What could I do ? Has someone got the same problem ?