Hi all,
Thanks for taking the time to help with this issue.
In a chunk of code that I’m running I use ReadFromPipeOut. As far as I can tell, there’s nothing wrong with how it’s written.
if bytes_left > 0:
buffer_small = bytearray("\xAA"*bytes_left)
error_code = self.dev.ReadFromPipeOut(self.PIPE_ADDRESS_DDR2_LOGGER, buffer_small)
if error_code != len(buffer_small):
print 'Error: did not receive the expected number of bytes, error code: {}'.format(error_code)
When I call the function that contains this code, however, I get the following output:
Error: did not receive the expected number of bytes, error code: -15
After some digging I found that error code to mean UnsupportedFeature. Can anyone think of any reason I’m getting this error? Perhaps a previous set-up command that I’m not aware of is not being executed properly?
EDIT: I forgot to mention, PIPE_ADDRESS_DDR2_LOGGER has a value of 0xA1.
Thank you for your assistance,
Charles Parker