View previous topic :: View next topic |
Author |
Message |
Guest Guest
|
Sending data to thumb drive |
Posted: Mon Jun 19, 2006 10:47 am |
|
|
I need to send data from my PIC to a storage device. I would like that device to be a USB thumb drive. Since both the PIC and the USB are "slave" devices, is it possible to do this and what would be involved?
Thanks, |
|
|
iso9001
Joined: 02 Dec 2003 Posts: 262
|
|
Posted: Mon Jun 19, 2006 10:55 am |
|
|
Run.... Run away quickly! There is a lot more work to this then you think. Also, combining slave devices isn't going to work. You need 1 master to talk to any number of slaves.... Where is you master ?
Look into MMC cards instead. They are driven over SPI, and be read or written to directly by the PIC or a PC. They are CHEAP. Large capacity. You don't even 'need' to implement a complicated file system for them. Etc Etc Etc.
Also, if you want anyone to take you seriously, register here. |
|
|
rwyoung
Joined: 12 Nov 2003 Posts: 563 Location: Lawrence, KS USA
|
|
Posted: Mon Jun 19, 2006 12:23 pm |
|
|
http://www.ghielectronics.com/USBwiz.htm
Or just buy your own ARM7 and do it all for yourself. _________________ Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month! |
|
|
iso9001
Joined: 02 Dec 2003 Posts: 262
|
|
Posted: Mon Jun 19, 2006 2:24 pm |
|
|
Thats pretty cool!
Expensive, but I could see a use if you needed SMS or FAT in a hurry. |
|
|
Eugeneo
Joined: 30 Aug 2005 Posts: 155 Location: Calgary, AB
|
|
Posted: Mon Jun 19, 2006 5:58 pm |
|
|
I could see were this would be useful. Has anybody actually used this. |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1636 Location: Perth, Australia
|
Re: Sending data to thumb drive |
Posted: Mon Jun 19, 2006 6:39 pm |
|
|
Guest wrote: | I need to send data from my PIC to a storage device. I would like that device to be a USB thumb drive. Since both the PIC and the USB are "slave" devices, is it possible to do this and what would be involved?
Thanks, |
MAXIM have a new USB host controller that you can integrate to the PIC via the SPI bus.
I use SD cards for this type of function but if you plan to make a product with SD or MMC cards then your customers will require some form of reader - usually a cheap SD/MMC to USB adapter. If you take the USB approach then no reader is need for current generation systems. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
|