Altera_Forum
Honored Contributor
20 years agonios2-flash-programmer and Version 4.2
Hello
I have troubles flashing a file with nios2-flash-programmer. The installed versions are: - Quartus Version 4.2 with service pack 1 installed - Altera SOPC Builder 4.2 Build 178 I have developed a Nios-Board myself. All the things seems to work. I work with legacy mode. Unfortunately I have flashed a programm with GERMS. After each power up or reset the program runs. I can't interrupt it or download a new one with debugger or GERMS. I tried to flash another programm with nios2-flash-programmer but can't do it. I did make the steps like shown in ug_nios2_flash_programer.pdf. I'm running out of ideas... --Begin Printed Messages from Shell-- 31.01.2006 07:47:05 com.altera.commandApplication.CmdApp fine FEIN: nios2-flash-programmer: nios2-flash-programmer starting 31.01.2006 07:47:06 com.altera.commandApplication.CmdApp info INFO: nios2-flash-programmer: args = --log=Aufzeichung.txt --verbose --base=0x0 --erase --cable=usb-blaster --sof=D:/Projekte/Altera/Quartus_II/FPGA_Nios/FPGA_Nios_Board/system/FPGA_Nios_Board.sof 31.01.2006 07:47:06 com.altera.commandApplication.CmdApp info INFO: nios2-flash-programmer: Launching Quartus Programmer to download: D:/Projekte/Altera/Quartus_II/FPGA_Nios/FPGA_Nios_Board/system/FPGA_Nios_Board.sof 31.01.2006 07:47:06 com.altera.commandApplication.CmdApp fine FEIN: nios2-flash-programmer: Quartus Pgm launched 31.01.2006 07:47:08 com.altera.commandApplication.CmdApp fine FEIN: nios2-flash-programmer: SOF programming done. exit code = 0x0000 31.01.2006 07:47:11 com.altera.commandApplication.CmdApp severe SCHWERWIEGEND: nios2-flash-programmer: Error opening target hardware 31.01.2006 07:47:11 com.altera.commandApplication.CmdApp severe SCHWERWIEGEND: 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. --End Printed Messages from Shell-- Best regards Minu