espressif / esp-usb

Other
25 stars 11 forks source link

libusb adapter failed to allocate transfer with length: 16384 (IEC-8) (IEC-144) #51

Open dmitrij9992905 opened 1 year ago

dmitrij9992905 commented 1 year ago

Hello everyone!

I use ESP32S3 and Lenovo camera. PSRAM 8MB, usage is ON. I still cannot get an image in any format, only broken files. Camera has been detected, I can get camera info, but I cannot get image from camera because I see the following errors

E (6343) libusb adapter: Failed to allocate transfer with length: 16384
Streaming...
Enabling auto exposure ...
E (6343) USBH: Dev 1 EP 0 STALL
E (6353) Transfer failed: Status 4
tore-espressif commented 1 month ago

I'm really sorry that this issues is unanswered for so long. ATM, we are working on our custom UVC driver, because there were too many limitations in the original driver based on libuvc.

In this case, the issue is that the USB transfer must be allocated in DMA capable memory, that is, the internal RAM. This limitation will be resolved in the new UVC driver