nfcpy and Arygon APPBUS USB error
Hi
I’m trying to use nfcpy with an Arygon APPBUS card with NXP PN532 but I get an USB error.
I just create an instance of class ”device” in the test program:
import usb
import pn53x
print (" - myDevice - ")
myDevice = pn53x.device()
The result when running the test program:
- myDevice -
Traceback (most recent call last):
File "C:\ ....MyPythonTes
myDevice = pn53x.device()
File "C:\ ....MyPythonTes
self.
File "C:\ ....MyPythonTes
return self.usb_
File "C:\ ....MyPythonTes
self.
usb.USBError: libusb0-dll:err [_usb_setup_async] invalid endpoint 0x81
The APPBUS has the CP2102 USB chip and Win 7 loads the “CP2102 USB to UART Bridge Controller” (Cygnal Integrated Products, Inc). Have tested with Silab with same result. The device (VCP Virtual Com Port) shows up as “libnfc-
Python installed is 2.6.6 and the pyusb-0.
The python-app usbenum.py (Enumerate usb devices) by Wander Lairson Costa shows following info:
Device: \\.\libusb0-
Device class: 0
Device sub class: 0
Device protocol: 0
Max packet size: 64
idVendor: 4292 (0x10c4)
idProduct: 60000 (0xea60)
Device Version: 01.00
Configuration: 1
Total length: 32
selfPowered: 0
remoteWakeup: 0
maxPower: 200
Interface: 0
Alternate Setting: 0
Interface class: 255
Interface sub class: 0
Interface protocol: 0
Endpoint: 0x81L
Type: 2
Max packet size: 64
Interval: 0
Endpoint: 0x1L
Type: 2
Max packet size: 64
Interval: 0
Anybody have some ideas what’s wrong? How can I test if the APPBUS is connected and what’s happening?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Olle Marner for more information if necessary.