libftdi Archives

Subject: ftdi_usb_close() error

From: Mikael Krus <mk@xxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 07 Oct 2010 17:41:04 +0200

I have a FT2232H chip where I intend to use interface_B in MPSSE mode.
If I use ftdi_set_interface() specifying INTERFACE_B, later on when closing the device I always get an error (-1) but with error string set to: all fine.

This only happens with INTERFACE_B not INTERFACE_A.

Why does this happen?
Am I misunderstanding something?

I'll try to attach my piece of code.


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: debug.c
Description: Text document

Current Thread