libftdi Archives

Subject: RE: ftdi_read_data return 0xff

From: "Michael Plante" <michael.plante@xxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Feb 2011 20:12:53 -0500
Michael Plante wrote:
>> These do not appear to be MPSSE commands.  Have you looked at AN108?  I
am admittedly
>> looking at a year-old version.  Also, if you're sure your commands are
right, you might
>> try printing some of your variables to the console and telling us the
output, particularly
>> for numBytesToRead and numBytesRead.  I suspect you are not setting
numBytesToRead correctly, by the way.

Sorry, disregard the part about not being valid commands; I was looking at
the wrong section.  But I still think you're choosing the numBytesToRead
incorrectly.

Michael


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread