We have Custom HW where maximum of the design is leveraged from Max-10 Dev Kit Rev C.
Here we are using the System-Console - USB Direct interface as a Master to Transfer a file or readback to file from HOST system to Target SPI flash (Generic Quad SPI flash controller) using a customizable_programmer.tcl script
After many successful runs, suddenly we see a error on System Console
"master_read_to_file: java.lang.Exception: The read response is malformed, expected 16384 bytes but got 16385 bytes"
Hi, just want to understand the scenario. You mentioned that after several successful run. Does it mean that the script works previously but not now? If it so, any changes made on the script?
Yes, we see that master_write_from_file throws up this error say after 100's of successful transfers and no changes were made to script
we are using "Quartus 18.1 Standard Edition Build 625"
Thanks for the clarification. Usually this issue is due to hardware connection or the device readiness to receive command from system console. Can you try to add some delay or read status register after each command?