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 (142077 times)
  2. FAT32 Library (75302 times)
  3. Network Ethernet Library (59499 times)
  4. USB Device Library (49525 times)
  5. Network WiFi Library (45289 times)
  6. FT800 Library (44918 times)
  7. GSM click (31441 times)
  8. mikroSDK (30452 times)
  9. microSD click (27802 times)
  10. PID Library (27624 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: 2295 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

Article: Record Member alignment for PIC24/dsPIC and PIC32

1

Describes how record members are stored internally in their records, and what problems to expect if that is not taken into account.

[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]

RTOS for PIC32

5

Pre-emptive RTOS for PIC32, written (almost entirely) in mikroPascal/mikroBasic/mikroC. The way of working is very easy to understand. The functionality is kept very limited with respect to other RTosses, to keep it simple. The library code only consists of 1 .mpas file...

[Learn More]