Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNew version of NiosII Flash Programmer
Hello, I'm reading the manual for the Nios II Flash Programmer User Guide, but it appears to not cover my software? On page 18, figure 1-3 shows options for "Program flash memory with softwa...
Altera_Forum
Honored Contributor
21 years ago[SOPC Builder]$ ls *.sof
dev_kit_board_test.sof* /cygdrive/f/projects/devkit/full_featured/dev_kit_board_test/system [SOPC Builder]$ nios2-flash-programmer --epcs --erase --sof=dev_kit_board_test. sof 01-Feb-2005 14:27:01 - (INFO) nios2-flash-programmer: Launching Quartus Programm er to download: dev_kit_board_test.sof Unrecognized EPCS device ID: -1 01-Feb-2005 14:27:17 - (SEVERE) nios2-flash-programmer: Error opening target har dware 01-Feb-2005 14:27:17 - (SEVERE) 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-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/f/projects/devkit/full_featured/dev_kit_board_test/system [SOPC Builder]$