<?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: fopen fails with esdhc</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/fopen-fails-with-esdhc/m-p/178434#M2525</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;you must set BSPCFG_ENABLE_ESDHC non-zero to get esdhc driver installed and working. And opening&amp;nbsp;a driver is essential thing in MQX. Perhaps you have some beta version of MQX, where the esdhc support is not ready yet. There were also some problems with older versions of the board.&lt;/P&gt;&lt;P&gt;Anyway, the (correct) support will be available in MQX 3.8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&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>Tue, 13 Dec 2011 23:16:39 GMT</pubDate>
    <dc:creator>PetrM</dc:creator>
    <dc:date>2011-12-13T23:16:39Z</dc:date>
    <item>
      <title>fopen fails with esdhc</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/fopen-fails-with-esdhc/m-p/178433#M2524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;I have this problem with kwikstik-k40 rev 5, but it works when using twr-k60 and I was suggest it maybe an MQX problem.&lt;BR /&gt;I am trying to access the SDCARD and I am using CodeWarrior 10.1.&lt;/P&gt;&lt;P&gt;When attempting to access to esdhc I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com_handle = fopen("esdhc:", NULL);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if( !com_handle ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("DBG: Opening ESDHC device failed, is ESDHC controller enabled in MQX?");&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Problem is that I have to enable ESDHC in bsp, but the&lt;BR /&gt;init_bsp.c&lt;BR /&gt;file retreives me the following error:&lt;BR /&gt;#error This modul unsupported with Kiwkstik Board.Please disable BSPCFG_ENABLE_ESDHC to 0 in user_config.h&lt;/P&gt;&lt;P&gt;So I have just disabled this error and recompiled bsp &amp;amp; psp to get rid of the error (&lt;EM&gt;&lt;STRONG&gt;but is anything else to be done?&lt;/STRONG&gt;&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;Then I try to access the esdhc and I still get the error of above.&lt;BR /&gt;It fails while doing fopen()... and I cannot understand why.&lt;/P&gt;&lt;P&gt;For what I can see the execution goes in here:&lt;BR /&gt;in io_fopen.c #93&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (dev_ptr == (pointer)&amp;amp;kernel_data-&amp;gt;IO_DEVICES.NEXT) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return(NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any clue please?&lt;BR /&gt;&lt;BR /&gt;thanks in advance for any suggestion,&lt;BR /&gt;Mik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 22:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/fopen-fails-with-esdhc/m-p/178433#M2524</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-10-31T22:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: fopen fails with esdhc</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/fopen-fails-with-esdhc/m-p/178434#M2525</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;you must set BSPCFG_ENABLE_ESDHC non-zero to get esdhc driver installed and working. And opening&amp;nbsp;a driver is essential thing in MQX. Perhaps you have some beta version of MQX, where the esdhc support is not ready yet. There were also some problems with older versions of the board.&lt;/P&gt;&lt;P&gt;Anyway, the (correct) support will be available in MQX 3.8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&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>Tue, 13 Dec 2011 23:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/fopen-fails-with-esdhc/m-p/178434#M2525</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2011-12-13T23:16:39Z</dc:date>
    </item>
  </channel>
</rss>

