2012/2/17 Yunong Pang <029...@gmail.com>:
> Hi all,
>
> I'm writing some code to get data from camera module ov7670.
>
> I can see the data has been output from the module, as the waveform has
> changed when putting different image before the camera. And the EP6, which
> is set to be AUTOIN , is full. I have set
>
>             PINFLAGSAB = 0xE6;             // FLAGA - fixed EP6PF-EP6 Enable
> flag, FLAGB - fixed EP6 Full Flag
>
> And the flag B is always 1, but I can not read EP6 by
>
>            import usb.core
>            import sys
>            dev = usb.core.find(idVendor=0x0547, idProduct=0x1002)
>            dev.set_configuration()
>            ret = dev.read(0x86, 1024, 0, 100)
>
> The error is 'usb.core.USBError: Operation timed out'
>
> What can I do now? Thanks for your help!

What OS are you using? Please, define the environment variable
PYUSB_DEBUG_LEVEL=debug and submit the output..

--
Best Regards,
Wander Lairson Costa


-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to