<?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 Re: Arrange files into SDCard as per last update time in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703837#M9197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No No Erich , I modified my reply which was&amp;nbsp;by mistake saved and post.I post it correctly and now it is under "currently being moderated"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 08:45:21 GMT</pubDate>
    <dc:creator>utsavikalpesh</dc:creator>
    <dc:date>2017-08-23T08:45:21Z</dc:date>
    <item>
      <title>Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703832#M9192</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;I am working with KDS and developing a project with Processor Expert. I am using MK60DN512VMD10 controller.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project I want to arrange file in SD Card in such a way that last modified file will be last.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which functions I have to use to this sorting ? Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Utsavi Bharuchala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 07:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703832#M9192</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2017-08-22T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703833#M9193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Utsavi Bharuchala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use processor expert. I suggest you refer this document from Erich&lt;/P&gt;&lt;P&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2014%2F04%2F09%2Fftf-frdm-k64f-kinetis-design-studio-and-kinetis-sdk%2F" rel="nofollow" target="_blank"&gt;https://mcuoneclipse.com/2014/04/09/ftf-frdm-k64f-kinetis-design-studio-and-kinetis-sdk/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This demo uses file system but you can simply remove Fat_FileSystem component, then you can also access to the card without file system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Wed, 23 Aug 2017 07:34:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703833#M9193</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-08-23T07:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703834#M9194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean with arranging the files. If it is about having them sorted in a way for the directory listing, you certainly could implement that: retrieve the list of files and then sort it according to your criteterias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 07:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703834#M9194</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-08-23T07:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703835#M9195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I have files named as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data0010001.dat, &amp;nbsp;//date of modified is 22-08-2017&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0020002.dat &amp;nbsp; //date of modified is 22-08-2017&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0030003.dat &amp;nbsp; //date of modified is 22-08-2017&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0040004.dat &amp;nbsp;&amp;nbsp;//date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0050005.dat &amp;nbsp;&amp;nbsp;//date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0060006.dat &amp;nbsp; //date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0070007.dat &amp;nbsp; //date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0080008.dat &amp;nbsp;&amp;nbsp;//date of modified is 23-08-2017 &amp;nbsp; &amp;nbsp;&amp;lt;---File Modified today &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(format 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to know is,&amp;nbsp;Data008&lt;SPAN&gt;000&lt;/SPAN&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;.dat , which is latest modified file, will be placed at last in sdcard folder(as per format 1) or it will be placed first (as per format 2)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Data0080008.dat &amp;nbsp;&amp;nbsp;//date of modified is 23-08-2017 &amp;nbsp; &amp;nbsp;&amp;lt;---File Modified today&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Data0010001.dat, &amp;nbsp;//date of modified is 22-08-2017&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0020002.dat &amp;nbsp; //date of modified is 22-08-2017&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0030003.dat &amp;nbsp; //date of modified is 22-08-2017&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0040004.dat &amp;nbsp;&amp;nbsp;//date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0050005.dat &amp;nbsp;&amp;nbsp;//date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0060006.dat &amp;nbsp; //date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data0070007.dat &amp;nbsp; //date of modified is 22-08-2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(format 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want lastest modified file to be placed last in sd card folder (as per format 1). What is the default format in sdcard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703835#M9195</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2017-08-23T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703836#M9196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These files all have the same name?&lt;/P&gt;&lt;P&gt;You cannot have files with the same name in the same folder. If you need files with the same name, you need to put them into separate directories on the file system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703836#M9196</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-08-23T08:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703837#M9197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No No Erich , I modified my reply which was&amp;nbsp;by mistake saved and post.I post it correctly and now it is under "currently being moderated"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703837#M9197</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2017-08-23T08:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Arrange files into SDCard as per last update time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703838#M9198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend you have a read at &lt;A class="link-titled" href="http://elm-chan.org/fsw/ff/doc/readdir.html" title="http://elm-chan.org/fsw/ff/doc/readdir.html"&gt;FatFs - f_readdir&lt;/A&gt;&amp;nbsp; and other items on that web site. Bottom line is that this is up to the file system you are using, and at least for f_readdir you have no influence on the order: it will be initially probably in the order you have created the files, but as soon as files get deleted/etc things might change.&lt;/P&gt;&lt;P&gt;If you need them in a given order, you have to read the entries and sort them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Arrange-files-into-SDCard-as-per-last-update-time/m-p/703838#M9198</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-08-24T16:24:19Z</dc:date>
    </item>
  </channel>
</rss>

