<?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: Unmounting a drive in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156220#M779</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;MFS simply refuses to be closed and&amp;nbsp;unmounted when there are still some opened files.&lt;/P&gt;&lt;P&gt;I'm suggesting to write some kind of simple file manager, that will open the files for you, store the handles and flush/close them all upon some special event.&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>Mon, 08 Aug 2011 22:22:47 GMT</pubDate>
    <dc:creator>PetrM</dc:creator>
    <dc:date>2011-08-08T22:22:47Z</dc:date>
    <item>
      <title>Unmounting a drive</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156219#M778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently using version MQX 3.7, with the latest MFS and i had a quick question. I'm programming for an industrial instrument that has several tasks that open a file and write to the file system.﻿&lt;/P&gt;&lt;P&gt;My question is, Is there a way to close all of these possible open files from just one task and unmount the file system? I need to be able to have a user walk up to the instrument hit an unmount button, and take out the drive. I could do this with the last two file systems I used, but I don't see a provision in the MQX MFS to do that, maybe I’m just overlooking it?﻿&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 04:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156219#M778</guid>
      <dc:creator>mccombbj</dc:creator>
      <dc:date>2011-08-04T04:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting a drive</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156220#M779</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;MFS simply refuses to be closed and&amp;nbsp;unmounted when there are still some opened files.&lt;/P&gt;&lt;P&gt;I'm suggesting to write some kind of simple file manager, that will open the files for you, store the handles and flush/close them all upon some special event.&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>Mon, 08 Aug 2011 22:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156220#M779</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2011-08-08T22:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unmounting a drive</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156221#M780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your replay PetrM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to give you an update. I have decided to go with another USB stack. I went this direction becuase I don't feel that the USB stack as it stands (MQX 3.7) is reliable enough to put in an industrial instrument. I found that even if your run the MQX-&amp;gt;MFS &amp;nbsp;drive demo that you can lock it up by inserting and removing the drive multiple times (even after taking a bug out that tries to print a null pointer found in the demo).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help though, if I felt MFS was robust enough your solution would have been my next step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 03:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Unmounting-a-drive/m-p/156221#M780</guid>
      <dc:creator>mccombbj</dc:creator>
      <dc:date>2011-08-17T03:50:56Z</dc:date>
    </item>
  </channel>
</rss>

