PDA

View Full Version : USB MSD with HID code ?



Chris Barron
- 10th November 2009, 21:52
I'm just checking that I'm not about to reinvent the wheel, but is there anything int he EasyHID support stuff to help set up a mass storage device ?

I know that I need to cover the file formatting, by creating a recognisable file structure, but my question is can I attach via USB using the HID class ? I'm guessing not....

The application is going to use about 30k of a pic's flash memory to store a file written on the PC. The pic needs to appear as a flash drive to the PC's USB interface. I've got 'USB Mass Storage' by Jan Axelson and will follow the guidelines in there, but I really wanted to just check it hadn't been done before !

Chris

Chris Barron
- 11th November 2009, 18:33
I may have been asking the wrong question above. I've now had a trawl of the Microchip website and found they have some demo ASM code of exactly what I am looking for, in order to make a large memory pic appear as a thumb drive to a PC so I will work with that for now.