escapevn
Newbie level 6
easyhid
Hi everybody!
I have a problem when use EasyHID software to receive data from USB HID device. EasyHID generates a mcHID.dll file, a Visual C++ 6.0 project automatically. Read from and Write to USB HID device are the same as read and write to mcHID.dll file.
But problem occur when I transmit from USB HID device. Firmware which I use is ex_usb_hid.c, an example in CCS software (PIC 18F4550). When I transmit a large file (> 10MB) my PC program cannot receive all of data. But when I use USB monitor (HHD software) to manage data transfer over USB HID device, I see all of data, they've transmitted from USB device to computer.
(I use a count variable to count bytes transmitted from USB HID device. My firmware transmit N bytes but VC++ program received only N-m bytes, m is not stable)
I cannot fix this bug, please help me, please show me incorrect points.
Thank you very much!!!
Hi everybody!
I have a problem when use EasyHID software to receive data from USB HID device. EasyHID generates a mcHID.dll file, a Visual C++ 6.0 project automatically. Read from and Write to USB HID device are the same as read and write to mcHID.dll file.
But problem occur when I transmit from USB HID device. Firmware which I use is ex_usb_hid.c, an example in CCS software (PIC 18F4550). When I transmit a large file (> 10MB) my PC program cannot receive all of data. But when I use USB monitor (HHD software) to manage data transfer over USB HID device, I see all of data, they've transmitted from USB device to computer.
(I use a count variable to count bytes transmitted from USB HID device. My firmware transmit N bytes but VC++ program received only N-m bytes, m is not stable)
I cannot fix this bug, please help me, please show me incorrect points.
Thank you very much!!!