Hi,
is it possible to use the Gen_* fuctions to implement non HID endpoints with this library? I do need a mass storage device but the USB device lib does not support the PIC32MZ.
Best Regards,
Torsten
USB HID Library Gen_*
-
- Posts: 24
- Joined: 18 Feb 2019 15:50
Re: USB HID Library Gen_*
It seems not to be possible. At least replacing
with
and some permutations resulted only in FailedEnumeration.
Is there any chance to get some library sources?
Cheers
Torsten
Code: Select all
HID_Enable(readbuff, writebuff);
Code: Select all
Gen_RegisterEndpoints(0x01,0x01); //is 0x80 for IN added internally ?
Gen_Enable(readbuff, writebuff); //Register or Enable first ?
Is there any chance to get some library sources?
Cheers
Torsten
- filip.grujcic
- Posts: 822
- Joined: 14 May 2018 08:34
Re: USB HID Library Gen_*
Hello,
Unfortunately, we do not distribute source code of compiler's libraries due to company's policy.
I apologize for the inconvenience.
Regards,
Unfortunately, we do not distribute source code of compiler's libraries due to company's policy.
I apologize for the inconvenience.
Regards,
Filip Grujcic
-
- Posts: 24
- Joined: 18 Feb 2019 15:50
Re: USB HID Library Gen_*
Hello Filip,
does the USB Device Library from Libstock also fall under the heading of compiler library? It would be quite easy with available information (ChipKit) to add PIC32MZ support. There would be no DMA but I could live without it.
A complete documentation of the USB compiler library would also help. The documentation does not completely match the functions in the library and states only the obvious without background information, e.g. if I use the USB_Interrupt_Proc and USB_DMA_Interrupt_Proc where does it put the data? And is Gen_Enable really dependent on HID_Enable? It would sound more logical that HID_Enable calls Gen_Enable and adds some more initialisation like Gen_RegisterEndpoints but without useful documentation this is only guesswork.
To come back to my original question, is it possible to use Gen_* to implement a mass storage device? An update of the USB Device Library for PIC32MZ by MikroElektronika would of course be the easiest solution for me.
Cheers
Torsten
does the USB Device Library from Libstock also fall under the heading of compiler library? It would be quite easy with available information (ChipKit) to add PIC32MZ support. There would be no DMA but I could live without it.
A complete documentation of the USB compiler library would also help. The documentation does not completely match the functions in the library and states only the obvious without background information, e.g. if I use the USB_Interrupt_Proc and USB_DMA_Interrupt_Proc where does it put the data? And is Gen_Enable really dependent on HID_Enable? It would sound more logical that HID_Enable calls Gen_Enable and adds some more initialisation like Gen_RegisterEndpoints but without useful documentation this is only guesswork.
To come back to my original question, is it possible to use Gen_* to implement a mass storage device? An update of the USB Device Library for PIC32MZ by MikroElektronika would of course be the easiest solution for me.
Cheers
Torsten