Sd card object
HED GROUP
Posts: 15
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
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
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.