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 agoThanks for your help!
here are the details (also in http://www.niosforum.com/forum/index.php?a...=st&f=17&t=1033 (http://www.niosforum.com/forum/index.php?act=st&f=17&t=1033) ) When I try to program an EPCS device using the Nios II Flash Programmer and my own custom Cyclone board, I get the error: make: *** [epcs_controller_boot_rom_programflash] Error 5 or in more detail..... make: Entering directory `/cygdrive/f/projects/emshw/full_featured/software/ems_boot/Release' 28-Jan-2005 14:40:30 - (INFO) nios2-flash-programmer: Launching Quartus Programmer to download: f:/projects/emshw/full_featured/target_board/system/target_board.sof Send (64) failed. Unable to synchronize with target. 28-Jan-2005 14:41:18 - (SEVERE) nios2-flash-programmer: Error opening target hardware 28-Jan-2005 14:41:18 - (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-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. Then this windows message-box pops up.... --------------------------------------------------------------------------------------------------- java.exe - Application Error The instruction at "0x032c2140" referenced memory at "0x033e2390". The memory could not be "read". Click on OK to terminate the program --------------------------------------------------------------------------------------------------- Then I click OK and the Console output continues with... - exiting. make: *** [epcs_controller_boot_rom_programflash] Error 5 make: Leaving directory `/cygdrive/f/projects/emshw/full_featured/software/ems_boot/Release'