TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141396 times)
  2. FAT32 Library (74240 times)
  3. Network Ethernet Library (58788 times)
  4. USB Device Library (48856 times)
  5. Network WiFi Library (44636 times)
  6. FT800 Library (44188 times)
  7. GSM click (30889 times)
  8. mikroSDK (29753 times)
  9. PID Library (27373 times)
  10. microSD click (27312 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: 2273 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: Bootloader HOST (windows) for PIC

1

This is (for a change) not a bootloader firmware (the bootloader part present in the PIC), but a bootloader Host for control of the PIC bootloader. It is compatible with the bootloader firmwares from mikroElektronika, and is capable of handling all PIC types. Original development: Joop Beunders.

[Learn More]

PIC based timer

5

Another example of using the 12F629 in a very small project. Switches off electrical appliances after a number of hours. Time indication via LEDs. Both circuit diagram and code is provided.

[Learn More]

PIC32 Interrupts, article

0

Small article about PIC32 interrupts.

[Learn More]