Better SD instruction fo Propforth
prof_braino
Posts: 4,313
Loopy: please try this
http://code.google.com/p/propforth/wiki/SDsetupREVISITED
Others:
Yes, I should have done this months ago. Thanks for your patience.
http://code.google.com/p/propforth/wiki/SDsetupREVISITED
Others:
Yes, I should have done this months ago. Thanks for your patience.
Comments
I did get to sd_init before I hit trouble. Then I got the Error 166, which I now know to be that the SDcard was not seen by PropForth.
I suspect this was a wiring error on my part. The microSDcard holder has all the pullup resistors as Parallax built theirs right.
My trouble could be two other things that you have not considered.
1. Some users claim that a 100uF capacitor should be used between 3.3V and GND to assure that the SDcard doesn't brownout when it starts making contact.
2. The microSDcards I purchased were certainly NOT formatted. And while you say that the PropForth does not use that formatting, it may look for it as a starting point to acknowledge a card is present. I'd have to do quite a bit of research to see if this is true or not, but Sal would know immediately what he did to get the SDcard started.
As I mentioned in a PM, it is rather silly to say "Unknown Error" when just saying "Error" is less confusing to the first-time user.
Personally, I am suspecting the Brown Out or wiring are the problem with my setup.
Cheers.
YES! I have a capacitor between power and ground. Something should get updated, I will hunt it down.. after I get throught the other stuff I am hunting down.
FORMATTED - someplace said use the manufacturer's utility, and not MS, please let me know if you make progress. This error was seen before, but once fixed it seems to go away for ever, and its hard to reproduce. Please help us nail this one while it is visible.
UNKNOWN ERROR - Yes, silly, please open an issue on the google code propforth site (and let me know if you have trouble, I want to see if this works)
I will get to the Wiki and request that "Unknown Error" be simple replaced by '###' Error and suggest that a published list of number interpretations be provided outside PropForth to save space for real programming.
My first priority is to finally finish "Starting Forth" this week. Dialogue about what PropForth or what TachyonForth or what any other Forth should have is being suspended by me until I get that done.
And additional storage of data in EEPROM or SDcard is not too important to me until I start to get some idea of what I might want to do with Forth on the Propeller.
Product development, especially software development, is extremely demanding and it seems that everything should have been done yesterday. You are doing fine, so don't worry so much about so much needing to be done. If anything make a list of what needs to be done today, another one for this week, and one for later. Revise frequently. Don't be afraid to demote items that are hard to resolve - they need further thought. There is no reason to do them twice with the first attempt being rather horrible.
Am try to remember than people are doing this for fun. It isn't life and death. I doesn't hurt to ignore the Parallax Forum for a few days at a time. One can get awfully tangled up in writing responses to all and everything.