<?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>MQX Software SolutionsのトピックRe: SD Card M52259EVB</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215206#M5445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well, there are some known issues listed in Release notes and it's planned to introduce a thread on this forum related to issues/workarounds. For now, please take a look here&amp;nbsp;for the QSPI CS issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="63312" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/63312" jivemacro="thread" title="https://community.freescale.com/thread/63312"&gt;https://community.freescale.com/thread/63312&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for confusion on sdcard initialization.&lt;/P&gt;&lt;P&gt;_io_sdcard_spi_init() function takes pointer to opened&amp;nbsp;SDCARD file descriptor.&lt;/P&gt;&lt;P&gt;So in your case:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;introduce flash_spi subdirectory based on sdcard_spi&lt;/LI&gt;&lt;LI&gt;rewrite there&amp;nbsp;init, read, write functions (you won't need the crc and communicate function - just have to format and read/write packets to spi flash)&lt;/LI&gt;&lt;LI&gt;install the sdcard driver as shown in mfs_sdcard example with _bsp_sdcard0_init structure&amp;nbsp;holding pointers&amp;nbsp;to&amp;nbsp;your init/read/write functions.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 18:55:20 GMT</pubDate>
    <dc:creator>PetrM</dc:creator>
    <dc:date>2010-08-04T18:55:20Z</dc:date>
    <item>
      <title>SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215200#M5439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I able to use the SD Card drivers/examples that come with MQX 3.6 with the M52259EVB evaluation board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples do not come with any pre-built code for either M52259DEMO or M52259EVB board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 05:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215200#M5439</guid>
      <dc:creator>EDesigns</dc:creator>
      <dc:date>2010-07-28T05:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215201#M5440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi EDesign,&lt;/P&gt;&lt;P&gt;Currently the only SD Card example is with our twrmcf52259 Tower setup that has an additional Tower Memory card added that has the SD Card slot.&lt;/P&gt;&lt;P&gt;The m52259evb does not have SD Card slot but does have Compact Flash interface.&amp;nbsp; That is supported via the PCFlash settings.&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>Thu, 29 Jul 2010 21:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215201#M5440</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2010-07-29T21:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215202#M5441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anybody that has been able to get the SD card to work using QSPI, could you post example code for initialization? I am able to put the SD card into its "idle mode" state, but when I send commands "55" and "41", it is returning the wrong responses. I've successfully initialized an SD card before on a different microcontroller, but I'm not sure what I am doing wrong with the M52259EVB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 23:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215202#M5441</guid>
      <dc:creator>EDesigns</dc:creator>
      <dc:date>2010-07-29T23:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215203#M5442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there's an issue regarding QSPI CS assertion -&amp;nbsp;when you try to access multiple SPI devices at the same time. The workaround is to use manual GPIO CS callbacks.&lt;/P&gt;&lt;P&gt;The other thing is correct setting of SPI and the initialization procedure itself - please&amp;nbsp;refer to&amp;nbsp;sdcard_spi.c,&amp;nbsp;everything is there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 21:34:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215203#M5442</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-08-02T21:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215204#M5443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please explain the problems regarding multiple SPI CS assertion ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a errata&amp;nbsp; that lists on going MQX problems and work arounds&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 05:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215204#M5443</guid>
      <dc:creator>accutime</dc:creator>
      <dc:date>2010-08-03T05:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215205#M5444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PetrM,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to get the &lt;EM&gt;sdcard_spi.c&lt;/EM&gt; code to work with my eval board the past 2 days with no luck. For the following initialization function:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_io_sdcard_spi_init (MQX_FILE_PTR fd_ptr)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly is &lt;STRONG&gt;fd_ptr&lt;/STRONG&gt; refering to? Initially I thought it points to the QSPI, but MQX crashes at runtime with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 06:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215205#M5444</guid>
      <dc:creator>EDesigns</dc:creator>
      <dc:date>2010-08-04T06:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215206#M5445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well, there are some known issues listed in Release notes and it's planned to introduce a thread on this forum related to issues/workarounds. For now, please take a look here&amp;nbsp;for the QSPI CS issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="63312" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/63312" jivemacro="thread" title="https://community.freescale.com/thread/63312"&gt;https://community.freescale.com/thread/63312&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for confusion on sdcard initialization.&lt;/P&gt;&lt;P&gt;_io_sdcard_spi_init() function takes pointer to opened&amp;nbsp;SDCARD file descriptor.&lt;/P&gt;&lt;P&gt;So in your case:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;introduce flash_spi subdirectory based on sdcard_spi&lt;/LI&gt;&lt;LI&gt;rewrite there&amp;nbsp;init, read, write functions (you won't need the crc and communicate function - just have to format and read/write packets to spi flash)&lt;/LI&gt;&lt;LI&gt;install the sdcard driver as shown in mfs_sdcard example with _bsp_sdcard0_init structure&amp;nbsp;holding pointers&amp;nbsp;to&amp;nbsp;your init/read/write functions.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 18:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215206#M5445</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-08-04T18:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card M52259EVB</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215207#M5446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get the SD card working. The M52259EVB evaluation board and the MCF52259 do not have internal pull-up resistors which I did not realize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 05:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-Card-M52259EVB/m-p/215207#M5446</guid>
      <dc:creator>EDesigns</dc:creator>
      <dc:date>2010-08-06T05:08:45Z</dc:date>
    </item>
  </channel>
</rss>

