Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFWIW, I am having this same problem using 10.1. This is the command I'm using:
sof2flash --pfl --input=in.sof --output=out.flash --offset=0xC20000 --optionbit=0x18000 --programmingmode=PS or sof2flash --pfl --input=in.sof --output=out.flash --offset=0xC20000 --optionbit=0x18000 --programmingmode=FPP They both fail with this: java.lang.NullPointerException at com.altera.utilities.Launcher.read(Launcher.java:307) at com.altera.utilities.Launcher.read(Launcher.java:362) at com.altera.sof2flash.PFLFlashGenerator.convertHexToSREC(PFLFlashGenerator.java:239) at com.altera.sof2flash.PFLFlashGenerator.pflgen(PFLFlashGenerator.java:37) at com.altera.sof2flash.Sof2flash.<init>(Sof2flash.java:122) at com.altera.sof2flash.Sof2flash.main(Sof2flash.java:77) It's amazing to me that they have a devkit that is so difficult (if not impossible) to put your own design on. My experiences with Xilinx have been much better.