Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 59 matches
www.mcselec.com Forum Index
Author Message
  Topic: List SUBDir
KokkeKat

Replies: 6
Views: 1796

PostForum: KokkeKat FAT-free SD card lib   Posted: Sat Jul 02, 2011 5:17 pm   Subject: List SUBDir
Hi Ernst

You need to find the cluster number, in which SUBDIR2 starts. Inside the loop that your describe, do something like this:

Dim Esddirfound As Bit

Sdstatus = 0
Gosub Sdinit

If Sd ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Sat Jul 02, 2011 12:02 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, file al ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Sat Jul 02, 2011 10:15 am   Subject: Errors with main.bas program
Hi Neil

I would recommend you to read the pdf document found in the zip file, for a short explanation of the FAT16/32 file systems, but basically, the smallest addressable unit in the file system i ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Fri Jul 01, 2011 8:21 pm   Subject: Errors with main.bas program
Hi Mark

Thanks! I wasn't aware of this.

Kind regards

Niclas
  Topic: List SUBDir
KokkeKat

Replies: 6
Views: 1796

PostForum: KokkeKat FAT-free SD card lib   Posted: Fri Jul 01, 2011 8:19 pm   Subject: List SUBDir
Hi Ernst

Thanks for your appreciation! Smile

The dirlist routine is meant to be called from a loop, limited by Sddirliststartpoint=1, Sddirlistendpoint=1, or Sdstatus=32.
When you want to get a ...
  Topic: Before posting, check here first for general advice
KokkeKat

Replies: 0
Views: 1331

PostForum: KokkeKat FAT-free SD card lib   Posted: Fri Jul 01, 2011 10:14 am   Subject: Before posting, check here first for general advice
This thread will only contain my posting of general advice, so please don't post any questions here.

* You can find the SD lib files on the page for the AN #186 download: http://www.mcselec.com/ind ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Fri Jul 01, 2011 9:56 am   Subject: Errors with main.bas program
Hi Neil

I'm happy to hear that you found the problem. Smile

PSU problems are tricky, partly because you tend to forget that it exists. This actually reminds me of a similar problem you might exper ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Wed Jun 29, 2011 7:43 pm   Subject: Errors with main.bas program
Hi Neil

Could you please let me know the manufacturer part number for the cards you are having problems with? Maybe I can buy one of them and try.

There's another thing you should know: If you j ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Wed Jun 29, 2011 9:50 am   Subject: Errors with main.bas program
Hi Neil

Thanks for your swift replies. One thing I noticed when I developed the lib is that the implementations of the SD standard can vary quite much from manufacturer to manufacturer.

My first ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Tue Jun 28, 2011 8:53 am   Subject: Errors with main.bas program
Hi Neil

Hmmm, I don't recognize the labels and routines mentioned in your error messages. For example, my SD lib doesn't use file handles. Are you perhaps mixing my lib with AVR-DOS, the other FAT3 ...
  Topic: 3310 library
KokkeKat

Replies: 4
Views: 1942

PostForum: KokkeKat FAT-free SD card lib   Posted: Sun Jun 26, 2011 7:39 pm   Subject: 3310 library
Hi Neil and Anders

The Nokia 3310 library isn't necessary for the SD library. It is included simply because I used it when developing and debugging.

The files included in the SD lib package is a ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Sun Jun 26, 2011 7:26 pm   Subject: Errors with main.bas program
Hi Twenty

Sorry for my late replies. You have managed to post questions on the first day of both my last two vacations. Smile

The error messages appear because you have chosen both Const Sdusefind ...
  Topic: KokkeKat FAT !
KokkeKat

Replies: 1
Views: 2031

PostForum: KokkeKat FAT-free SD card lib   Posted: Mon Jun 06, 2011 10:41 am   Subject: KokkeKat FAT !
Hi

Please see the files named Example_*.bas, Main.bas, and KokkeKat FAT-free SD library Application Note v1.0.pdf.

If anything is unclear after reading them, please post a detailed description o ...
  Topic: Errors with main.bas program
KokkeKat

Replies: 38
Views: 6604

PostForum: KokkeKat FAT-free SD card lib   Posted: Mon Jun 06, 2011 10:31 am   Subject: Errors with main.bas program
Hi Twenty

Could you please post your "developer switches" from include file KokkeKat_FAT-free_SD_lib_decl.bas?

The errors suggest that the data declarations are not complete.

Kind regards

...
 
Page 4 of 4 Goto page Previous  1, 2, 3, 4
All times are GMT + 1 Hour
Jump to: