I don't understand what you mean... "you can also upload very high res photos and copies of exact code and someone may find problem"
Upload them to the SD, the computer, or the forums...?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
Yep--continuity check on everything to everything... I think it might be good to double check though...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
I think you are close to getting it... Best thing to do is make a wiring diagram of your setup and post that along with the code you're using. That, with the picture should help us get you going...
I just wondered if it might be some sort of problem with the lines connected to the card, since the Card Inserted light is on before the program actually starts and sets the SD pins to input and does its thing. I think that one of those lines is either shorted or not connected or SOMETHING....
I will get you a wiring diagram and my test results most likey by tomorrow.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
Allow me to add my frustrations to the thread. I read through this thread and various others. I've tried 3 different SD cards, three different SD card test software modules, checked the wiring numerous times, replaced the wires to be sure, traced the circuit with a voltmeter, and tried all the different versions of sdspi in the fsrw routine...I still get either a -13 or -41 error. I spent over 4 hours yesterday debugging this and am not really any closer to an answer than when I started. The SD cards are not damaged, I can still read and format them in a PC. I double checked the formatting too. I'm using the wiring example from this page http://rayslogic.com/propeller/Programming/SD_Card/SD_Card.htm on my demo board. The one thing I'm not sure of is that in the picture, he shows a yellow wire coming off of 5V...it joins with a purple wire, but I can't tell what the purple wire is connected too. I don't think this is important since the SD is using 3.3V and none of the schematics I've found show anything related to using a 5V supply for anything. I built my own SD adapter...just like the one shown in the picture and triple checked it for continuity.
Any ideas? I would really like to get this working for use with Boebot and Femto BASIC on a Propeller BoeBot I've built.
The purple wire is my Hack for USB power... I wouldn't recommend that, unless you're very, very brave! (and have a very fine tip soldering iron).
Getting the SD card to work is often challenging... I've had trouble with my self-made adapters shorting out to metal of the socket...
Sometimes the error messages can be a good sign, that it's actually reading info from the card, but I don't know about those particular errors...
The other thing to look out for is that you have an old, regular SD card <=2GB, and not a new SDHC card...
PS:· I should also take a moment to say that my new PSM (Propeller System Module) could help people out by providing an SD socket with a propeller based card...·
PSS:· I've found that you don't need the pull-up resistors and I don't use them in my PSM after seeing that most of my electronic gadgets don't use them.·
Not sure if this is the problem, but pin 9 on the SD card is actually before pin 1, but recessed further in. So the socket pins are most likely 9,1,2,3,4,5,6,7,8.
I do have the older SD cards. I'm also pretty sure I have the pin-out correct. I did see that 9 came before 1. I may have to break down and buy a carrier board. Not sure what else to try.
I have checked my module with the Ray's Logic page about four times now, and I know for a fact that my pins are in the right places. I don't know if I used the mount(n) thing though, so I will try that and see if it works....
Thanks for your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
Wait, so was I supposed to connect the other ground (pin 3 on the SD) to GND? I connected them, so....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
I built according to the picture above. I also built using pullup resistors as shown here http://rayslogic.com/propeller/Programming/SD_Card/SD_Card.htm in the Prop demo board pic. I tried tried both 10k and 22k pullups. No luck. There is something fundamental here that is wrong, but for the life of me I can't see what it is.
Same here... I have no clue whatsoever as to what is wrong with my adapter... If I figure it out, you will be able to purchase it from Gadget Gangster... For now, I need to get it working!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
I am using the older SD cards (not HC), but is it possible that some cards are not compatible? I built the Sparkfun GPS logger a couple months ago, and one of my three SD cards did not work with it. They are all formatted the same, they work fine in a PC card adapter and my camera, but one would just not work in the logger. It happened to be the first one I tried, so I wasted a good hour debugging before I tried another card. For this Prop experiment, I tried all three cards and none work. Is it possible the card is at fault?
Well guys... It sounds like you have the right wiring and the right SD cards... So, maybe it's the code? Try posting your code along with the actual pins numbers you are using...
I'm using the FAT16 code from the object exchange. http://obex.parallax.com/objects/search/?q=fsrw
I tried version 1.6 and 1.7. I'm using pins P0-P3. I was thinking this was the default pin range.
I am using PropDOS, so.... I will get an attachment of the EXACT same code I am using...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
I have a little diagram of that on the first page of this thread... Just so you know, that is supposed to be an SD card holder, and I have the pins of the SD card itself, not the pin numbers of the SD card. I hope that makes sense...
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
Comments
Upload them to the SD, the computer, or the forums...?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
I think you are close to getting it... Best thing to do is make a wiring diagram of your setup and post that along with the code you're using. That, with the picture should help us get you going...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
I just wondered if it might be some sort of problem with the lines connected to the card, since the Card Inserted light is on before the program actually starts and sets the SD pins to input and does its thing. I think that one of those lines is either shorted or not connected or SOMETHING....
I will get you a wiring diagram and my test results most likey by tomorrow.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
http://rayslogic.com/propeller/Programming/SD_Card/SD_Card.htm on my demo board. The one thing I'm not sure of is that in the picture, he shows a yellow wire coming off of 5V...it joins with a purple wire, but I can't tell what the purple wire is connected too. I don't think this is important since the SD is using 3.3V and none of the schematics I've found show anything related to using a 5V supply for anything. I built my own SD adapter...just like the one shown in the picture and triple checked it for continuity.
Any ideas? I would really like to get this working for use with Boebot and Femto BASIC on a Propeller BoeBot I've built.
Thanks...Win
Getting the SD card to work is often challenging... I've had trouble with my self-made adapters shorting out to metal of the socket...
Sometimes the error messages can be a good sign, that it's actually reading info from the card, but I don't know about those particular errors...
The other thing to look out for is that you have an old, regular SD card <=2GB, and not a new SDHC card...
PS:· I should also take a moment to say that my new PSM (Propeller System Module) could help people out by providing an SD socket with a propeller based card...·
PSS:· I've found that you don't need the pull-up resistors and I don't use them in my PSM after seeing that most of my electronic gadgets don't use them.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Post Edited (Rayman) : 6/22/2009 1:03:17 PM GMT
see http://www.interfacebus.com/Secure_Digital_Card_Pinout.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, RamBlade, TwinBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index) ZiCog (Z80), MoCog (6809)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Win
Thanks for your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
This may be over simplification, but I've built many SD adapters from this image.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
{Although I use pins 16,17,18,19 now most of the time}
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
http://rayslogic.com/propeller/Programming/SD_Card/SD_Card.htm in the Prop demo board pic. I tried tried both 10k and 22k pullups. No luck. There is something fundamental here that is wrong, but for the life of me I can't see what it is.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are temporarily out of stock(selling faster then expected). 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.
Is that able to work....?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
http://obex.parallax.com/objects/search/?q=fsrw
I tried version 1.6 and 1.7. I'm using pins P0-P3. I was thinking this was the default pin range.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm