We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: dany
Last Updated: 2019-11-17
Package Version: 2.0.0.0
Category: USB
Downloaded: 2581 times
Followed by: 9 users
License: MIT license
This package contains the USB Host libraries for HID (e.g. Keyboard or Mouse) and MSD (e.g. USB stick)
Do you want to subscribe in order to receive notifications regarding "USB HID and MSD Host Library" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "USB HID and MSD Host Library" changes.
Do you want to report abuse regarding "USB HID and MSD Host Library".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1574005964_usb_hid_and_msd__mikropascal_pic24.mpkg [1.76MB] | mikroPascal PRO for dsPIC30/33 & PIC24 |
|
1574006175_usb_hid_and_msd__mikrobasic_pic24.mpkg [1.76MB] | mikroBasic PRO for dsPIC30/33 & PIC24 |
|
1574006391_usb_hid_and_msd__other_pic24.zip [2.58MB] | Other PIC24 Compilers |
|
HID:
This is a library for making an USB host capable of reading and writing packets from/to
USB HID devices.
It has a minimum of features, only reading and writing packets from/to the HID device is implemented. The packet sizes are read from the USB devices. Both High speed and low speed USB is supported. Mouses and keyboards are recognised.
At this moment only a version for PIC24 is available.
MSD:
USB MSD Host library, only for PIC24 for now.
Library for making an USB host capable of reading and writing sectors from/to USB memory sticks (USB drives).
To read/write actual files from/to the USB memory stick you still need e.g. a Fat16 or Fat32 library. The lib software assumes the USB memory stick is powered from an external source.
Tested with 2 brands of USB memory sticks and 1 card reader brand.
* mE Driver: The hardware driver for the Fat32 library of mikroElektronika. It can also still be used for Sd/mmc cards, only the compiler directives at the top have to be correctly chosen.
* mE Example: An example of how to use the USB MSD host library together with the Fat32 Library of mikroElektronika.
----------------------------------------------------------------------------------------------------------------------------------------
2016-02-10: Both libraries (HID and MSD) can handle now devices wity an Endpoint0 size < 64.
----------------------------------------------------------------------------------------------------------------------------------------
2016-02-13: simplified the enumeration process
------------------------------------------------------------------------------------------------------------------------------------
2017-01-04: New, extended version of the library: access to the string descriptors has been added
----------------------------------------------------------------------------------------------------------------------------------------
2019-11-15: Also devices with non 64 byte packets are handled now and also low speed devices are handled correctly. Mouse and keyboard devices are recognised.