TOP Contributors

  1. MIKROE (2649 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136494 times)
  2. FAT32 Library (69706 times)
  3. Network Ethernet Library (55813 times)
  4. USB Device Library (46150 times)
  5. Network WiFi Library (41791 times)
  6. FT800 Library (40972 times)
  7. GSM click (28918 times)
  8. PID Library (26379 times)
  9. mikroSDK (26264 times)
  10. microSD click (25290 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
Project

USB HID CDC MSD composite device

Rating:

5

Author: dany

Last Updated: 2012-07-27

Package Version: 1.0.0.0

Category: USB

Downloaded: 2206 times

Followed by: 1 user

License: MIT license  

This project uses all the available types of USB devices in the USB_OA library: HID (application echos chars send by the PC to the PC), CDC (application echos chars send by the PC to the PC), MSD (the contents of an SD/MMC card is presented to the PC as an extra drive).

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "USB HID CDC MSD composite device" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "USB HID CDC MSD composite device" changes.

Do you want to report abuse regarding "USB HID CDC MSD composite device".

  • Information
  • Comments (2)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

This project uses the "USB_NA" package, which allows to create HID, CDC and MSD devices, simple or composite. Here a maximal composite USB device is created: HID + CDC + MSD.

The project needs an SD/MMC card connected to the PIC SPI interface.

The project uses following libraries:
- Conversions (mikroE)
- Mmc (mikroE)
- SPI (mikroE)
- String (mikroE)
- Uart (mikroE)
- USB_CDC_Library_NA (USB_NA)
- USB_HID_Library_NA (USB_NA)
- USB_MSD_Library_NA (USB_NA)
- USB_Library_Core_NA (USB_NA)
- USB_Library_Core_Constants_NA (USB_NA)
- SDMMC_Utils_mmc_p18 (Utilities)
- StrngUtils_p18 (Utilities)

Have fun!

ALSO FROM THIS AUTHOR

Utilities

26

Several utility libraries: - String Utilities, - SDMMC Utilities, - Bit Utilities, - (standard) Pascal Funtions, - Assert functions, - UartUtils, - Button utilities. - CRC routines

[Learn More]

PID Library

25

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

[Learn More]

I2c non blocking

10

Replacement routines for I2c1_Rd and I2c1_Wr but here with timeout, so no blocking any more when a device one tries to access is not present. The mE I2c library is still needed for the remaining I2c routines. Implemented also the code for controllers with 2 I2c's (e.g. P18F27K40).

[Learn More]