Shop OBEX P1 Docs P2 Docs Learn Events
Help!!! Sd adapter!!! - Page 3 — Parallax Forums

Help!!! Sd adapter!!!

13»

Comments

  • VaatiVaati Posts: 712
    edited 2009-06-22 17:50
    Well, my module matches OBC's diagram perfectly... I will check propDOS and see if it's a problem with that....


    (What could it be???)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • WinWin Posts: 21
    edited 2009-06-22 17:54
  • WinWin Posts: 21
    edited 2009-06-22 18:09
    For mine, in fsrw_speed.spin, mount is called with 0, which appears to refer to the basepin, so P0-3 should be right.
  • RaymanRayman Posts: 14,851
    edited 2009-06-22 19:07
    Ok. Does your card look like this when it's being inserted into the holder:

    http://rayslogic.com/propeller/Programming/SD_Card/DSC00170.JPG

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • VaatiVaati Posts: 712
    edited 2009-06-22 19:22
    WAHOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IT WORKS!!!!!!!!!!!!!!!!!!!!!!!! I had to bypass the card inserted LED, and it worked!!! Now all I have to do is figure out how to actually include the LED in the circuit.....

    YYYEEEESSSS!!!! smile.gifsmile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • RaymanRayman Posts: 14,851
    edited 2009-06-22 19:31
    Congrats!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • VaatiVaati Posts: 712
    edited 2009-06-22 19:33
    Okay, so I need a schematic of a connection with an LED for the card inserted.... I think that the one from ucontroller has an LED, but I can't find an exact schematic of it, just the one with the connections and the resistors... Is anyone who has an SD adapter from ucontroller able to tell what the LED is connected to...?


    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • VaatiVaati Posts: 712
    edited 2009-06-22 19:46
    Also, I need some files to load to my SD card for propDOS.... What do I need to get started...?


    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • WinWin Posts: 21
    edited 2009-06-22 20:59
    >Ok. Does your card look like this when it's being inserted into the holder:
    >
    >http://rayslogic.com/propeller/Programming/SD_Card/DSC00170.JPG

    yes,...that's the only way it will go into the socket. I don't have an LED to bypass, so that can't be my problem either.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-06-22 22:45
    @Win,

    One down, one to go... Can we get some pictures of your setup so we can look it over?

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-06-22 22:47
    Vaati said...
    Also, I need some files to load to my SD card for propDOS.... What do I need to get started...?


    Thanks.

    Look at the instructions given here..

    www.orrtech.net/propdos

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • WinWin Posts: 21
    edited 2009-06-22 23:07
    Here are a couple pics. Thanks for your efforts on this. A second eye can be very helpful -- Win
    600 x 800 - 176K
    600 x 800 - 171K
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-06-22 23:26
    Just for giggles..

    pull your resistors and the extra ground so that it matches my diagram and tell us what happens.

    BTW, I spy a mini-dvd player.. Have you modded it for video-in yet? [noparse]:)[/noparse]

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • WinWin Posts: 21
    edited 2009-06-23 00:06
    Ok...I pulled the resistors and the extra ground. I get

    Mount
    -41

    That's what I was getting before (sometimes -13). I believe -41 is a timeout error.

    Yes, that's a modded Mini DVD with both video and audio. Works pretty well and it was cheap!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-06-23 00:26
    Would you mind posting the code you are using?

    Or is it standard Femtobasic or Propdos?

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • RaymanRayman Posts: 14,851
    edited 2009-06-23 00:36
    At first glance, the wiring looks OK. Make sure the metal part of the SD adapter isn't touching your pins...

    If that's not it, it must be a code issue...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • WinWin Posts: 21
    edited 2009-06-23 01:35
    I did check for shorts to the SD case. There's no continuity from the case to the pins, or between pins. The code is the standard test routines from the FAT16 object. I'm at a loss. Maybe I need to start debugging the Prop Demo Board. I'm not sure that I've actually used all of P0-P3 before. Thanks for you help. -- Win
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-06-23 03:52
    There is a no-go area under the microSD sockets I use. This means there can be no metal/copper) under certain parts of the socket because they may make contact.

    Particularly, the moving part of the card inserted detection on uSD can touch copper underneath. This could at least be the problem with the LED circuit that has been solved/

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    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
  • VaatiVaati Posts: 712
    edited 2009-06-23 12:03
    Thanks to everyone! I got my SD running and loaded the full screen editor, femto, and a few hmu's on it and run them all off of propdos! Then, I am able to select one of 3 OS's for the prop! One question for OBC--Can propdos run .bas files...? I can't seem to be able to....

    Also, I put the etch_n_scetch.bin file on the SD, and I take it you can't return from a binary file other than another OS besides pressing the reset button...?


    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-06-23 14:03
    @Vaati

    I never designed Propdos to run .bas files directly.
    There is an interesting "near" solution to that on this page. (among other interesting toys.)


    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • VaatiVaati Posts: 712
    edited 2009-06-23 16:49
    Hmm....· So is femtobasic able to run .bas files...?· I have tried that, but it doesn't seem to work properly...


    Also, I would like to make the attached file into a sort of "app" for propDOS. By that I mean to make it so the picture you draw can be saved (this would require something like the full screen editor, where there are 20 or so .bmp files just named untitled[noparse][[/noparse]insert file number here] and can be renamed and saved) and later viewed with the PSM TV Bmp Viewer.· Do you know if that's possible...?· I think I would end up having to make the etch and sketch into a mini OS of it's own...

    Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
  • WinWin Posts: 21
    edited 2009-09-27 23:29
    So after a few months, I finally got back to this problem. Parallax had their mini SD card board (including a card) on sale, so I bought one thinking that I had made some horrible soldering mistake in one of the two boards I built. Wired it up on my prop demo board, loaded the fsrw test code and it still didn't work. So, I should have done this earlier, but I wired all the pins used for the SD board to LEDs and it turns out pin 2 on my demo board is bad. So I followed the traces and did continuity checks and it appeared the pin wasn't soldered properly. So I pressed it tight to the board and ran the LED test again and it worked. Wired the SD board back up and it didn't work. Tested the pin again and it wasn't working, so I tried touching the soldering iron tip to the pin and board. Still doesn't work and I haven't been able to make it work again. So I shifted the SD pins to use 3-7 and and changed the basepin in the software, and finally, it worked. I hate to think the number of hours spent on this because of a faulty pin on a new prop demo board. Very frustrating.

    Anyway, one more question...the only way the SD test code works is when I load to eeprom and power down the board, then power it back up. When it powers up, it runs the test code. If I then press reset or try to reload the code in RAM or eeprom, it won't run unless I switch the board off then back on. Is this normal?

    Thanks.

    Win
Sign In or Register to comment.