How could the 'Serial write time out' happen

Nov 17, 2006 4 Replies

First reply

ZHI

Actually i don't have much experinece on fpga design. But in my case, i need send many different Matrix and vectors into FPGA borad, which has been implemented my algorithm many times. That is, everything is same but the data writing into the board. I set the number of trials…

Read the full reply

I implemented an algorithm into fpga board. I wrote the Matrix data to FPGA board from Matlab and the result came back. I was using a loop to execute the operation many times. It can operate normally for some times, but in the end it stopped with the error in the line : fwrite(sx,datafile,'int8'); and the error messege showed : serial.fwrite A timeout occurred during the write operation. How could it happen? How could it execute some trials but happen time out error at some time?



Are you using handshaking for flow control?

Maybe it timed-out because the receiver would not accept any more data.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required