Thanks to your help I am making a progress after a lot of experimenting. Sure I do not understand the whole process but anyway...
I managed to enumerate the PIC and display on an open text file a short string of characters from an 8 byte buffer.
How can this buffer made bigger? I changed these in the main program
Code:
USBBufferSizeTX con 16
USBBufferSizeRX con 16
USBBufferCount Var Byte
USBBufferIn var byte[16]
USBBufferOut Var Byte[16]
but still sends only the half buffer.
Then I changed in the hid_desc.bas file this line
Code:
retlw 0x10 ; This should be the size of the endpoint buffer
from 0x08 to 0x10 but still no joy. I attach the descriptor file.
Any idea?
Ioannis
P.S. I also changed
#define HID_INT_OUT_EP_SIZE 8
in the descriptor file to 16 but still sends 8 byte buffer...
Bookmarks