Hi, 
 
I am facing an issue with a request of USB bulk transfer from a linux host to 
DaVinci DM6467 EVM. I used USB_to_PCI_loop_test.c as a base and tried to modify 
for sending a bulk transfer write request. I get an error status from following 
snippet of code:
 
bulk_transfer.ep = 2;
bulk_transfer.len = sizeof(USB_TEST_DATA);
bulk_transfer.timeout = 10;
bulk_transfer.data = &USB_TEST_DATA;
status = usbdev_ioctl (fd, dev->ifnum, USBDEVFS_BULK, &bulk_transfer);
printf("Bulk status 0x%x\n",status); ----> I get 0xfffffff and DaVinci EVM does 
not get any data.
 
Is there any example code for implementing USB bulk transfer from a linux host to DaVinci ?
 I have searched the web but could not find anything.This is a very simple 
thing to perform data transfer so my understanding is there must be something 
available to perform this. The test code uses test ioctl number which are not 
very useful when sending actual data.
 
Thanks,
Neeraj
 
 
 
 


      
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to