<?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: TWR-K21F120M USB host with FAT32 IAR env in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425071#M14173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are perfectly right there and those examples works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the other example folder &amp;lt;mqx_install_dir&amp;gt;/usb_v2/example/&lt;BR /&gt;does not contain workspace file (*.eww) only the project (.ewp) file that is not correct.&lt;/P&gt;&lt;P&gt;The project file is missing include folder options to be able to compile the example.&lt;/P&gt;&lt;P&gt;For example, &amp;lt;mqx_install_dir&amp;gt;/usb_v2/example/host/msd/msd_fatfs/mqx/iar/&lt;BR /&gt;&amp;lt;mqx_install_dir&amp;gt;/usb_v2/example/host/msd/msd_cmd/mqx/iar/&lt;BR /&gt;and all &amp;lt;board_name&amp;gt;. All those folders are lacking the eww file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to compile the USB host example for my TWR after some trouble, but the FAT32 was missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW PROBLEM:&lt;/P&gt;&lt;P&gt;Now I am struggling with another problem - this is the wrong Place for it maybe...&lt;/P&gt;&lt;P&gt;I have made my own hardware partly based on TWR-K21F120m and partly the TWR-K22F120m.&lt;/P&gt;&lt;P&gt;using MK22FX512AVMC12 us mcu. &lt;BR /&gt;According to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-102548"&gt;https://community.freescale.com/docs/DOC-102548&lt;/A&gt; I should probably use header file &lt;STRONG&gt;MK22F12.h&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Where can I get this header file for my new MCU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying&lt;BR /&gt;/Christer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 13:18:07 GMT</pubDate>
    <dc:creator>christerjohanss</dc:creator>
    <dc:date>2016-02-16T13:18:07Z</dc:date>
    <item>
      <title>TWR-K21F120M USB host with FAT32 IAR env</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425069#M14171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! &lt;BR /&gt;I am new to this community and wat to as a couple of questions regarding the readymade sw for TWR-K21F120M.&lt;BR /&gt;I don't know if this is the place to put this question, but feel free to guide me to the rignt place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using IAR environment and want to experiment with USB host for memory stick inclusing FAT32 before the real hardware is ready. &lt;BR /&gt;I downloaded Freescale code for MQX 4.2 and found interesting project in folder&lt;BR /&gt;Freescale_MQX_4_2\usb_v2\example\host\msd\msd_fatfs\mqx\iar\host_msd_fatfs_twrk22f120m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all it lacks the paths needed to be able to compile.&lt;/P&gt;&lt;P&gt;I tried to add paths myself byt failed to compile eventually.&lt;/P&gt;&lt;P&gt;I asked tech support in IAR to check it and they gave me paths but they say it still won't link correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anyone used this project and got it running?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Christer Johansson&lt;/P&gt;&lt;P&gt;Sweden&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IAR path settings fron tech support:&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../usb_core/host/include/twrk22f120m&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../usb_core/host/include&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../usb_core/include&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../adapter/sources&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../adapter/sources/mqx&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/include&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../config/twrk22f120m&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../config/common&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/psp/cortex_m&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/psp/cortex_m/compiler/iar&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/psp/cortex_m/cpu&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/bsp/twrk22f120m&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/io_mem&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/io_null&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/cm&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/lpm&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/hwtimer&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/flashx&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/flashx/freescale&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/adc/kadc&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/adc&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/lwadc&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/rtc&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/serial&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/dma&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/i2c&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/spi&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/lwgpio&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/gpio&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/gpio/kgpio&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/debug&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/sai&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/pccard&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/pcflash&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/sdcard&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/sdcard/sdcard_spi&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/usb&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/timer&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/rnga&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mqx/source/io/enet&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../mfs/source/include&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../usb_core/host/sources/classes/hub&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../usb_core/host/sources/classes/msd&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../../../../../../../shell/source/include&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../mfs&lt;/P&gt;&lt;P&gt;$PROJ_DIR$/../../&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 08:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425069#M14171</guid>
      <dc:creator>christerjohanss</dc:creator>
      <dc:date>2015-11-19T08:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K21F120M USB host with FAT32 IAR env</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425070#M14172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christer,&lt;/P&gt;&lt;P&gt;Before you build an example project it is necessary to build all the MQX libraries.&lt;/P&gt;&lt;P&gt;For MQX RTOS v4.2.0, each example/demo application comes with one workspace file, which contains the path to the example/demo project file and all dependent MQX RTOS library project files. Import the workspace file in the folder. For example, with MQX RTOS:&lt;/P&gt;&lt;P&gt;&amp;lt;mqx_install_dir&amp;gt;/mqx/examples/&amp;lt;example&amp;gt;/build/iar/&amp;lt;example&amp;gt;_&amp;lt;board_name&amp;gt;/&amp;lt;example&amp;gt;_&amp;lt;board_name&amp;gt;.eww&lt;/P&gt;&lt;P&gt;For Hello World example of MQX RTOS for FRDMK64F120M, the workspace file is located in folder:&lt;/P&gt;&lt;P&gt;&amp;lt;mqx_install_dir&amp;gt;/mqx/examples/hello/build/iar/hello_frdmk64f/hello_frdmk64f.eww&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31736i0D707AC0AF7E655C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check more details in the attached document.&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>Mon, 23 Nov 2015 23:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425070#M14172</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-11-23T23:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K21F120M USB host with FAT32 IAR env</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425071#M14173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are perfectly right there and those examples works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the other example folder &amp;lt;mqx_install_dir&amp;gt;/usb_v2/example/&lt;BR /&gt;does not contain workspace file (*.eww) only the project (.ewp) file that is not correct.&lt;/P&gt;&lt;P&gt;The project file is missing include folder options to be able to compile the example.&lt;/P&gt;&lt;P&gt;For example, &amp;lt;mqx_install_dir&amp;gt;/usb_v2/example/host/msd/msd_fatfs/mqx/iar/&lt;BR /&gt;&amp;lt;mqx_install_dir&amp;gt;/usb_v2/example/host/msd/msd_cmd/mqx/iar/&lt;BR /&gt;and all &amp;lt;board_name&amp;gt;. All those folders are lacking the eww file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to compile the USB host example for my TWR after some trouble, but the FAT32 was missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW PROBLEM:&lt;/P&gt;&lt;P&gt;Now I am struggling with another problem - this is the wrong Place for it maybe...&lt;/P&gt;&lt;P&gt;I have made my own hardware partly based on TWR-K21F120m and partly the TWR-K22F120m.&lt;/P&gt;&lt;P&gt;using MK22FX512AVMC12 us mcu. &lt;BR /&gt;According to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-102548"&gt;https://community.freescale.com/docs/DOC-102548&lt;/A&gt; I should probably use header file &lt;STRONG&gt;MK22F12.h&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Where can I get this header file for my new MCU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying&lt;BR /&gt;/Christer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K21F120M-USB-host-with-FAT32-IAR-env/m-p/425071#M14173</guid>
      <dc:creator>christerjohanss</dc:creator>
      <dc:date>2016-02-16T13:18:07Z</dc:date>
    </item>
  </channel>
</rss>

