Shop OBEX P1 Docs P2 Docs Learn Events
vs1002 and sd card problems — Parallax Forums

vs1002 and sd card problems

science_geekscience_geek Posts: 247
edited 2009-10-14 03:11 in Propeller 1
So, I am using the vs1002 breakout board from sparkfun and the sd card breakout board, i have it all hooked up but it doesnt work. the problem lies in the sd card so far as i can tell. i put a debug statement in so that after it finished the sdfat.mount(16) it will debug "working". it never gets to the debug command. I know that it is working before the mount command but it never gets out of that command. i am using the object right out of the object exchange and i have double checked my wiring many times. no matter what i do it doesnt fix it. does anyone know what could be the problem, or have a program that would write a file and then read the same file to the debug window. i dont really know anything about how sd cards work other than what i can get from obex. any help would be greatly appreciated.

Comments

  • LeonLeon Posts: 7,620
    edited 2009-10-13 21:03
    Have you got the software configured correctly for the pins you are using to connect the SD card to the Propeller? The fsrw software uses P0 as the base pin.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • science_geekscience_geek Posts: 247
    edited 2009-10-13 21:07
    yes, the command im using is sdfat.mount(16) im using pin 16 through 19 or 20, i cant remember right now and i dont have it with me. if 16 is the basepin, what order should the pins be, maybe i got something wrong there.
  • LeonLeon Posts: 7,620
    edited 2009-10-13 21:36
    You need to check the software. It won't work if you have them wrong.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • science_geekscience_geek Posts: 247
    edited 2009-10-14 03:11
    thanks for you help, i got it working, i had one of the 3pin jumpers backwards.
Sign In or Register to comment.