Re: [Ftdi-usb-sio-devel] cannot open port after improper closing
Brought to you by:
bryder
From: David D. <dav...@ll...> - 2009-02-13 08:35:44
|
Hello, Something similar sometimes happens to us. My understanding is that the ftdi output buffer (slave device's side) is full and keeps on being filled by the HCI or linux usb layers (?), but the slave device doesn't eat that data. On our design, resetting the slave device does the trick (it will eat some data at startup, so generally we have to reset it several times so that it drains completely the linux/hci buffered data via the ftdi). I don't know if there is any means to cleanly drain all the buffers (provided my understanding was right) in software. Any hint would be welcome. I might be wrong in my explanation. Please don't hesitate to correct me. Hope this helps anyway, |