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: 2020-06-08
Package Version: 2.0.0.0
Category: USB
Downloaded: 4407 times
Not followed.
License: MIT license
Library for making an USB host capable of reading and writing sectors from/to USB memory sticks ("USB drives" or "pen drives").To read/write actual files from/to the USB memory stick you need still e.g. a Fat16 or Fat32 library (see example).
Do you want to subscribe in order to receive notifications regarding "USB MSD Host Library" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "USB MSD Host Library" changes.
Do you want to report abuse regarding "USB MSD Host Library".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1573847296_usb_msd_host_lib_mikropascal_pic24.mpkg [1.76MB] | mikroPascal PRO for dsPIC30/33 & PIC24 |
|
1573847462_usb_msd_host_lib_mikrobasic_pic24.mpkg [1.76MB] | mikroBasic PRO for dsPIC30/33 & PIC24 |
|
1573847441_usb_msd_host_lib_other_pic24.zip [2.59MB] | Other PIC24 Compilers |
|
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.
Have fun!
-------------------------------------------------------------------------------------------------------------------------------------------------
2012-09-29: Corrected an error in routine "USB_MSD_Device_Capacity" (not used by the library itself).
------------------------------------------------------------------------------------------------------------------------------------------------
Added an example of how to use the USB MSD host library together with the Fat32 Library of mikroElektronika: Example.
The example is the same as delivered with the Fat32 library of mE, except for USB stick in stead of SDMMC.
-------------------------------------------------------------------------------------------------------------------------------------------------
2012-11-01: Added the "__Lib_Fat32_Driver.mpas", adapted for usage with the USB MSD Host library, to the example in the package that needs it (USB_STICK_Demo). This driver is needed by the Fat32 Library of mE.
----------------------------------------------------------------------------------------------------------------------------------------
2014-03-13: The mikroBasic files and zip files have been updated. All mB sources are present now (not tested if compilable though).
-------------------------------------------------------------------------------------------------------------------------------------
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.
---------------------------------------------------------------------------------------------------------------------------
2017-02-16: Removed the (erroneous) setting for "Enable the VBUS generation circuit (U1OTGCON<3> = 1)".