Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: readin USB thumb drive and USB keyboards

2005-07-21 by Joel Kolstad

Hi Jesper,

--- In AVR-Chat@yahoogroups.com, "Jesper Hansen" <jesperh@t...> 
wrote:
> If you only want to talk to USB-memory sticks, the host 
implementation part 
> is
> pretty simple. A lot of the regular chit-chat that set up the USB 
link can 
> be
> skipped.

By the time you get as far as having all the code to read and write 
FAT and FAT32, I'm not sure if I'd call it "simple" anymore -- we're 
talking thousands of lines of code!  But I agree that getting USB 
talking to a single peripheral is significantly simpler than a 
general purpose USB stack.

Unfortunately, I've been told that even some memory sticks (in 
particular, some made by Sony) contain embedded hubs so that they 
can present multiple devices (e.g., the "memory" itself as a mass 
storage class device, and then a proprietary encryption device or 
whatever); I would be pleasantly surprised if the GHI chip worked 
with such 'sticks.

I know for a fact that those cheap ($29) "plug into the cigarette 
light MP3 players that read a USB memory stick for data" don't work 
with a Creative Labs Muvo memory stick/MP3 player/FM radio (that, on 
a PC, does just end up as a "disk drive").  I haven't taken a look 
at how the Muvo presents itself on the USB, but I wouldn't be 
surprised if it's a similar problem.

---Joel

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.