View previous topic :: View next topic |
Author |
Message |
sweet_Dana Guest
|
disk on key with pic's... |
Posted: Tue Mar 31, 2009 9:59 am |
|
|
Hi
I would like to get any kind of information about reading a file from disk on key, with pic16f88 \pic16f69.
I want to read and write words or numbers from it.
Can I do it ? The information is stored in files? Or I can just write numbers to it ?
Is it the same as writing to a computer usb ? I guess not...
Any discussion about that or codes that could help me will be nice. |
|
|
sweet_dana Guest
|
someone? please? |
Posted: Wed Apr 01, 2009 5:25 am |
|
|
i am sure that you know something about that .
i will be more than happy if you would share that with me .
thank you. |
|
|
mskala
Joined: 06 Mar 2007 Posts: 100 Location: Massachusetts, USA
|
|
Posted: Wed Apr 01, 2009 6:36 am |
|
|
Do a search of this forum for 'thumb drive' or 'pen drive'. Simple answer is no, this is not realistic with small PICs because of USB architecture. |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Apr 01, 2009 7:29 am |
|
|
If you are referring to an USB memory stick, you should tell more clearly. "Disk on key" can mean a lot...
USB devices can be accessed only by an USB host or dual-role (OTG) controller. From Microchip, PIC24FxxGB series could do. CCS has no example code for it, but there are Microchip examples, including access to memory ("mass storage") devices. A FAT16 file system as with memory cards is used to organize the data storage. |
|
|
andrewg
Joined: 17 Aug 2005 Posts: 316 Location: Perth, Western Australia
|
|
|
sweet_dana Guest
|
thanks a lot |
Posted: Thu Apr 02, 2009 1:57 am |
|
|
thanks a lot for all answers.
it helps a lot .
i have tried to reffer the usb mass storage device as a regular acsses to a memory from the pic. it wasnt smart at all.
i will try the pic 24, hope this is not too hard.
thanks a lot . |
|
|
dbotkin
Joined: 08 Sep 2003 Posts: 197 Location: Omaha NE USA
|
|
Posted: Fri Apr 03, 2009 11:13 pm |
|
|
Vinculum VNC1L does the job. Two USB ports, and with the right firmware one can attach to a host PC as well. You can get the VDIP1 or VDIP2 module, which makes the hardware part easier. |
|
|
|