<?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>topic Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204181#M9575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I just published a revised version of FAT Lite. Some improvements were taken from this thread (thx!),&amp;nbsp; the others were the result of the efforts of me and my team. &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://code.google.com/p/sdfatlite/"&gt;http://code.google.com/p/sdfatlite/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 00:28:37 GMT</pubDate>
    <dc:creator>guille</dc:creator>
    <dc:date>2013-01-03T00:28:37Z</dc:date>
    <item>
      <title>Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204154#M9548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use 9S08JM60 SD FAT software in MCF51 Badge Board but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;Maybe someone already had these troubles and could help me in this job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to run a (real) datalogger software designed for automotive applications, based on AP32.&lt;/P&gt;&lt;P&gt;I'll port the AP32 software to MCF51 after SD is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides the usual voltage/frequency/temperature inputs, I'll use QG8s as interface coprocessors - I gave up trying to imagine what I'll connect in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 06:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204154#M9548</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-07-31T06:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204155#M9549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some progress done:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. FAT_Read_Master_Block needed byte struct alignment setting in order to return coherent results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. File not found showed me how stupid I am, forgetting that XP uses hidden extension format so LOG.TXT turns out to be LOG.TXT.TXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is missing: FileWrite and FileClose does not seem to be working, any hints??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 06:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204155#M9549</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-08-04T06:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204156#M9550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found a bug in SD_Write_Bloc (SD.C)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This software implements a software timer - wich is against Flexis recommendations - after sending the block to be written. It tipically worked on 9S08JM60 but crashed in MCF51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The changes were from:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=============================================&lt;/P&gt;&lt;P&gt;for(u16Counter=0;u16Counter&amp;lt;BLOCK_SIZE;u16Counter++);&lt;/P&gt;&lt;P&gt;if((ReadSPIByte() &amp;amp; 0x0F) != 0x05)&amp;nbsp;&lt;/P&gt;&lt;P&gt;=============================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To:&lt;/P&gt;&lt;P&gt;=======================================================================&lt;/P&gt;&lt;P&gt;SD_response=0xFF; // #001 created this variable&lt;BR /&gt;while (SD_response==0xFF) SD_response=ReadSPIByte(); // #001 wait for SD response &amp;lt;&amp;gt; 0xFF&lt;BR /&gt;if((SD_response &amp;amp; 0x0F) != 0x05)&amp;nbsp; // #001 checks if response = 0101 = data accepted&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPI_SS=DISABLE;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(WRITE_DATA_FAILS);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;========================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Preliminary test appears to be working.&lt;/P&gt;&lt;P&gt;And I look like a lunatic, talking to myself.&lt;BR /&gt;At least maybe it helps someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 11:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204156#M9550</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-08-04T11:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204157#M9551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to store some data on a SD card using my JMBADGE. I found out that the SD_PRESENT pin is not PTB7 but PTF3, at least in the Rev. C board.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I've changed the code in the SD_Write_Block(...) routine, I can't get it work. How should be the byte struct alignment setting in the FAT_Read_Master_Block routine? How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the sd car reader webcast but, there is a .pdf or some kind of application note explaining the FAT API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 10:05:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204157#M9551</guid>
      <dc:creator>baja_usb</dc:creator>
      <dc:date>2009-10-12T10:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204158#M9552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The byte struct alignment is a codewarrior setting, located in compiler options.&lt;/P&gt;&lt;P&gt;The FAT API I used is an 8-bit one, I could not find the powerpoint file that explained the Lite FAT but you could start digging at: &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=DEMOFLEXISJMSD&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" target="test_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=DEMOFLEXISJMSD&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 21:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204158#M9552</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-10-12T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204159#M9553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I corrected the byte struct alignment and managed to create a text file. In the PC, running Window's Vista (32 bits) the Window's explorer shows the file in the SD card with the right name, the right size but when I try to open the file, the system can't find the file. In my Linux partition, I can open the file without any problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be some issue in the CloseFile routine, I think that is when writes the final cluster since the size of the file is read fine by the PC. Do you had the same problem? Is strange because a major error in the FAT table won't permit the read of the file, neither in the Linux system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 03:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204159#M9553</guid>
      <dc:creator>baja_usb</dc:creator>
      <dc:date>2009-10-13T03:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204160#M9554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I don't have problems. I'm working on XP.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 03:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204160#M9554</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-10-13T03:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204161#M9555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having the same problem - can create a file, right name, right size, but Windows vista can't find the file when i try to open it.&amp;nbsp; Did you solve your problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers, Norman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 12:49:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204161#M9555</guid>
      <dc:creator>HummingbirdElec</dc:creator>
      <dc:date>2010-03-01T12:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204162#M9556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, solved - just changed all file names to capitals - not sure why it works, but main thing is that it does!!!!&amp;nbsp;&amp;nbsp; If anybody knows why, it would be interesting to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 13:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204162#M9556</guid>
      <dc:creator>HummingbirdElec</dc:creator>
      <dc:date>2010-03-01T13:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204163#M9557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, I am having some problem with my JM60 SD card routine too.&lt;/P&gt;&lt;P&gt;However, I am storing data from my ADC to SD card as .wav file.&lt;/P&gt;&lt;P&gt;I managed to close the file correctly but I can't write more than 2MB for 8k format, &amp;amp; 1MB for 4k format.&lt;/P&gt;&lt;P&gt;Meaning 2MB only able to cater for approx 5 mins of recording.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find out if our problems are related? or anyone has encountered similiar issue.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;XJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 19:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204163#M9557</guid>
      <dc:creator>xiujiang</dc:creator>
      <dc:date>2010-03-01T19:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204164#M9558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 09:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204164#M9558</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2010-09-15T09:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204165#M9559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Celso...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't believe I'm as stupid as you said before when I read your post I past over the part you said about hidden extension... That was the problem...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now.. With mi badge board MC9S08JM60&amp;nbsp;I can't find the byte aligned you mentioned... Or is it only for CFv1 MCUs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to learn more about FAT, you also mentioned a lite FAT guide.... have you found it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 07:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204165#M9559</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2011-06-03T07:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204166#M9560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I'd like to learn more about FAT, you also mentioned a lite FAT guide.... have you found it?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where else but?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/File_Allocation_Table" rel="nofollow" target="_blank"&gt;http://en.wikipedia.org/wiki/File_Allocation_Table&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 14:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204166#M9560</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2011-06-03T14:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204167#M9561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tom!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll take a look at that... Also I ment not only FAT information, but information about how to implement it with MCUs... I try reading FAT codes, but I was thinking about a tutorial or something like that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway.. your help is greatly appreciatted! THANKS!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 21:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204167#M9561</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2011-06-03T21:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204168#M9562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Celso, I've found the presentation you were talking about... It explain Lite FAT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it can be downloaded from here: &lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/SDReaderWebcastPresentation.pdf" rel="nofollow" target="_self"&gt;link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, on Freescale website there's a video explaining this presentation: &lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=SDCARDREADER_TRAINING" rel="nofollow" target="_self"&gt;SD Card Training by Freescale&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps to anyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 21:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204168#M9562</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2011-06-03T21:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204169#M9563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sebastian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, sorry for my late reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took 2 days off for extended weekend - guess where? - Bs Aires.&lt;/P&gt;&lt;P&gt;I had to fulfill my quota of Bifes de Chorizo and malbec wines so Argentina is the best place. Good reason, huh?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Honestly I didn't see this subject since 2009, but I checked and the byte struct alignment is a codewarrior setting, located in compiler options﻿. It is little endian/big endian option. CW default is one and the FAT driver needed the opposite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Saludos,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 04:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204169#M9563</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2011-06-06T04:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204170#M9564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Celso!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you were visiting my country? Great! I hope you enjoy it... I've got no doubt about Argentine's meat and wines... they're great! I really love "asado".&lt;/P&gt;&lt;P&gt;Bs Aires is not my preferred city, it's too messy, people live with lot of stress that's the problem of being a Capital City and a really big one. I live in Rosario, the second city of the country... and I really love it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, I've found struct aligment setting, manage to change it and now it's working perfectly... But I want it to know what does it mean... Or how you realize the problem were there, I guess it could take a mi a lifetime to figure it out.. I really don't pay much attention on codewarrior settings, because till now I never had to deal with them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! and Saludos!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 21:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204170#M9564</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2011-06-06T21:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204171#M9565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad you solved your problem.&lt;/P&gt;&lt;P&gt;The problem is related to data organization.&lt;/P&gt;&lt;P&gt;It's quite simple, take a 32-bit example the hexa # 3F528644&lt;/P&gt;&lt;P&gt;It could be stored sequentially in memory like:&lt;/P&gt;&lt;P&gt;3F, 52, 86, 44 (MSB fist)&lt;/P&gt;&lt;P&gt;or like:&lt;/P&gt;&lt;P&gt;44, 86, 52, 3F (LSB first)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding Rosario, it's my preference too (Fito, Les Luthiers, ...) but I was with my wife her preference is shopping. So we went to Bs As.&lt;/P&gt;&lt;P&gt;If you wanna discuss further pls do it in private because it is out of scope of this forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Saludos,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Celso&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 21:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204171#M9565</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2011-06-06T21:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204172#M9566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;Endian order and struct alginment are two different things.&lt;/P&gt;&lt;P&gt;Did you change "Struct Align".&lt;/P&gt;&lt;P&gt;Which do you change?&lt;/P&gt;&lt;P&gt;It's not 100% clear to me....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 23:42:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204172#M9566</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2011-06-06T23:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems porting SD FAT to MCF51 JM Badge Board - Datalogger application</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204173#M9567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've change Struct Align combo Box to be BYTE, under codewarrior project settings, under coldfire settings... It's available for CFv1, and it's no available for S08JM family&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso, in your example wich is byte aligned? and what's the alignemnt of the other?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 23:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-porting-SD-FAT-to-MCF51-JM-Badge-Board-Datalogger/m-p/204173#M9567</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2011-06-06T23:56:00Z</dc:date>
    </item>
  </channel>
</rss>

