SD interface and software help ???
mikediv
Posts: 825
Guys I dont mean to ask repeat questions but I tried to do a serach and could not find anyhting that would help me
is there a shcematic and software expamples for installing an Sd card socket to the propstickusb· or hydra
I have a socket and I want to see if I could interface it to the propstick with say a 1 gig card for storing example programs from the education kit that I write and then reading them back when I need them??? so instead of pulling them off PC could I put them on the sd card and using the IDE open a file from the sd card instead of the PC??? Thaks for all the help
I read through these forums and have to say it seems most of the people here are very advanced to me anyway so I hope no one minds all the noob questions but I love this stuff and want to know everything I can about the prop and the boebot
not to wander but I see they are already coning out with a prop2 it will be hard to catch up but a lot of fun beside the educational kit for the prop I have that is there any more educational stuff I could buy to learn more faster
I am almost done with the propclass series is there another link with more clasees?
·
is there a shcematic and software expamples for installing an Sd card socket to the propstickusb· or hydra
I have a socket and I want to see if I could interface it to the propstick with say a 1 gig card for storing example programs from the education kit that I write and then reading them back when I need them??? so instead of pulling them off PC could I put them on the sd card and using the IDE open a file from the sd card instead of the PC??? Thaks for all the help
I read through these forums and have to say it seems most of the people here are very advanced to me anyway so I hope no one minds all the noob questions but I love this stuff and want to know everything I can about the prop and the boebot
not to wander but I see they are already coning out with a prop2 it will be hard to catch up but a lot of fun beside the educational kit for the prop I have that is there any more educational stuff I could buy to learn more faster
I am almost done with the propclass series is there another link with more clasees?
·
Comments
did you look through the Object Exchange for SD card materials?
obex.parallax.com/
I think the SD card options are limited to 2 Megabytes, though.
Oops, I meant Gigabytes. Sorry.
Post Edited (ElectricAye) : 12/16/2008 8:29:33 PM GMT
Although I'm not one of those advanced guys, I'm probably more like you; I've started a project using SD (just waiting on some parts) so I can retrieve data to play WAV sound files. I found pretty good documentation in the code that can be found on the propeller object exchange. First the SD reader object source code has info on how to hook up the SPI interface and use it. The WAV players on object exchange include examples of accessing the SD Reader/Writer object. You are limited to FAT16 filenamse (8 + .3)
Forgive me if you have already checked these. I hope this helps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thomas Talbot, MD
Gunpowder, MD, USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thomas Talbot, MD
Gunpowder, MD, USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
www.warrantyvoid.us/interfacingsdmedia.html
Jerry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cardinal Fang! Fetch the comfy chair.
native SD protocol itself.
Luckily, the fsrw package is extremely modular, so if you want to change the low-level protocol, that's
easy to do. Or perhaps make it drive a floppy disk rather than a SD card. Or use ext3 on SD instead
of FAT16. Just replace the corresponding part.
Note that even if you use native four-bit format, you probably wouldn't get as much speed increase
as you might think; there is still a lot of overhead in the Spin interpretation of the higher levels
(especially if you use the one-char-at-a-time routines, but even if you use the pread/pwrite
routines).
When the prop2 comes out and we make slight changes to the assembly to support it (so the
timing works, so it doesn't drive the SD faster than 25MHz) I anticipate you'll see a significant
speed bump even at simple 25MHz SPI bit-banging. (Although the fact that writes sometimes take
*much* longer won't go away; that's a device-specific thing.)
BTW: In my searching I dug up the following thread...
Secure digital read/write code released http://forums.parallax.com/forums/default.aspx?f=25&m=162235
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Prop Tools under Development or Completed (Index)
· Emulators (Micros eg Altair, and Terminals eg VT100) - index
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz
One doesn't have to use FAT12 / FAT16 / FAT32 / exFAT either, unless you want the card to be portable. Note that using long names in FAT is patented by Microsoft; it's a horrible kludge anyways. If you don't need random file offset updates, and don't mind fragmenting and wasting space, a pretty trivial file system can be used instead.
Guess I'll keep my code to myself, now that you've made me paranoid.
Post Edited (Andrew E Mileski) : 1/23/2009 12:14:05 AM GMT