Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16602 Discussions

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

rtalluri
Employee
551 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
518 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?


0 Kudos
rtalluri
Employee
512 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"

0 Kudos
YuanLi_S_Intel
Employee
494 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?


0 Kudos
Reply