Author |
Message |
Topic: For Beginners... |
KokkeKat
Replies: 22
Views: 11502
|
Forum: KokkeKat FAT-free SD card lib Posted: Thu Jul 14, 2011 1:17 pm Subject: For Beginners... |
Hi Manans
Thanks. If you want to write, you need to set this switch to 1 or 2:
' 2 = write unbuffered
' 1 = write buffered
' 0 = not writing
Const Sdwmode = 0
In this case, I also reco ... |
Topic: For Beginners... |
KokkeKat
Replies: 22
Views: 11502
|
Forum: KokkeKat FAT-free SD card lib Posted: Thu Jul 14, 2011 8:37 am Subject: For Beginners... |
Hi Manans
Without any information to go on, I would guess that you either have a non-working combination of developer settings or you are including an example file that doesn't work with your deve ... |
Topic: For Beginners... |
KokkeKat
Replies: 22
Views: 11502
|
Forum: KokkeKat FAT-free SD card lib Posted: Wed Jul 13, 2011 4:11 pm Subject: For Beginners... |
Hi Manans
Could you please post your developer settings from the declarations file and also the exact error messages you receive?
Kind regards
Niclas |
Topic: Write Throughput |
KokkeKat
Replies: 4
Views: 3960
|
Forum: KokkeKat FAT-free SD card lib Posted: Wed Jul 13, 2011 4:09 pm Subject: Write Throughput |
Hi Tom
I think that your questions and goal are relevant and interesting, but I haven't done any performance testing. I'm afraid I won't have time to write the code, but it should be reasonably sim ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Mon Jul 11, 2011 1:00 pm Subject: Errors with main.bas program |
Hi Neil
Just a quick notice concerning Windows file system buffering. In the example above, when creating so many subdirectories that it extends the directory cluster chain, it didn't seem to help ... |
Topic: Bugs and solutions - new and historic |
KokkeKat
Replies: 3
Views: 4011
|
Forum: KokkeKat FAT-free SD card lib Posted: Mon Jul 11, 2011 12:35 pm Subject: Bugs and solutions - new and historic |
There is a v1.0 bug in Sdcreatefileordir:. Add the two lines (at about row 1400) I have highlighted below:
' An available (previously erased) directory entry or EOD End Of Director ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Mon Jul 11, 2011 12:30 pm Subject: Errors with main.bas program |
Hi Neil
There is indeed a library bug in Sdcreatefileordir:. Thanks for helping me find it. Please add the two lines (at about row 1400) I have highlighted below:
' An available (pre ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Mon Jul 11, 2011 10:21 am Subject: Errors with main.bas program |
Hi Neil
Thank you for understanding. I will contact you on your private e-mail and we can continue the commercial conversation in private. I have edited your posting (removing your e-mail address) ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Sun Jul 10, 2011 9:12 pm Subject: Errors with main.bas program |
Dear Neil
I have chosen to share some of my development with the community as a way to "pay forward" the help I have received from other people. Some of my development can be found as projects on w ... |
Topic: For Beginners... |
KokkeKat
Replies: 22
Views: 11502
|
Forum: KokkeKat FAT-free SD card lib Posted: Fri Jul 08, 2011 6:52 pm Subject: For Beginners... |
Hi Manans
I'm sorry, but I can't provide beginner's help. Please understand that I am providing this free of charge, which means the users need to learn on their own. This support forum is primaril ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Fri Jul 08, 2011 6:30 pm Subject: Errors with main.bas program |
Hi Neil
There is currently no support for deletion of file or subdirectory. While I can see the benefit from having it, I haven't found the time to develop it. If you would like to contribute, plea ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Fri Jul 08, 2011 12:10 pm Subject: Errors with main.bas program |
Hi Neil
Please see the comments for Sdcreatefileordir in "KokkeKat_FAT-free_SD_lib_code.bas". Here it says (among other things):
' Input variables:
' Sdstartdirclusterd = the directory ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Sun Jul 03, 2011 6:45 pm Subject: Errors with main.bas program |
Hi Neil
Please google for tutorials on FAT32. Make sure you understand:
* the concept of cluster chains
* the relationship between cluster / sector in cluster / byte in sector
* the FAT, fil ... |
Topic: List SUBDir |
KokkeKat
Replies: 6
Views: 4146
|
Forum: KokkeKat FAT-free SD card lib Posted: Sun Jul 03, 2011 1:29 pm Subject: List SUBDir |
Hi Neil
The trailing letter (when it exists) means:
d = DWORD
l = LONG
w = WORD
b = BYTE
I use them especially when I overlay two variables. (See the declarations file for examples.)
Kind ... |
Topic: Errors with main.bas program |
KokkeKat
Replies: 38
Views: 14833
|
Forum: KokkeKat FAT-free SD card lib Posted: Sat Jul 02, 2011 5:36 pm Subject: Errors with main.bas program |
Hi Neil
You can decide to only work with the root directory. I think the maximum number of files is 512 or 511 (or something like that).
You can create the directories and files with your PC (but ... |
|