TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 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 (140544 times)
  2. FAT32 Library (73037 times)
  3. Network Ethernet Library (58043 times)
  4. USB Device Library (48215 times)
  5. Network WiFi Library (43826 times)
  6. FT800 Library (43295 times)
  7. GSM click (30359 times)
  8. mikroSDK (28990 times)
  9. PID Library (27116 times)
  10. microSD click (26722 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: 2255 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

Tool: Global variable usage

10

Shows, from a selected routine, the following items: - The parameter - The (used) local variables - The unused local variables (eliminated by optimiser) - The used global variables - Called routines For Pic, Pic24 and P32, both mP and mB

[Learn More]

TempSensors Ds1820 LM35

16

The basic functions for the DS18(S/B)20 (onewire digital temperature sensor), including string output, ready to display. A routine to convert a more than 9 bits temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. Including Parasite Power and Configuration routines. The LM35 basic functions, code efficient.

[Learn More]

PS2 Mouse Read

5

Returns the Delta X (hor), the Delta Y values (vert), the Delta Z (scrolwheel) values and the button status if one of those has changed. Only tested on P18 with 48 MHz MCU clock (will work probably also on 16 and on lower MCU clock speeds).

[Learn More]