<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: SD card problem. I have interfaced SD card with Coldfire...</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160064#M5000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SIr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I downloaded your latest Fat file system for use in logging data.&amp;nbsp; In that circumstance it has a problem with the cluster calculation when opening a file larger than 8K for write.&amp;nbsp; The calculation u16Temporal =fileSize % (Sector_Size&amp;lt;&amp;lt;4) gives a sector index from 0-15 when it instead should be 0-63.&amp;nbsp; Using a u16 for the intermediate value, also poses an inherent 512Meg size limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This problem only happens when opening an existing file for writing.&amp;nbsp; You can open a new file, write 500K to it close it and read it fine.&amp;nbsp; But I do lots of appends, and then it corrupts the file system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In FAT_FileOpen() line 662&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; u16Temporal=(INT16U)FAThandle-&amp;gt;WHandler.File_Size % (FAThandle-&amp;gt;u16FAT_Sector_Size&amp;lt;&amp;lt;4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAThandle-&amp;gt;WHandler.ClusterIndex= u16Temporal/FAThandle-&amp;gt;u16FAT_Sector_Size;&lt;BR /&gt;Change this to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; u32Temporal=FAThandle-&amp;gt;WHandler.File_Size % (FAThandle-&amp;gt;u16FAT_Sector_Size&amp;lt;&amp;lt;6);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAThandle-&amp;gt;WHandler.ClusterIndex= u32Temporal/FAThandle-&amp;gt;u16FAT_Sector_Size;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2011 01:35:19 GMT</pubDate>
    <dc:creator>Darryl42</dc:creator>
    <dc:date>2011-03-31T01:35:19Z</dc:date>
    <item>
      <title>SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160052#M4988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;SD card problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;I have interfaced SD card with Coldfire CPU 5475 on evaluation board.&lt;BR /&gt;I formatted SD card for FAT 16 and wrote software for accessing files from SD card.&lt;BR /&gt;Everything works fine but following&lt;BR /&gt;The address of root directory is varying according to filename in following manner.&lt;BR /&gt;If filename is exactly 8 char, the address is correct as per my calulation.&lt;BR /&gt;If filename &amp;lt; 8 char, I have to add 32 bytes to addr calculated.&lt;BR /&gt;If filename &amp;gt; 8 char, I have to add 64 bytes to addr calculated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;can anyone tell me why this shift in root directory entry happens?&lt;BR /&gt;I have only one text file in SD card.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;Thanks in advance for your help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;Abhishek Jain.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 16:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160052#M4988</guid>
      <dc:creator>jainabhs</dc:creator>
      <dc:date>2008-05-29T16:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160053#M4989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi.&lt;/DIV&gt;&lt;DIV&gt;actually I'm working with a SD and a implementation of FAT16-32 using a Coldfire V1 QE128, are you searching in FAT table?, or in Directory entry?, if file name is long, then by each file FAT generate various directories entries in order to store long name...&lt;BR /&gt;Only one of this entries have the information of file size, date of file, and first cluster of file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 02:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160053#M4989</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-06-05T02:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160054#M4990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Erool,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I am not searching in FAT, I anm searching in directory entry.&lt;BR /&gt;Let me correct my question and let us not consider the case of long file names.&lt;BR /&gt;My quesry is, if there is only one file in SD card (after formatting it) and the filename is say 'test.cpp' then according to me I should find its entry at start (first entry) of root directory. But I find it after I add 32 bytes (at second entry) to root directory address calculated.&lt;/DIV&gt;&lt;DIV&gt;If the filename is exactly 8 chars (abcdefhg.txt) long, then I find it right at the first entry of root directory. i dont have to search it.&lt;/DIV&gt;&lt;DIV&gt;Please let me know why files with 8chars in name have their entry at the first entry of root directory and files with shorter name length have them at second entry, in case of there is only one file in SD card ?&lt;/DIV&gt;&lt;DIV&gt;My idea...&lt;BR /&gt;But as I understand now, I dont think there is any hard rule that defines location of entries in root directory. i think what I should rather do is , fetch 'RootDirMaxEntries' from SD card and search for desired filename throughout root directory.&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;Abhishek Jain&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 10:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160054#M4990</guid>
      <dc:creator>jainabhs</dc:creator>
      <dc:date>2008-06-05T10:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160055#M4991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You will need to get the max. entries and search the whole directory. Consider adding 5 files f1.txt, f2.txt etc then you add your file you are interested in then you delete the f1.txt to f5.txt. Your file will be a the 6th entry or even further on. This is due to a deleted file having the first character changed. I cannot remeber what to. The directory entires are not shifted down in the directory table.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Chris&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:04:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160055#M4991</guid>
      <dc:creator>ChrisJohns</dc:creator>
      <dc:date>2008-06-05T11:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160056#M4992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If you would llike to see some working sample code &lt;A href="http://elm-chan.org/fsw/ff/00index_e.html" rel="nofollow" target="_blank"&gt;look here.&lt;/A&gt;&lt;BR /&gt;There is code to enum a directory, so I am sure this would help.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 20:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160056#M4992</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-05T20:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160057#M4993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi jainabhs.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I understand your trouble, and off course, if you format SD card and write your file then we hope have only this file, but is posible that your computer still infected by some virus that usually writes files in SD card, or USB memory... etc, those files usually are hidden.&lt;/DIV&gt;&lt;DIV&gt;I recommend use a software tool like a Hexadecimal editor that allow see the context of your SDCard, and see sector where are allocated directory entries, maybe you could discover something in the mysterious entry.&lt;/DIV&gt;&lt;DIV&gt;I also use a SDformatter that format SD card in FAT16, but differs of formatter of OS(windows) that this formatter also erase memory in data space, all bytes are set to 0xFF.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you want let me a email address in order to sent you this tools.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 21:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160057#M4993</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-06-05T21:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160058#M4994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Another consideration is: If file name have letters in lowercase, then you will find a aditional entry similar to a long file entry in order to save file name in lowercase.&lt;BR /&gt;Maybe this is your case, i'll add two images with a directory entries, one have a entry with a file that have name and extension in uppercase(in directory entry sectors only have one entry), and other with the same file but have letters in lowercase(two entries for this file).&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by erooll on &lt;SPAN class="date_text"&gt;2008-06-06&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:51 AM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by erooll on &lt;SPAN class="date_text"&gt;2008-06-06&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:56 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 21:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160058#M4994</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-06-06T21:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160059#M4995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Lowercase&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 21:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160059#M4995</guid>
      <dc:creator>erooll</dc:creator>
      <dc:date>2008-06-06T21:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160060#M4996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thank you very much erool,&lt;/DIV&gt;&lt;DIV&gt;This is exactly what is happening with me. It is much clearer now.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks again.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Abhishek Jain.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 11:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160060#M4996</guid>
      <dc:creator>jainabhs</dc:creator>
      <dc:date>2008-06-09T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160061#M4997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys am trying to interface SD Card with Coldfire V1 uC. The problem is dat I have written da code for little endian and later realized dat the uC am working with is big endian, as a result am not able to read boot sector and the program shows error 'NOT_FAT32'. Is thr any way to change uC from big endian mode to little endian mode!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plz help....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 17:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160061#M4997</guid>
      <dc:creator>vicky07</dc:creator>
      <dc:date>2009-06-19T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160062#M4998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I got the solution to my problem.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 17:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160062#M4998</guid>
      <dc:creator>vicky07</dc:creator>
      <dc:date>2009-06-22T17:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160063#M4999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The FAT File System of freescale with some bug fixes was posted on:&lt;/P&gt;&lt;P&gt;&lt;A href="http://code.google.com/p/brtos/downloads/list" rel="nofollow" target="_blank"&gt;http://code.google.com/p/brtos/downloads/list&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now supports up to 512 MB and the list function is working&amp;nbsp;correctly.&lt;/P&gt;&lt;P&gt;The corruption of files was also fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 09:12:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160063#M4999</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2010-09-15T09:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160064#M5000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SIr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I downloaded your latest Fat file system for use in logging data.&amp;nbsp; In that circumstance it has a problem with the cluster calculation when opening a file larger than 8K for write.&amp;nbsp; The calculation u16Temporal =fileSize % (Sector_Size&amp;lt;&amp;lt;4) gives a sector index from 0-15 when it instead should be 0-63.&amp;nbsp; Using a u16 for the intermediate value, also poses an inherent 512Meg size limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This problem only happens when opening an existing file for writing.&amp;nbsp; You can open a new file, write 500K to it close it and read it fine.&amp;nbsp; But I do lots of appends, and then it corrupts the file system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In FAT_FileOpen() line 662&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; u16Temporal=(INT16U)FAThandle-&amp;gt;WHandler.File_Size % (FAThandle-&amp;gt;u16FAT_Sector_Size&amp;lt;&amp;lt;4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAThandle-&amp;gt;WHandler.ClusterIndex= u16Temporal/FAThandle-&amp;gt;u16FAT_Sector_Size;&lt;BR /&gt;Change this to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; u32Temporal=FAThandle-&amp;gt;WHandler.File_Size % (FAThandle-&amp;gt;u16FAT_Sector_Size&amp;lt;&amp;lt;6);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAThandle-&amp;gt;WHandler.ClusterIndex= u32Temporal/FAThandle-&amp;gt;u16FAT_Sector_Size;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 01:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160064#M5000</guid>
      <dc:creator>Darryl42</dc:creator>
      <dc:date>2011-03-31T01:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: SD card problem. I have interfaced SD card with Coldfire...</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160065#M5001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/t5/user/viewprofilepage/user-id/23267" target="_self"&gt;Darryl42&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this bug correction. However, right now i'm using a better FAT file system implementation. This new file system supports FAT32 and directory structures. You can download the code in this links:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coldfire JM128 Demo:&lt;/P&gt;&lt;P&gt;&lt;A href="http://brtos.googlecode.com/files/TWR-LCD-FatFS.rar" rel="nofollow" target="_blank"&gt;http://brtos.googlecode.com/files/TWR-LCD-FatFS.rar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coldfire QE128 Demo:&lt;/P&gt;&lt;P&gt;&lt;A href="http://brtos.googlecode.com/files/BRTOS%20CFV1%20SD%20Card%20%2B%20FatFS.rar" rel="nofollow" target="_blank"&gt;http://brtos.googlecode.com/files/BRTOS%20CFV1%20SD%20Card%20%2B%20FatFS.rar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 18:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SD-card-problem-I-have-interfaced-SD-card-with-Coldfire/m-p/160065#M5001</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2011-04-06T18:52:40Z</dc:date>
    </item>
  </channel>
</rss>

