<?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>LPC MicrocontrollersのトピックProblem in FatFS using Chan's lib</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-FatFS-using-Chan-s-lib/m-p/576807#M19504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by viswanath on Sat Apr 13 13:45:26 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Need help in FatFS in SD card using LPC4350 controller. file system is mounting with f_mount, but not able to open any file with f_open.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;as per the application note by chans library:&amp;nbsp;&amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Felm-chan.org%2Ffsw%2Fff%2Fen%2Fappnote.html%23port" rel="nofollow" target="_blank"&gt;http://elm-chan.org/fsw/ff/en/appnote.html#port&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Felm-chan.org%2Ffsw%2Fff%2Fen%2Fappnote.html%23port" rel="nofollow" target="_blank"&gt;http://elm-chan.org/fsw/ff/en/appnote.html#port&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;need to use disk_initialize() for intilization. in the sample prjts directly used f_mount to mount the file system.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;f_mount is called at the time of sysinit(). am need to call&amp;nbsp;&amp;lt;span style="background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-size: 14px; line-height: 17.671875px;"&amp;gt;disk_initialize().&amp;lt;/span&amp;gt;&amp;lt;span style="background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-size: 14px; line-height: 17.671875px;"&amp;gt;disk_status(),&amp;lt;/span&amp;gt;&amp;lt;span style="background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-size: 14px; line-height: 17.671875px;"&amp;gt;disk_read() before to f_mount.&amp;lt;/span&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please sugest me where i did mistake.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Viswanath K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:02:34 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:02:34Z</dc:date>
    <item>
      <title>Problem in FatFS using Chan's lib</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-FatFS-using-Chan-s-lib/m-p/576807#M19504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by viswanath on Sat Apr 13 13:45:26 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Need help in FatFS in SD card using LPC4350 controller. file system is mounting with f_mount, but not able to open any file with f_open.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;as per the application note by chans library:&amp;nbsp;&amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Felm-chan.org%2Ffsw%2Fff%2Fen%2Fappnote.html%23port" rel="nofollow" target="_blank"&gt;http://elm-chan.org/fsw/ff/en/appnote.html#port&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Felm-chan.org%2Ffsw%2Fff%2Fen%2Fappnote.html%23port" rel="nofollow" target="_blank"&gt;http://elm-chan.org/fsw/ff/en/appnote.html#port&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;need to use disk_initialize() for intilization. in the sample prjts directly used f_mount to mount the file system.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;f_mount is called at the time of sysinit(). am need to call&amp;nbsp;&amp;lt;span style="background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-size: 14px; line-height: 17.671875px;"&amp;gt;disk_initialize().&amp;lt;/span&amp;gt;&amp;lt;span style="background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-size: 14px; line-height: 17.671875px;"&amp;gt;disk_status(),&amp;lt;/span&amp;gt;&amp;lt;span style="background-color: #ffffff; font-family: Consolas, 'Courier New', monospace; font-size: 14px; line-height: 17.671875px;"&amp;gt;disk_read() before to f_mount.&amp;lt;/span&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please sugest me where i did mistake.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Viswanath K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:02:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-FatFS-using-Chan-s-lib/m-p/576807#M19504</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in FatFS using Chan's lib</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-FatFS-using-Chan-s-lib/m-p/576808#M19505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Sun Apr 14 23:57:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Viswanath,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;sysinit() is NOT for such complex functions as f_mount is!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;At sysinit() time, the C runtime library is NOT initialized! All C variables have not been set up! C++ global constructors are not called.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;So, please move any complex code to the beginning of main()!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-FatFS-using-Chan-s-lib/m-p/576808#M19505</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:02:35Z</dc:date>
    </item>
  </channel>
</rss>

