SD Card Help?
Dan Taylor
Posts: 207
I have got a SD Card·but am kindof at a loss on how to use it. Could someone explain to me how you upload files to it and use them? I would greatly appreciate it! Can you also store mp3 files and play them through a piezo speaker?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Comments
http://obex.parallax.com/objects/324/
read the files one of them has a schematic.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
I assume you know how to wire it. If not, that's another problem.
Here's a little program that displays a directory of the SD card.
It then opens a file called "newfilex.txt". It writes some data to it, then closes the file.
After this, it opens the file again, reads the data it wrote and displays it to the screen.
I hope this helps. If not, ask more questions.
Jim
Post Edited (mynet43) : 6/16/2009 2:35:14 AM GMT
···· I have bought the SD holder sold by ucontroller.com, it has given pins on it. Are those correct. Also I don't have the programs[noparse]:term:[/noparse]·tv_text, VGA_1024, and fsrw.
mctrivia,
···· Is there a way to convert mp3 to wav?
Thanks you both for your help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
The other drivers (objects) are available in the Object Exchange. I think VGA_1024 is the VGA HiRes Text driver. fsrw is part of the SD card driver.
There are many utility programs for the MacOS, Windows, and Linux to convert sound files from one format to another including from MP3 to WAV. Apple's QuickTime can do it and there are versions downloadable for Windows as well as the built-in version in the MacOS.
Post Edited (Mike Green) : 6/16/2009 5:40:25 AM GMT
cool edit pro is my favorite audio program. iTunes though will do the conversion also and is free.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
One last question. How do you connect the SD Card holder?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
I am trying to build the Loadrunner game. It says to copy all the level*.txt files to the SD card. How do I do this???? I have been working on this for hours but I can't figure out how!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
computer and copy the files over using the normal computer tools.
124· text.str(string("sd not detected, halted."))
125· fsrw.start(@ioControl)···············
126· fsrw.mount(spiDO,spiClk,spiDI,spiCS)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
What size card is it? If you do a forum search (using the google link), you can
easily find lots of information on how to format an SD card.
Note, to search the forums, use the url http://search.parallax.com/ and *don't* use
the little forum search box.
The command I use to format is
where x: is the name of your SD device. (Windows explorer will tell you what this
x: should be.)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
I did not format it at all, didn't know you had to.
What do you mean by the name of you SD device? Would that be the part # SDC-32M? Or something else?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
I would format it just to be safe, but since it's such a tiny card I would use the following:
That will give you 4K clusters, but make absolutely sure it is FAT16.
By the "name of the SD card" I mean the drive letter that Windows mounts it as when you put it
in your Windows machine. Typically your hard disk is C: and your floppy is A:. Something like
F: is typical for a removable device like an SD card. You want to make sure you get this right,
because you do not want to format your hard drive.
So I tried doing it on My Computer, by side-clicking the drive and clicking format. The file system was FAT by default, but it has another option "Alocation Unit Size." You have the option of 512 bytes to 6 kilobytes. What should I do?
Thank you both for your help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
For the command, use
(The options allow 4096, but not 4K, yet 32K, but not 32768.)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are now in stock. Only $30. PCB available for $5
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
might be wrong.
But if it works in the camera, then I wonder if it's the reader that's broken.
Also, you were able to write files to it, so it sounds like it's not *really* write protected. Is it possible you
have a command shell or window open on that card, and *that's* what's preventing the formatting?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
http://www.amazon.com/Kingston-Secure-Digital-SD-2GB-S/dp/B000E5FOYS/ref=sr_1_7?ie=UTF8&s=electronics&qid=1245343356&sr=8-7
If you sign up for the Amazon Prime Trial thingy, you can get free shipping on it and lots of other items.
Apparently the Elite Pro has a faster data transfer, so I guess it would be worth it...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
*-NEW-* SD Card Adapter·Now available!· Add extra memory to your next Propeller project with ease!
Post Edited (Vaati) : 7/15/2009 12:34:36 AM GMT
I was trying the program that mynet43·posted on the previous page. The program was·working before I reprogrammed it though.
Could someone please provide a solution? Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor