CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Sending data to thumb drive

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest
Guest







Sending data to thumb drive
PostPosted: Mon Jun 19, 2006 10:47 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jun 19, 2006 10:55 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Mon Jun 19, 2006 12:23 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jun 19, 2006 2:24 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jun 19, 2006 5:58 pm     Reply with quote

I could see were this would be useful. Has anybody actually used this.
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: Sending data to thumb drive
PostPosted: Mon Jun 19, 2006 6:39 pm     Reply with quote

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!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group