Shop OBEX P1 Docs P2 Docs Learn Events
SD Card Ascess — Parallax Forums

SD Card Ascess

dermotdermot Posts: 26
edited 2011-09-25 18:15 in Propeller 1
Hi,

Just wanted to know if it is possible to open folders within the root directory of the SD??. Any ideas on how I might do this, the fsrw.spin does not support this I believe.

Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-09-25 09:04
    The only SD card driver that supports folders is Kye's. Using that it is possible to create or open folders within the root directory or any subdirectory. You're correct, FSRW does not support that.

    Look at Application Note #6 for the latest driver.
  • KyeKye Posts: 2,200
    edited 2011-09-25 09:36
    Problem solved?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-09-25 10:08
    Kye,

    I've been using you latest driver a lot lately in different projects. I'm always amazed at how easy it is to get the SD card to work. I used to worry about pull-up resistors but lately I've just start connecting the four main wires to the Prop (and power) and it always works right away. It's great. Thanks for all your great objects.

    Duane
  • KyeKye Posts: 2,200
    edited 2011-09-25 11:34
    That won't work for anyone who connects an MMC card to your system. MMC cards are dead technology - but, I'm just saying. You need a pull up resistor on the MMC card CS line. SD cards have the pull up resistor built in to them.
  • BigFootBigFoot Posts: 259
    edited 2011-09-25 12:55
    Keep in mind that all of the propellers I/O floats during power up & initialization. It is not a good idea to let
    any of the I/O's float and using a 10K quad resistor pack for the pull ups only costs a couple cents..
  • prof_brainoprof_braino Posts: 4,313
    edited 2011-09-25 18:15
    dermot wrote: »
    if it is possible to open folders within the root directory of the SD??. Any ideas on how ....

    IF you don't need FAT support, you can have files, directories, and sub-directories using propforth. The SD is treated as "internal" to the prop system, you read and write to SD via the prop (as you would internal memory on an iPhone or mp3 player, etc). The system is designed for speed and small memory footprint.
Sign In or Register to comment.