USB Stickalike

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
Francis
Registered User
Registered User
Posts: 314
Joined: Sun Mar 25, 2007 9:40 am
Location: Devon

USB Stickalike

Post by Francis » Mon Oct 03, 2011 7:01 pm

I've searched and failed...


Can anyone point me in the direction of SF code or routines where, using USB + SwordfishedPIC + memory, I can plug my device into a USB socket and it lets the PC know it's there AND then I can open Explorer and drag'n'drop or be Save / Save As.
I want to be able to save small .txt files direct to a memory chip (via PIC) from PC.

(i.e. behave like the front end of a memory stick as far as file saving is concerned).

MTIA.

User avatar
RangerBob
Posts: 152
Joined: Thu May 31, 2007 8:52 am
Location: Beds, UK

Post by RangerBob » Tue Oct 04, 2011 9:02 am

No-one has done this on swordfish to my knowledge.

I briefly looked at porting the Microchip MSD (Mass Storage Device) to swordfish a while back but then decided to use the Microchip Libraries themselves as the base of my design.

Get the Microchip Application Library (MAL) and have a poke through at the USB-MSD demos and you'll get an idea at the amount of work required to port it. However, if all you need to do is as described, several of the demo's would work fine for you.

Regards,

Francis
Registered User
Registered User
Posts: 314
Joined: Sun Mar 25, 2007 9:40 am
Location: Devon

Post by Francis » Tue Oct 04, 2011 9:19 am

Thanks RangerBob, I shall do that.

Post Reply