Shop OBEX P1 Docs P2 Docs Learn Events
Emulate an SD card — Parallax Forums

Emulate an SD card

fisiofisio Posts: 38
edited 2009-10-29 03:51 in Propeller 1
Someone managed to emulate an SD card with a
propeller in order to send data to a device with a screen,
how could it be a camera or a digital photo frame?
Thanks

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Fisio
www.elettronicamente.com
www.usb.elettronicamente.com

www.propeller.elettronicamente.com

Open Office file which contains an index of all Propeller Forum
Open Office file which contains all OBEX object
·

Comments

  • MagIO2MagIO2 Posts: 2,243
    edited 2009-10-28 14:45
    Guess you don't get an answer because it's simply not possible.

    What is done with the SD card drivers is using the SPI mode of SD-cards. That's because SPI mode is the only mode you are allowed to use without paying to the SD card consortium. And without paying you don't get the permission and you don't get the full specs of the SD interface.
    All consumer products which have the SD logo on it support the real SD mode which uses 4 data lines instead of one. This is what you'd have to emulate. And you'd have to emulate it at a clock frequency of 20MHz (if I remember that correctly) which is simply to fast for the propeller.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-10-28 14:49
    Didn't Rayman do a project like this a while back?

    I'm pretty sure his work-around was to talk to the SD card from a Propeller while the screen wasn't with both connected,
    but only he could tell us for sure.

    OBC

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

    Visit the: The Propeller Pages @ Warranty Void.
  • hinvhinv Posts: 1,252
    edited 2009-10-29 03:51
    I am not sure what kind of speed you need, but it would be possible to use a real SDcard and just swap control of it back and forth between the propeller and whatever device you are controlling.
    There is an article in Circuit Cellar about a year back on a project where the author did that.
    Your limitations are:
    You cannot go much beyond 2MB/Sec with the current drivers
    If you keep writing the same blocks on the SDcard, it will get slower and slower.
    You(obviously) with this scheme cannot read and write at the same time.

    Doug
Sign In or Register to comment.