On Wed, 1 Jun 2011 11:22:28 -0400, you wrote: >Hi all, > >We need to save/restore setup data for a product, and it would be nice >to be able >to do this via thumbdrive. However, it seems that most 8-bit micros >(we are using >an ATMega, but code for a PIC could be used as a template) aren't up to be= ing a >USB master. > >Is there any code out there that does this? Or do we have to resort to us= ing a >Vinculum chip? Or go with a SD / SDHC card (many examples out there)? Master needs specific hardware - on MCUs it;s often OTG, which does host an= d device. While the VNC2 would do it, and is much cheaper than the earlier devices, a= nd you can put your application on it, there is a PIC that will also do it, PIC24FJ64GB004 wit= h USB host/filesystem source code from Microchip. The USB & file stuff takes about half the flash= .. Cost is similar to the VNC2. It's probably the only MCU with USB host available in DIP, if that matters = to you... SD card is simpler and more amenable to doing on an 8-bit PIC or AVR, but i= t will still take a fair bit of code space for the FAT stuff. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .