<?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: problems with demo mfs_usb in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253658#M7384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you attach a usb stick into TWR-SER, upon attach event the MCU would print some information about the memory stick on the default terminal. so the hardware+software is not detecting the attach event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for hardware, check the jumper settings on TWR-SER, configure them for USB host:&lt;/P&gt;&lt;P&gt;J10 1-2 supply 5V on USB connector&lt;/P&gt;&lt;P&gt;J16 1-2 Host mode - supply 5V to VBUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you need a cable to provide Type A Receptacle for a usb pen drive into Mini-AB connector on TWR-SER.&lt;/P&gt;&lt;P&gt;if the hardware is setup properly and the usb controller initialized (as it is in the default mfs_usb demo) you will get at least attach event.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2013 07:02:57 GMT</pubDate>
    <dc:creator>Martin_</dc:creator>
    <dc:date>2013-05-28T07:02:57Z</dc:date>
    <item>
      <title>problems with demo mfs_usb</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253657#M7383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the TWR-K60D100M Tower Module with cw 10.3 and MQX 4.0 and try to run the example mfs_usb.&lt;/P&gt;&lt;P&gt;I use a 8GB usb stick on the TWR_SER Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the command "dir" I get the message "Error, file system not mounted"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode I can see, that I never reached line 224 in USB_Task.c (usb_filesystem_install...)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;It looks&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;waiting for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an event. I try to connect and disconnect the usb stick, but nothing happend.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Does anyone have an&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;idea&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;what I&lt;/SPAN&gt;&lt;SPAN&gt;'m doing wrong&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 09:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253657#M7383</guid>
      <dc:creator>simonepuschmann</dc:creator>
      <dc:date>2013-05-23T09:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: problems with demo mfs_usb</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253658#M7384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you attach a usb stick into TWR-SER, upon attach event the MCU would print some information about the memory stick on the default terminal. so the hardware+software is not detecting the attach event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for hardware, check the jumper settings on TWR-SER, configure them for USB host:&lt;/P&gt;&lt;P&gt;J10 1-2 supply 5V on USB connector&lt;/P&gt;&lt;P&gt;J16 1-2 Host mode - supply 5V to VBUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you need a cable to provide Type A Receptacle for a usb pen drive into Mini-AB connector on TWR-SER.&lt;/P&gt;&lt;P&gt;if the hardware is setup properly and the usb controller initialized (as it is in the default mfs_usb demo) you will get at least attach event.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253658#M7384</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-05-28T07:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: problems with demo mfs_usb</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253659#M7385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I have set&lt;/SPAN&gt; the &lt;SPAN class="hps"&gt;jumpers&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;suggested by you, but the problem is still the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;But when I disable the shell task on my console it looks fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I have the same probleme with the web server demo, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;As soon as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I activate the&lt;/SPAN&gt; shell &lt;SPAN class="hps"&gt;task&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the web server does not run.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I have no&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;changes&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;made ​​to the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;demos. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Do you have&lt;/SPAN&gt; &lt;SPAN&gt;an explanation for this? What can I do so that I can use the shell task parallel?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 10:16:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253659#M7385</guid>
      <dc:creator>simonepuschmann</dc:creator>
      <dc:date>2013-05-28T10:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: problems with demo mfs_usb</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253660#M7386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Theoretically, a reason why a shell task would consume all CPU time is, that BSP_DEFAULT_IO_CHANNEL is defined to a polled mode serial driver, as in twrk60d100m.h:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13697385929188548" jivemacro_uid="_13697385929188548"&gt;
&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL&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; "ttyf:"&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the shell task has a higher or equal priority than other ready tasks and MQX is configured to use FIFO scheduling for these tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use the serial driver in interrupt mode. In your user_config.h, define:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13697385989109920" jivemacro_uid="_13697385989109920"&gt;
&lt;P&gt;#define BSPCFG_ENABLE_ITTYD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL&amp;nbsp;&amp;nbsp; "ittyd:"&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the interrupt mode serial driver is blocking by default, the shell task would block until a character is received from the stdin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, when the shell is the only active task, can you open TAD windows and show the Task Status summary window ? &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 10:57:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253660#M7386</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-05-28T10:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: problems with demo mfs_usb</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253661#M7387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="almost_half_cell"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;changed the definitions&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as described and now the demo is working fine:smileyhappy:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="almost_half_cell"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Previous I have used "iodebug", but I don't understand why polling does block other task with higher priority&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 07:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/problems-with-demo-mfs-usb/m-p/253661#M7387</guid>
      <dc:creator>simonepuschmann</dc:creator>
      <dc:date>2013-06-03T07:00:15Z</dc:date>
    </item>
  </channel>
</rss>

