a reliable FAT 12,16 and 32 with read and write is a lot of code. I don't what you are talking about but with our optomized code it is about 50K flash and 5K RAM adding on USB is another 50K flash and mass storage class is another 30K!!! Gus --- In AVR-Chat@yahoogroups.com, "Jesper Hansen" <jesperh@t...> wrote: > > 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. > > Thousands of lines ? Not at all. I've been working with FAT for years, > and it's not that complex. > I even have a FAT capable bootloader in a mega8 ! About 750 bytes > complete with CF card driver, programming and support routines. > > And the USB enumeration and handling is also really small. I haven't > cleaned up the routines, but when it's done, I'll report on the sizes. > > /Jesper
Message
Re: readin USB thumb drive and USB keyboards
2005-07-21 by Gus
Attachments
- No local attachments were found for this message.