<?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 MFS bug when using another brands of sdcard? Impedance control, noise? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482138#M15795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some tests here using C:\Freescale\Freescale_MQX_4_1_1\mfs\examples\sdcard&amp;nbsp; with MQX 4.1.1 and&amp;nbsp; my k64 custom board ( I already make my own board based on frdm-k64f)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and realized&amp;nbsp; the error below only using a different brand of SD card of 2 GB, for example, using kingston brand the problem doesn't occours, but using sandisk brand there is this problem when opening filesystem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Open file system */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; filesystem_handle = fopen(filesystem_name, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_code = ferror(filesystem_handle);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error_code == MFS_NOT_A_DOS_DISK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pDEBUG("NOT A DOS DISK! You must format to continue.\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (error_code != MFS_NO_ERROR)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pDEBUG("Error opening filesystem:%d - %s\n", error_code, MFS_Error_text((uint32_t)error_code));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error code returned when I'm opening the filesystem&amp;nbsp; is equal -1.&amp;nbsp;&amp;nbsp;&amp;nbsp; After this error occours, there is no more possible to use SD card (inclusive using kingston brand) to record data. There is necessary restart MFS stack (restarting MQX).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that there is a problem in the moment of open the filesystem after partition manager is installed sucessfully. Starnge is occours only using sandisk brand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already retested with another sdcard card units and the problem is the same with SANDISK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already checked with SD Insight app on Android to verify if this San Disk Card is fake, but it isn't. It work ok on a PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange is that in frdm-k64f work as Kingston as Sandisk brands, but in my custom board, works only with&amp;nbsp; Kingston. Why.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thiago Wiezbicki

This post : &lt;A href="https://community.freescale.com/message/576728#576728" target="test_blank"&gt;https://community.freescale.com/message/576728#576728&lt;/A&gt;            say that can be the signal strength problem, dos anybody agree? Can I decrease the clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2016 13:44:59 GMT</pubDate>
    <dc:creator>thiagow</dc:creator>
    <dc:date>2016-01-11T13:44:59Z</dc:date>
    <item>
      <title>MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482138#M15795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some tests here using C:\Freescale\Freescale_MQX_4_1_1\mfs\examples\sdcard&amp;nbsp; with MQX 4.1.1 and&amp;nbsp; my k64 custom board ( I already make my own board based on frdm-k64f)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and realized&amp;nbsp; the error below only using a different brand of SD card of 2 GB, for example, using kingston brand the problem doesn't occours, but using sandisk brand there is this problem when opening filesystem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Open file system */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; filesystem_handle = fopen(filesystem_name, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_code = ferror(filesystem_handle);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error_code == MFS_NOT_A_DOS_DISK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pDEBUG("NOT A DOS DISK! You must format to continue.\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (error_code != MFS_NO_ERROR)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pDEBUG("Error opening filesystem:%d - %s\n", error_code, MFS_Error_text((uint32_t)error_code));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error code returned when I'm opening the filesystem&amp;nbsp; is equal -1.&amp;nbsp;&amp;nbsp;&amp;nbsp; After this error occours, there is no more possible to use SD card (inclusive using kingston brand) to record data. There is necessary restart MFS stack (restarting MQX).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that there is a problem in the moment of open the filesystem after partition manager is installed sucessfully. Starnge is occours only using sandisk brand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already retested with another sdcard card units and the problem is the same with SANDISK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already checked with SD Insight app on Android to verify if this San Disk Card is fake, but it isn't. It work ok on a PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange is that in frdm-k64f work as Kingston as Sandisk brands, but in my custom board, works only with&amp;nbsp; Kingston. Why.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thiago Wiezbicki

This post : &lt;A href="https://community.freescale.com/message/576728#576728" target="test_blank"&gt;https://community.freescale.com/message/576728#576728&lt;/A&gt;            say that can be the signal strength problem, dos anybody agree? Can I decrease the clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 13:44:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482138#M15795</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2016-01-11T13:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482139#M15796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using two sdcards,&amp;nbsp; I already tested in PC and they're original and working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using sdcard.c example&amp;nbsp; with a Kingston SD I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;shell&amp;gt; Installing MFS over partition...&lt;/P&gt;&lt;P&gt;SD card installed to a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And all work fine, I can read and write. But,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a sdcard.c example with a SAnDisk card:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;shell&amp;gt; Installing MFS over SD card driver...&lt;/P&gt;&lt;P&gt;Error opening filesystem: UNKNOWN ERROR !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when I push the SanDisk card card:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error uninstalling filesystem.&lt;/P&gt;&lt;P&gt;SD card uninstalled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't read and write,;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now When I try to use the Kingston card again, the MFS broke and show the same error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; Installing MFS over SD card driver...&lt;/P&gt;&lt;P&gt;Error initializing MFS: UNKNOWN ERROR !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have any idea about this problem? I believe that the SanDisk card operate in a different way. Maybe the clock of the ESDHC channel is high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I decrease this clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 12:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482139#M15796</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2016-01-19T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482140#M15797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello thiagow,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the sdcard example located at the path: C:\Freescale\Freescale_MQX_4_2\mfs\examples&lt;/P&gt;&lt;P&gt;I tested using MQX4.2 and the TWR-K64 board without issues. I tried with the below sdcards:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Panasonic&amp;nbsp;&amp;nbsp;&amp;nbsp; 64MB&lt;/P&gt;&lt;P&gt;Panasonic&amp;nbsp;&amp;nbsp;&amp;nbsp; 1GB&lt;/P&gt;&lt;P&gt;Kingston&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8GB&lt;/P&gt;&lt;P&gt;Maxell&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8GB&lt;/P&gt;&lt;P&gt;SanDisk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4GB&lt;/P&gt;&lt;P&gt;SanDisk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4GB&lt;/P&gt;&lt;P&gt;Adata&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8GB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some changes between MQX4.1.1 and MQX4.2. Could you please try using MQX 4.2 version??&lt;/P&gt;&lt;P&gt;MFS supports FAT12, FAT16, and FAT32 file systems, so cloud you please double check if the disks have a different file system or if it is unformatted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 22:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482140#M15797</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-01-21T22:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482141#M15798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two card are formated as FAT32, I already checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's very complicated to migrate from MQX 4.1.1 to 4.2 due large changes in the bsp, psp and mainly IO libraries&amp;nbsp; (of incompatibilies of both) . Is possible use only MFS of MQX 4.2 into MQX 4.1.1 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me do a brief of my situation to be clearer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two boards:&amp;nbsp; frdm-k64f&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp; my custom board&amp;nbsp; based on the first.&amp;nbsp;&amp;nbsp;&amp;nbsp; The two boards are running the same source code:&amp;nbsp; MQX_4_1_1_LINUX_GA/mfs/examples/sdcard/demo.c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In frdm-k64 I don't have any trouble . As Kingston As SanDisk&amp;nbsp; sdcards run normally. But I realized when calling the function:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partition_handle = fopen("pm:1", NULL);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the Kingston device return a pointer and call&amp;nbsp;&amp;nbsp;&amp;nbsp; _io_mfs_install&amp;nbsp;&amp;nbsp;&amp;nbsp; over partition&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , but&amp;nbsp; in&amp;nbsp; SanDisk&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partition_handle variable&amp;nbsp;&amp;nbsp;&amp;nbsp; the value is NULL, then&amp;nbsp; _io_mfs_install&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is called&amp;nbsp;&amp;nbsp;&amp;nbsp; over sdcard&amp;nbsp;&amp;nbsp;&amp;nbsp; device because is not possible to open as a device block,&amp;nbsp; why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my custom board the Kingston sdcard runs normally equal&amp;nbsp; in the frdm-k64.&amp;nbsp; But&amp;nbsp; in SanDisk&amp;nbsp; card&amp;nbsp;&amp;nbsp; after&amp;nbsp; called&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _io_mfs_install&amp;nbsp;&amp;nbsp; over 'sdcard: '&amp;nbsp; device&amp;nbsp;&amp;nbsp; I've a error&amp;nbsp;&amp;nbsp;&amp;nbsp; when I try to open the filesystem "a:"&amp;nbsp;&amp;nbsp; calling&amp;nbsp;&amp;nbsp; fopen with "a:"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filesystem_handle = fopen("a:', NULL);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is very strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the last case, fopen returned&amp;nbsp;&amp;nbsp; NULL&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp; Debugging fopen function&amp;nbsp;&amp;nbsp; is the line below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;io_fopen.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14534600252567731 jive_text_macro" data-renderedposition="428_8_1232_144" jivemacro_uid="_14534600252567731"&gt;&lt;P&gt;file_ptr-&amp;gt;DEV_PTR = dev_ptr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if (dev_ptr-&amp;gt;IO_OPEN != NULL) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = (*dev_ptr-&amp;gt;IO_OPEN)(file_ptr, (char *)open_type_ptr, (char *)open_mode_ptr);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (result != MQX_OK) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _task_set_error(result);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mem_free(file_ptr);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } /* Endif */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; } &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value&amp;nbsp; of result in this case is:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x301e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , therefore this error&amp;nbsp;&amp;nbsp; is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FS_READ_FAULT&amp;nbsp;&amp;nbsp; in MFS filesystem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debbuging the MFS library, I discovered that MFS_Open_Device()&amp;nbsp;&amp;nbsp;&amp;nbsp; functiion return FS_READ_FAULT because&amp;nbsp; MFS_Read_device_sectors&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returned this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mfs_rw.c - MFS_Read_device_sectors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_1453460547777158 jive_macro_code jive_text_macro" data-renderedposition="740_8_1232_192" jivemacro_uid="_1453460547777158"&gt;&lt;P&gt;if ( drive_ptr-&amp;gt;BLOCK_MODE )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shifter&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seek_loc&amp;nbsp;&amp;nbsp; = sector_number;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expect_num = sector_count;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shifter&amp;nbsp;&amp;nbsp;&amp;nbsp; = drive_ptr-&amp;gt;SECTOR_POWER;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seek_loc&amp;nbsp;&amp;nbsp; = sector_number &amp;lt;&amp;lt; shifter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expect_num = sector_count &amp;lt;&amp;lt; shifter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this function (MFS_Read_device_sectors)&amp;nbsp; I discovered that my device isn't&amp;nbsp; in a Block Mode ,&amp;nbsp; therefore&amp;nbsp; the&amp;nbsp;&amp;nbsp;&amp;nbsp; expect_num&amp;nbsp;&amp;nbsp; variable received the value&amp;nbsp; -4&amp;nbsp;&amp;nbsp; ( 0xfffffffc )&amp;nbsp; . Then when the function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14534607812147145" data-renderedposition="1016_8_1232_320" jivemacro_uid="_14534607812147145"&gt;&lt;P&gt; while ( expect_num &amp;gt; 0 &amp;amp;&amp;amp; attempts &amp;lt;= max_retries )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num = read(drive_ptr-&amp;gt;DEV_FILE_PTR, buffer_ptr, expect_num);&lt;/P&gt;&lt;P&gt;#if MQX_USE_IO_OLD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( num == IO_ERROR )&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( num &amp;lt; 0 )&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error = MFS_READ_FAULT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if ( num &amp;gt; 0 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expect_num -= num;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buffer_ptr += num &amp;lt;&amp;lt; (drive_ptr-&amp;gt;SECTOR_POWER - shifter);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attempts = 0; /* there is a progress, reset attempts counter */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attempts++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The num variable in this case is 5 and below&amp;nbsp; , in the same function of MFS MFS_read_device_sectors I've the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14534615950587092 jive_macro_code jive_text_macro" data-renderedposition="1441_8_1232_304" jivemacro_uid="_14534615950587092"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( expect_num &amp;gt; 0 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;#if MQX_USE_IO_OLD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error = drive_ptr-&amp;gt;DEV_FILE_PTR-&amp;gt;ERROR;&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error = errno;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error == MFS_NO_ERROR &amp;amp;&amp;amp; expect_num)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Ensure that error code is always set if less than requested data was read */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error = MFS_READ_FAULT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (processed)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *processed = ((sector_count&amp;lt;&amp;lt;shifter) - expect_num) &amp;gt;&amp;gt; shifter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return error;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And because expect_num is -4&amp;nbsp;&amp;nbsp;&amp;nbsp; the MFS_READ_FAULT&amp;nbsp; is set and all the errors occours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could&amp;nbsp; be the cause of these errors only with SanDisk (kingston works great) in my custom board and why don't occours in frdm-k64f board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be the PCB vias of my custom board? (I did the impedance control of them using the same lenght for all related of sdcard)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And... why only occours when I install the MFS over sdcard instead over the partition?&amp;nbsp; It's very difficult to solve this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 11:28:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482141#M15798</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2016-01-22T11:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482142#M15799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the new information that you provide in your last post, seems clearly that you are having hardware issues,&amp;nbsp; since you didn´t had the problem with FDRM-K64F board but your custom board it is having this peculiar situation,&amp;nbsp; so my advise it is to review and measure the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Voltage Level of all pads related to the SD need to be at 3.3 +-0.3v&lt;/P&gt;&lt;P&gt;b) Frequency Operation, in this case review if your oscillator or crystal it is having JITTER! which affects the Swing of the SD Cards Signal providing delays in the response and causing errors.&lt;/P&gt;&lt;P&gt;c) Layout.&amp;nbsp; Check if the layout design of the SD Card it is not affected by another EMC devices like microphones, motor, inductors you know any magnetic or electric field that may causing parasite currents affecting the delays.&lt;/P&gt;&lt;P&gt;It would be great to see and compare the signals from the FRDM and the Custom board with the same Card to see what efect it is causing the hardware problem.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 18:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482142#M15799</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-01-25T18:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482143#M15800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with you, but its strange the problem occurs only determinate brand of SD Cards,&amp;nbsp; following my tests:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) My voltage it's ok, its 3.33 V without ripple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) About the frequency, I believe that decreasing the frequency from 25 MHz to 400 kHz could solve the problem with SanDisk brand, I did the code changes below, but without working in lower frequencies with Sandisk (Kingston, workds normally with this frequency):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;esdhc.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14537505864799857 jive_text_macro" data-renderedposition="239_8_1232_96" jivemacro_uid="_14537505864799857"&gt;&lt;P&gt;/* in esdhc.h */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* ESDHC standard baud rates */&lt;/P&gt;&lt;P&gt;/* #define ESDHC_DEFAULT_BAUDRATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (25000000) */&lt;/P&gt;&lt;P&gt;#define ESDHC_DEFAULT_BAUDRATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (400000)&lt;/P&gt;&lt;P&gt;#define ESDHC_INIT_BAUDRATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (400000)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;init_esdhc.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14537506919885000 jive_macro_code jive_text_macro" data-renderedposition="419_8_1232_80" jivemacro_uid="_14537506919885000" modifiedtitle="true"&gt;&lt;P&gt;const ESDHC_INIT_STRUCT _bsp_esdhc0_init = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* ESDHC device number */ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP_SYSTEM_CLOCK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* ESDHC clock source&amp;nbsp; */ &lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that decreasing the frequency from 25 MHz to 400 kHz could solve the problem (but didn't solve), do you agree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the PCB layout I did the impedance control fo the CLK, CMD, DAT0, DAT1, DAT2 and DAT3&amp;nbsp; making the trails with the same width the difference between frdm-k64 is that my custom board the trails is longer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to do a work around?&amp;nbsp; MFS can operate using SPI or SDHC instead esdhc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Following the signals of frdm-k64f and my custom board operating with default configuration at 25 MHz. This signals is the frdm-k64f with the SanDisk card and my custom board with the Kingston card. If I try to use my custom board with SanDisk card the clock signal dies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRDM-k64F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SDHC_CLK&amp;nbsp;&amp;nbsp; SIGNAL&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="frdmk64f_clk.png"&gt;&lt;IMG alt="frdmk64f_clk.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22099iFB965A0E1F6EDD58/image-size/large?v=v2&amp;amp;px=999" title="frdmk64f_clk.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM Board - SDHC_CLK Signal&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="custom_board_clk.png"&gt;&lt;IMG alt="custom_board_clk.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22150iEB487EFC8A99A2A9/image-size/large?v=v2&amp;amp;px=999" title="custom_board_clk.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRDM-K64F - DAT0 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="frdmk64f_dat0.png"&gt;&lt;IMG alt="frdmk64f_dat0.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22176iBB11CDE3458B355E/image-size/large?v=v2&amp;amp;px=999" title="frdmk64f_dat0.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM BOARD - DAT0 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="custom_board_dat0.png"&gt;&lt;IMG alt="custom_board_dat0.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22178i78DE60A6E824D8B8/image-size/large?v=v2&amp;amp;px=999" title="custom_board_dat0.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRMDM-K64F - DAT1 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="frdmk64f_dat1.png"&gt;&lt;IMG alt="frdmk64f_dat1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22238iC71225A6B495D031/image-size/large?v=v2&amp;amp;px=999" title="frdmk64f_dat1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM BOARD - DAT1 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="custom_board_dat1.png"&gt;&lt;IMG alt="custom_board_dat1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22411i14CDB0ACA8A32FA0/image-size/large?v=v2&amp;amp;px=999" title="custom_board_dat1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRDM-K64F - DAT2 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="frdmk64f_dat2.png"&gt;&lt;IMG alt="frdmk64f_dat2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22239iDE8630D4E523DA88/image-size/large?v=v2&amp;amp;px=999" title="frdmk64f_dat2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM BOARD - DAT2 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="custom_board_dat2.png"&gt;&lt;IMG alt="custom_board_dat2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22481iAD3A2B3ADACEC389/image-size/large?v=v2&amp;amp;px=999" title="custom_board_dat2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRDM-K64F - DAT3 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="frdmk64f_dat3.png"&gt;&lt;IMG alt="frdmk64f_dat3.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22482iA5A59FA66115C6AB/image-size/large?v=v2&amp;amp;px=999" title="frdmk64f_dat3.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM BOARD - DAT3 SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="custom_board_dat3.png"&gt;&lt;IMG alt="custom_board_dat3.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22533i7FA9C3F11235A7FB/image-size/large?v=v2&amp;amp;px=999" title="custom_board_dat3.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRDM-K64F CMD SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="frdmk64f_cmd.png"&gt;&lt;IMG alt="frdmk64f_cmd.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22621i1E21E957837EBAEC/image-size/large?v=v2&amp;amp;px=999" title="frdmk64f_cmd.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM BOARD - CMD SIGNAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="custom_board_cmd.png"&gt;&lt;IMG alt="custom_board_cmd.png" src="https://community.nxp.com/t5/image/serverpage/image-id/22663i3813C0CA42DAD59B/image-size/large?v=v2&amp;amp;px=999" title="custom_board_cmd.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482143#M15800</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2020-11-02T13:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482144#M15801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already checked my oscillator and I don't have a crystal jitter. &lt;BR /&gt; I believe that I don't have a PCB layout problem too.&amp;nbsp; It is very difficult to solve this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 17:08:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482144#M15801</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2016-01-28T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482145#M15802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible decrease the SDHC clock to workaround this probably PCB layout problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 17:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482145#M15802</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2016-01-29T17:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482146#M15803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thiagow,&lt;/P&gt;&lt;P&gt;In the BSP under Peripheral_IO_Drivers-&amp;gt;sdcard-&amp;gt;sdcard_esdhc is file sdcard_esdhc.c .&lt;/P&gt;&lt;P&gt;Around line 265 the following code is present:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _io_sdcard_esdhc_r2_format(command.RESPONSE, csd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sdcard_ptr-&amp;gt;NUM_BLOCKS = _io_sdcard_csd_capacity(csd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param = _io_sdcard_csd_baudrate(csd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Get maximal baudrate for card setup */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ESDHC_OK != ioctl (sdcard_ptr-&amp;gt;COM_DEVICE, IO_IOCTL_ESDHC_GET_BAUDRATE_MAX, &amp;amp;baudrate))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return FALSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //baudrate = 10000000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (param &amp;gt; baudrate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; param = baudrate;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ESDHC_OK != ioctl (sdcard_ptr-&amp;gt;COM_DEVICE, IO_IOCTL_ESDHC_SET_BAUDRATE, &amp;amp;param))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return FALSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you see //baudrate = 10000000; you can uncomment and set to desired baud rate to see if slower clock helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 18:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482146#M15803</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-01-29T18:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: MFS bug when using another brands of sdcard? Impedance control, noise?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482147#M15804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To tests. I changed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; baudrate = 10000000, baudrate = 1000000, baudrate = 100000, baudrate = 10000, baudrate = 1000, baudrate = 100 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same symptom,&amp;nbsp;&amp;nbsp; using MQX 4.2 with KSDK 1.3 now,&amp;nbsp;&amp;nbsp; to test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see with kingston using&amp;nbsp; the sdcard demo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; Installing MFS over partition...&lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;shell&amp;gt; dir&lt;/P&gt;&lt;P&gt;LOG_TMP.DAT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 272 01-29-2016 16:31:50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A LOG_TMP.DAT&lt;/P&gt;&lt;P&gt;LOG201~1.CSV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 621 01-29-2016 16:31:50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A LOG2016-01-29.csv&lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;shell&amp;gt; &lt;/P&gt;&lt;P&gt;shell&amp;gt; SD card uninstalled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And with Sandisk:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shell&amp;gt; Installing MFS over SD card driver...&lt;/P&gt;&lt;P&gt;Error while opening a:\ (UNKNOWN ERROR !!!)Demo start&lt;/P&gt;&lt;P&gt;It's strange because this is in low, very low frequency, the oscillator jitter or pcb layout problems couldn't affect the sdhc working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I see the function _pmgr_get_part_info()&amp;nbsp; that calls&amp;nbsp; read() , the last returns 6 , and internal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _nio_read() instead returning 0x200 bytes read, returns&amp;nbsp; 0xffffffff&amp;nbsp; and the error occours again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 19:54:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MFS-bug-when-using-another-brands-of-sdcard-Impedance-control/m-p/482147#M15804</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2016-01-29T19:54:47Z</dc:date>
    </item>
  </channel>
</rss>

