Altera_Forum
Honored Contributor
21 years agoa problem about flash programmer
hi, all
I am testing my board! my sram work well, I am testing my flash, I am using sst39vf1601-70! But when I use flash programmer to writing my flash ,nios console display: make: Entering directory `/cygdrive/c/altera/quartus41/project/sram/software/hello_led_3/Debug' nios2-flash-programmer --input=cfi_flash_0.flash --sof=`C:/altera/quartus41/sopc_builder/bin/find_sopc_component_dir my_target_board`/system/my_target_board.sof --device=1 "--cable='ByteBlasterII [LPT1]'" --base=0x00200000 Jul 12, 2005 6:09:21 PM - (??) nios2-flash-programmer: Launching Quartus Programmer to download: c:/altera/quartus41/project/my_target_board/system/my_target_board.sof Jul 12, 2005 6:09:29 PM - (??) nios2-flash-programmer: Error opening target hardware Jul 12, 2005 6:09:29 PM - (??) nios2-flash-programmer: Unable to open flash-device after successfully communicating with target. It is likely that you are using a flash-programming FPGA design which was not created for your target board. 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. WARNING: Default charset GBK not supported, using ISO-8859-1 instead make: *** [cfi_flash_0_programflash] Error 6 make: Leaving directory `/cygdrive/c/altera/quartus41/project/sram/software/hello_led_3/Debug' but I have make target_board named my_target_board! why the flash cannot be open??