Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (100 codes)
  2. Dany (44 codes)
  3. NART SCHINACKOW (34 codes)
  4. Alcides Ramos (33 codes)
  5. Agent Wolfz (14 codes)
  6. Andrew Hazelden (13 codes)
  7. Roman Black (11 codes)
  8. Alberto Trasimeni (11 codes)
  9. Roman Toropov (9 codes)
  10. Rajendra Bhatt (8 codes)

Most Downloaded

  1. Network Ethernet Library (11846 times)
  2. FAT32 Library (8684 times)
  3. Timer Calculator (6803 times)
  4. PID Library (5295 times)
  5. Network WiFi Library (5275 times)
  6. SMS home alarm system (4446 times)
  7. External Memory (4132 times)
  8. mikromedia for PIC18FJ - Examples (3588 times)
  9. microSD click - Example (3532 times)
  10. GPS click - Example (3284 times)
Libstock prefers package manager

Package Manager

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]

< Back
Library

USB MSD Host Library

Rating:

Author: Dany

Last Updated: 2013-02-06

Category: USB

Downloaded: 627 times

Not followed.

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).

No Abuse Reported

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".

  • Information
  • Comments (2)

Library Blog

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. 

* Documentation

* 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.

ALSO FROM THIS AUTHOR

Tool: mikroPascal to mikroBasic convertor

Simple mikroPascal for PIC to mikroBasic for PIC source code convertor. The tool can convert complete mP units to mB modules and complete mP programs to mB programs. It can be used both in interactive and batchmode.

[Learn More]

PID Library

PID library with fixed calculation time interval. A PID Usage example is added. Octal delivered the mB and an mC version.

[Learn More]

Tool: Pascal Source Code formatter

This tool is a simple mikroPascal source code formatter, mainly making correct and readable code indentation.

[Learn More]