I am trying to port the NIOS2 flash programmer to a new development board, but have the following problems:1-if i add EPCS serial flash controller to the SOPC builder, it generates an error, " chip designator not right" and exits with error. with the "mk-target-board" utilty i have however entered a chip designator ("U2")???? If i put the ASMI ctrl in instead of the EPCS controller i can generate a new custom board.!!!!! Also if i run the EPCS serial ctrl wizard i cannot edit the chip designator , it keeps the one i entered with the "mk_target_board" utilty.
2- Once i have generated the new custom board and i compile my project (SOPC builder set to the new custom board) i can generate the project witout problems. When i setup the flash programmer in the "NIOS2 IDE" everything goes smooth, but when i start programming the onboard flash, i get the following error message : make: *** No rule to make target `programflash'. Stop.????
Can somebody help me out.