> Matt do you have any write to sd card samples ? > > Sunish Yes, see 18f4620_sd_card.jal
I however do not have a write example with fat32, but you can simply go into a file with fat32, then use sd card write procedures. Although my fat32 lib works great, should put more work into it for more samples, etc. The main difference between my fat32 and other fat32 libs on the net is the ability to call a file by number instead of name. This has advantages and disadvantages. Mainly, I am able to randomly call a file. In the case of a mp3 player, you need random play. But also, if you have a LCD with a bunch of files displayed, the lib only needs a file number from the user instead of a entire file name and the lib will know what file you are talking about. Imagine my sample which sends the directory to the serial port, It would take some time for me request a file name via serial port instead of a file number. This results in less searching on the media as well. I haven't used other fat32 libraries, so I don't really know how they work. This method requires that you store file locations in memory, so you are limited by the max amount of files per directory due to ram space. With 23k256 in circuit, you can have 10,000 files per directory (i forget the exact number), so this fixes that limitation. If you want to write file names to fat32, you have to pay a royalty fee if you are selling your product. There may be a version out there that is legal to sell, currently used for linux. Matt. Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
