Altera_Forum
Honored Contributor
12 years agoStratix IV - Flashing tools
Hi,
I am currently trying to configure the FPGA from the flash and the manuals are not very clear to say the least. I am using Quartus 12.0 tool chain on a linux platform. I tried following the Getting started with DE4 Board tutorial on programming CFI Flash. While running the sof2flash utility, I am running across this problem. Extracting Option bits SREC com.altera.memory.RWMemoryException: Malformed memory record found. at com.altera.memory.SrecordMemory.read(SrecordMemory.java:98) at com.altera.memory.SrecordMemory.read(SrecordMemory.java:59) at com.altera.sof2flash.PFLFlashGenerator.extractSREC(PFLFlashGenerator.java:255) at com.altera.sof2flash.PFLFlashGenerator.pflgen(PFLFlashGenerator.java:42) at com.altera.sof2flash.Sof2flash.<init>(Sof2flash.java:122) at com.altera.sof2flash.Sof2flash.main(Sof2flash.java:77) Extracting FPGA Image SREC com.altera.memory.RWMemoryException: Malformed memory record found. at com.altera.memory.SrecordMemory.read(SrecordMemory.java:98) at com.altera.memory.SrecordMemory.read(SrecordMemory.java:59) at com.altera.sof2flash.PFLFlashGenerator.extractSREC(PFLFlashGenerator.java:271) at com.altera.sof2flash.PFLFlashGenerator.pflgen(PFLFlashGenerator.java:42) at com.altera.sof2flash.Sof2flash.<init>(Sof2flash.java:122) at com.altera.sof2flash.Sof2flash.main(Sof2flash.java:77) Although a flash file has been generated, I wouldnt know if its trust worthy. Any suggestions?