Forum Discussion
Altera_Forum
Honored Contributor
21 years agoBooting from EPC4
Hi all, Can I ask - is there a simple way to generate the programming file necessary to write to my EPC4 device? Basically I want the solution that gives me a programming file consisting of f...
Altera_Forum
Honored Contributor
21 years agoWhen 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'