<?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: Error opening filesystem:</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447438#M14993</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;Are you using a Freescale board?&lt;/P&gt;&lt;P&gt;Which MQX version are you using?&lt;/P&gt;&lt;P&gt;Could you please try using the sdcard example in order to discard a software or hardware issue? This example is located at the path:&amp;nbsp; C:\Freescale\Freescale_MQX_4_2\mfs\examples\sdcard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try using different sd card brands and capacities?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a Freescale board, could you please double check the jumper settings?&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>Tue, 18 Aug 2015 21:09:19 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2015-08-18T21:09:19Z</dc:date>
    <item>
      <title>Error opening filesystem:</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447437#M14992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when I use SD card. I attached my code before. I found the return value is error when I use fopen = ("a:",NULL); the return value is 0x000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp; /* suppress 'unused variable' warning */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inserted = TRUE, readonly = FALSE, last = FALSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mqx_int&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_code;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mqx_uint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; param;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MQX_FILE_PTR&amp;nbsp;&amp;nbsp;&amp;nbsp; com_handle, sdcard_handle, filesystem_handle, partition_handle;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filesystem_name[] = "MFS:";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partman_name[] = "pm:";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partition_name[] = "pm:1";&lt;/P&gt;&lt;P&gt;com_handle = fopen(BSP_SDCARD_ESDHC_CHANNEL, (void *)(SPI_FLAG_FULL_DUPLEX));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; error_code = _io_sdcard_install("sdcard:", (void *)&amp;amp;_bsp_sdcard0_init, com_handle);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; sdcard_handle = fopen("sdcard:", 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Install MFS over SD card driver */&lt;/P&gt;&lt;P&gt;error_code = _io_mfs_install(sdcard_handle, filesystem_name,0);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;(The return value is all correct above)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #eb7a3d;"&gt;filesystem_handle&lt;/SPAN&gt; = fopen(filesystem_name, NULL);&amp;nbsp; (&lt;SPAN style="color: #eb7a3d;"&gt;filesystem_handle&lt;/SPAN&gt;&amp;nbsp; is equal to 0x00000000) and mention "Error open filesystemname" But I think I can open the sdcard device. Therefore, there is not problem in hardware? right ?&lt;/P&gt;&lt;P&gt;error_code = ferror(filesystem_handle);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one can help me .thankyou &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 13:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447437#M14992</guid>
      <dc:creator>haoyuancai</dc:creator>
      <dc:date>2015-08-18T13:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening filesystem:</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447438#M14993</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;Are you using a Freescale board?&lt;/P&gt;&lt;P&gt;Which MQX version are you using?&lt;/P&gt;&lt;P&gt;Could you please try using the sdcard example in order to discard a software or hardware issue? This example is located at the path:&amp;nbsp; C:\Freescale\Freescale_MQX_4_2\mfs\examples\sdcard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try using different sd card brands and capacities?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a Freescale board, could you please double check the jumper settings?&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>Tue, 18 Aug 2015 21:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447438#M14993</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-08-18T21:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening filesystem:</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447439#M14994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the demo board that design by myself. I realize this function before. Due to my issue, I lost my program. so I did again. the version of MQX is 4.0.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I try the sdcard example , but I found the program would be dead when it execute (&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #eb7a3d;"&gt;filesystem_handle&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; = fopen(filesystem_name, NULL); ). I use debuger to debug step by step. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;In addition ,I have try 2G sd card and 16G sd card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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;&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp; Thx sol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 00:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447439#M14994</guid>
      <dc:creator>haoyuancai</dc:creator>
      <dc:date>2015-08-19T00:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening filesystem:</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447440#M14995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Besides ,I also found I can read and write the block in SD card . But I can not install a mfs filesystem inside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 12:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Error-opening-filesystem/m-p/447440#M14995</guid>
      <dc:creator>haoyuancai</dc:creator>
      <dc:date>2015-08-19T12:52:18Z</dc:date>
    </item>
  </channel>
</rss>

