Shop OBEX P1 Docs P2 Docs Learn Events
Sd card object — Parallax Forums

Sd card object

HED GROUPHED GROUP Posts: 15
edited 2011-02-10 19:29 in Propeller 1
Hello to everyone, I need help with the object SD3.01_FATEngine.spin (sd card object).
I jump from a working v1.3 to a v1.7 (actual version).
My actual settings are:
1. No rtc connected
2. WPPin := -1
3. CDPin := -1
4. I2CLock := -1
5. CD pin and WP pin are not connected
==================================
My issue is the following:

The changedirectory routing fails.
I run the listdirectory after run changedirectory(string("MYFOLDER")) that is one of the directory
in the root. I get Nothing on screen but if I don't run the changedirectory
I get the list of folders and files in the root.
That means the object not point the SD folder positioned by the changedirectory.
what happen with the changedirectory rutine.

I can open a file, close a file, read to a file, filesize, fileseek that means the connections are right, the start and the mount rutines are working.


Thanks for your help in advance.


Forum.rar

Comments

  • KyeKye Posts: 2,200
    edited 2011-02-10 19:29
    That rountine should not fail. Are you using the demo code? It should not have any probems.

    Also, check if you can access the folder using your computer. The folder may be corrupted.

    Also, try creating a new folder with the demo code and "cding" into it. This should verify everything works.
Sign In or Register to comment.