Re: [pyusb-users] PyUSB Error

2015-11-09 Thread Xiaofan Chen
On Mon, Nov 9, 2015 at 8:05 PM, Jordi M wrote: > Hi all, > > I'm trying to connect an ST Micrielectronics board that runs ChiBios OS > to a PC either running Ubunto or windows using PyUsb (I have the same > problem in both Os) > > The problem is that it works well the first time but when I re-exec

Re: [Pyusb-users] pyUSB error

2008-05-23 Thread Wander Lairson
Hi, By "NAKed" and "ACKed" endpoints I mean states of the endpoints. This generally is represented by some control register bit flags for each endpoint. Please, refer to the datasheet of your microcontroller. If it's not take time more, maybe the endpoint is stalled too. Wander 2008/5/22 Gabriel

Re: [Pyusb-users] pyUSB error

2008-05-22 Thread Gabriel
Hi: I don't find information about of NAKed and ACKed enpoint. The function don't take more time to return ¿How should be the endpoint? I goinig to make a new firmware with C but basic is mos "basic"... Thank a lot... PD: Please give my information about the endpoints... -- Gabriel -

Re: [Pyusb-users] pyUSB error

2008-05-09 Thread Wander Lairson
No problem. Well, seems that o endpoint is "NAKed", try a longer timeout and see if it function takes more time to return. If so, review your firmware code to discover if the endpoint is "ACKed" in the enumeration process... 2008/5/9 Gabriel <[EMAIL PROTECTED]>: > I'm sorry. I didn't see the field

Re: [Pyusb-users] pyUSB error

2008-05-09 Thread Gabriel
I'm sorry. I didn't see the field "to" of my e-mail... I'm making a development with a PIC 18f2455... It has embedded usb. The PIC's firmware is a loop that read all time and put the sent value into PORT B. The developers of the firmware maked the firmware in basic and they maked a program in basic

Re: [Pyusb-users] pyUSB error

2008-05-09 Thread Wander Lairson
See if a driver is not loaded when you plug your device. And please, answer to the list. Wander 2008/5/9, Gabriel <[EMAIL PROTECTED]>: > The complete error is > > Traceback (most recent call last): > File "com_usb.py", line 18, in > handle.setConfiguration(1) > usb.USBError: could not set

Re: [Pyusb-users] pyUSB error

2008-05-08 Thread Wander Lairson
Try it: if dev == None: print 'ProtoTermociclador device not found' else: handle = dev.open() handle.setConfiguration(1) handle.claimInterface(0) handle.interruptWrite(0x01,'\x00') 2008/5/7, Gabriel <[EMAIL PROTECTED]>: > Hi all: > I have this problem with pyusb: > I wro