Dear experts,
I want to implement PTP (Picture Transfer Protocol) for USB interfacing of my DM355 leopard board. I want to transfer Images over USB, where my board is a gadget and the Windows PC will be host. I have found one sample code for PTP on the following link
This creates an application for PTP which implements USB gadgetfs for communication. I have been able to compile this application successfully. I followed the following procedure on my board.
(1) insmod gadgetfs.ko
(2) mkdir /dev/gadget
(3) mount -t gadgetfs gadgetfs /dev/gadget
(4) ./ptp
I didn't get any problem till step 3. When i executed the application in step 4, it said file cannot be executed. I have checked the permission and that is proper.
Can someone guide me whats going wrong in this?
Thanking you.