<?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: K21F120M Devie mode with SD card detection on PC in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K21F120M-Devie-mode-with-SD-card-detection-on-PC/m-p/697606#M42896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jatin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a msd demo in the MQX installation folder, it is very similar to your requirement&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\usb_v2\example\device\msd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this demo, ram disk or sd disk can be enabled , there is a macro control it.&amp;nbsp; in file disk.h&lt;/P&gt;&lt;P&gt;#define RAM_DISK_APP&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0)&lt;BR /&gt;#define SD_CARD_APP&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;/P&gt;&lt;P&gt;unfortunately, TWR-K21F120M is not supported in MQX 4.2, you need to port this example from TWR-K22 to TWR-K21.&lt;/P&gt;&lt;P&gt;Please refer to porting guide.&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\doc\usb_v2\USB_Stack_Porting_User_Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have questions, please follow the below thread for update&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/458101"&gt;Hi, All I am using KDS and MQX with board Twr-K21F120M mouted with the SD card to work as USB device when connected to t…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&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>Fri, 01 Sep 2017 07:28:01 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2017-09-01T07:28:01Z</dc:date>
    <item>
      <title>K21F120M Devie mode with SD card detection on PC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K21F120M-Devie-mode-with-SD-card-detection-on-PC/m-p/697605#M42895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am using KDS with MQX 4.2 with board TWR-K21F120M.&lt;/P&gt;&lt;P&gt;I want to use this board as a USB device when connected to PC with SD card detection. I mean SD card is inserted in Tower board and now I want to access the SD card via PC when tower board is connected to PC. For this I am making the tower board to work as USB device when connected to PC. But I am facing issue as there is no example is given for the SD card as MSD in the MQX 4.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help me out as what I need to do for detection of the SD card as a MSD on PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 04:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K21F120M-Devie-mode-with-SD-card-detection-on-PC/m-p/697605#M42895</guid>
      <dc:creator>jatinvashisth</dc:creator>
      <dc:date>2017-08-14T04:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: K21F120M Devie mode with SD card detection on PC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K21F120M-Devie-mode-with-SD-card-detection-on-PC/m-p/697606#M42896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jatin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a msd demo in the MQX installation folder, it is very similar to your requirement&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\usb_v2\example\device\msd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this demo, ram disk or sd disk can be enabled , there is a macro control it.&amp;nbsp; in file disk.h&lt;/P&gt;&lt;P&gt;#define RAM_DISK_APP&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0)&lt;BR /&gt;#define SD_CARD_APP&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;/P&gt;&lt;P&gt;unfortunately, TWR-K21F120M is not supported in MQX 4.2, you need to port this example from TWR-K22 to TWR-K21.&lt;/P&gt;&lt;P&gt;Please refer to porting guide.&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\doc\usb_v2\USB_Stack_Porting_User_Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have questions, please follow the below thread for update&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/458101"&gt;Hi, All I am using KDS and MQX with board Twr-K21F120M mouted with the SD card to work as USB device when connected to t…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&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>Fri, 01 Sep 2017 07:28:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K21F120M-Devie-mode-with-SD-card-detection-on-PC/m-p/697606#M42896</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-09-01T07:28:01Z</dc:date>
    </item>
  </channel>
</rss>

