Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15563 Discussions

System_Console.exe - [USB MASTER] master_read_to_file: java.lang.Exception:

rtalluri
Employee
225 Views

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"

 

rtalluri_0-1633766081715.png

 

Please help! 

0 Kudos
3 Replies
YuanLi_S_Intel
Employee
192 Views

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?


rtalluri
Employee
186 Views

Hi, 

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"

YuanLi_S_Intel
Employee
168 Views

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?


Reply