Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/17/05 12:36
Read: times


 
#99553 - more...
Responding to: ???'s previous message
The MMC/SD card doesn't care what file system is on it - thus the Sandisk doc does not mention it. As mentioned by Craig - see Microsoft for the FAT file spec. A shortcut that may work for you is to format the card on a PC and to write a file of 0's for the full size of the device. Assuming you only want to write one file you can read the directory for the first sector of the file and write sequentially from that point. How you remember where you last wrote is another issue - you can search for a sector of 0's on start up. Anyhow, this means you can read the file on a PC without having to worry about a file system on your embedded system. Extracting the data from this one large file can be done by a custom program on the PC. For embedded system with very small ram sizes (< 512bytes) you can also just waste space by writing small amounts of data per sector and just padding the rest of the 52 bytes. Again, you need a custom program on the PC to extract the data. These tricks may be of use to you.





List of 20 messages in thread
TopicAuthorDate
SD Card Host Develoment SDK            01/01/70 00:00      
   SD for...?            01/01/70 00:00      
      SD Card Host Development SDK            01/01/70 00:00      
   Two issues            01/01/70 00:00      
      SD Card FAT32 Host programming            01/01/70 00:00      
         more...            01/01/70 00:00      
            FAT file formats etc            01/01/70 00:00      
               Fat Format Specs            01/01/70 00:00      
   SD Card Host Development            01/01/70 00:00      
      FAT32???            01/01/70 00:00      
         FAT may be enough            01/01/70 00:00      
            SD Cards and interface code            01/01/70 00:00      
            So why FAT32?            01/01/70 00:00      
               SD Card Host Development tools            01/01/70 00:00      
                  Yes Walter; what about you, Vimal?            01/01/70 00:00      
                     You are right, Walter            01/01/70 00:00      
   Microsoft FAT32 File Spec            01/01/70 00:00      
      SD Card FAT 32            01/01/70 00:00      
   some links            01/01/70 00:00      
      SD Card Host Development tools            01/01/70 00:00      

Back to Subject List