Forum Discussion
Altera_Forum
Honored Contributor
21 years agoFischer,
I dont't believe that the message .... <div class='quotetop'>QUOTE </div> --- Quote Start --- "There is a problem with the target board. Check the target board selection in SOPC Builder for this system" [/b] --- Quote End --- really describes the problem. I guess there is a problem with the java runtime. When I get this message, I close flash programmer, start quartus, start sopc builder and start flash programmer again and there is no error message. As long as the SOPC builder remains open, I can use flash programmer! In the past, there was a problem with javaw.exe which is used by NIOS IDE as well as SOPC builder and leaded sometimes to a hanging system. This is obviously solved. I removed an additional java runtime installation I had, but without any success. --- Quote Start --- originally posted by fischer@Jan 15 2005, 06:43 PM .... because the script generated by the ide is wrong. --- Quote End --- My design is named: 'ComMan', my Custom board is 'CM_Board' and my only flash is a EPCS4. My generated Flash programmer script consists of four commands:# Creating .flash file for the FPGA configuration
$QUARTUS_ROOTDIR/NIOS_11/bin/sof2flash --flash=U4 --offset=0x00000000 --epcs --input=D:/Projects/CMNios/FPGA/ACT/ComMan.sof --output=ComMan.flash
# Programming flash with the FPGA configuration
$QUARTUS_ROOTDIR/NIOS_11/bin/nios2-flash-programmer --input=ComMan.flash -- sof=D:/Projects/CMNios/FPGA/ACT/CM_Board/system/CM_Board.sof --cable='ByteBlasterII ' --epcs
# Creating .flash file for the project
$QUARTUS_ROOTDIR/NIOS_11/bin/elf2flash --flash=U4 --epcs --base=0x0 --end=0x7fffffff --input=CM_Boot.elf --output=epcs_controller.flash --boot=$QUARTUS_ROOTDIR/NIOS_11/components/altera_nios2/boot_loader_epcs.srec
# Programming flash with the project
$QUARTUS_ROOTDIR/NIOS_11/bin/nios2-flash-programmer --input=epcs_controller.flash --sof=__NO_SOF_PLEASE__ --cable='ByteBlasterII ' --epcs But these commands are processed after flash programmer has established a connection to the target board and this script works (even with __NO_SOF_PLEASE as my target design is already programmed with the socond command (it is included in ComMan.flash) ). Perhaps it helps if you compare these with your script. If your design name doesn't match delete all *.launch files from "NIOSDIR\bin\eclipse\workspace\.metadata\.plugins\org.eclipse.debug.core\" and create a new Flash Programmer Configuration. The custom board design will be automatically found, if placed in your final design directory. (b.t.w. All (!) custom boards placed there, will be found and processed perhaps) If I'll figure out anything concerning this issue I'll post it here. Mike