<?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: USB_ MSD_CLASS in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312524#M13560</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 still don't understand whether the code/project supports this but all that is needed is to interface the UFI READ(12) and (10) commands to read the requested amount of sectors form the requested sector address and return the content to the PC host, as well as UFI WRITE(12) and (10) command and write the sector data received from the PC host to the sectors (defined). So essentially the SD card interface's sector write/read command need to be called at these locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice that this problem is open for 2 months now. Does it need a solution or is it just being toyed with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 15:12:54 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2014-07-03T15:12:54Z</dc:date>
    <item>
      <title>USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312504#M13540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, i'm using the USB_ MSD_CLASS Processor Expert library present on the USB Stack 4.11 . The problem is that i have implemented a system with a SDCard connected to a KL25 through the SPI. I can write, read files with the FATFS library and i want to see this files connecting the system to a PC. The problem is that when i connect this i can see and read the file, but i can't write on the SDCard. The function disk_write_block in MSD_Event_Callback() is never called. Why? Someone are using correctly this library ?? Thanks&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_13995838335937530" jivemacro_uid="_13995838335937530"&gt;
&lt;P&gt;//---------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp; case USB_MSC_DEVICE_WRITE_REQUEST: {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uint8_t tmp = 0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; lba_data_ptr = (PTR_LBA_APP_STRUCT) val;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; tmp = lba_data_ptr-&amp;gt;size / 512;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; tmp = disk_write_block(controller_ID, lba_data_ptr-&amp;gt;buff_ptr,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; lba_data_ptr-&amp;gt;offset, tmp);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;//---------------------------------------------------------------------------&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 21:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312504#M13540</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-08T21:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312505#M13541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniele Cortellazzi,&lt;/P&gt;&lt;P&gt;Thank you very much for your focus on Freescale's product. I'm glad to provede service for you.&lt;/P&gt;&lt;P&gt;For solving this issue more quickly, I should confirm some thing from you.&lt;/P&gt;&lt;P&gt;1. Could you tell me the exactly name of the project you use or upload your project to community you used?&lt;/P&gt;&lt;P&gt;2. What's board do you use for test? FRDM-KL25, TWR-KL25 or others?&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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>Tue, 13 May 2014 02:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312505#M13541</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-13T02:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312506#M13542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniele&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't help with the PE generated project but there is a complete solution for USB-MSD, utFAT and SD card in the uTasker project which works on the KL25 boards and also allows simulating and debugging the complete operation in VisualStudio: &lt;BR /&gt;&lt;A href="http://www.utasker.com/forum/index.php?topic=1721.0" title="http://www.utasker.com/forum/index.php?topic=1721.0"&gt;KINETIS Project Code&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 03:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312506#M13542</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-05-13T03:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312507#M13543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i'm using the FRDM KL25 and i can read the memory (with some problem to solve when you open a file) but not write on this or format with the pc but only with the FATFS library. The function &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;tmp = disk_write_block(controller_ID, lba_data_ptr-&amp;gt;buff_ptr,&amp;nbsp; &lt;/SPAN&gt; is never called.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 16:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312507#M13543</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-13T16:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312508#M13544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, i will see in this day this second options. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 16:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312508#M13544</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-13T16:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312509#M13545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniele Cortellazzi,&lt;/P&gt;&lt;P&gt;I was glad to see your project and downloaded it quickly. However I'm afraid there's something wrong with it.&lt;/P&gt;&lt;P&gt;It can't be extracted normally, like figure shows. So please get to check it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43890i9720848F36C6E3FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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, 14 May 2014 03:30:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312509#M13545</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-14T03:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312510#M13546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i have tried to download and open the file with other pc and it works. You can try with this link (&lt;A href="https://onedrive.live.com/?cid=E3B6591D03B29A8A&amp;amp;id=E3B6591D03B29A8A%2127146" title="https://onedrive.live.com/?cid=E3B6591D03B29A8A&amp;amp;id=E3B6591D03B29A8A%2127146"&gt;https://onedrive.live.com/?cid=E3B6591D03B29A8A&amp;amp;id=E3B6591D03B29A8A%2127146&lt;/A&gt;) to the same project on onedrive, select the folder Firmware MSD and click download. Thanks for your time. Daniele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 06:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312510#M13546</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-14T06:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312511#M13547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS: i'm using the library present here in my project &lt;A href="https://github.com/ErichStyger/mcuoneclipse/tree/master/PEupd" title="https://github.com/ErichStyger/mcuoneclipse/tree/master/PEupd"&gt;mcuoneclipse/PEupd at master · ErichStyger/mcuoneclipse · GitHub&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 19:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312511#M13547</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-14T19:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312512#M13548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hi Daniele Cortellazzi,&lt;/P&gt;&lt;P&gt;I'm glad to hear that your problem was sloved and I downloaded the project through the link you provide,.&lt;/P&gt;&lt;P&gt;To be honest, this project is more complicated than I though before and I'd like to study it when I have time.&lt;/P&gt;&lt;P&gt;If you have any other question about freescale product, please feel free to contact with me.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 10:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312512#M13548</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-15T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312513#M13549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, is not so easy because MSD library are many files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 12:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312513#M13549</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-15T12:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312514#M13550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEWS: the project created from me is taken by the folder \Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx and changed for use the SdCard instead simulate a RAM_DISK. This original code is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case USB_MSC_DEVICE_WRITE_REQUEST :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* copy data from USb buffer to Storage device &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Called before after recv_data on BULK OUT endpoints)*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lba_data_ptr = (PTR_LBA_APP_STRUCT)val;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* read data from driver buffer to mass storage device */&lt;/P&gt;&lt;P&gt;#if RAM_DISK_APP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USB_memcopy(lba_data_ptr-&amp;gt;buff_ptr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_disk.storage_disk + lba_data_ptr-&amp;gt;offset,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lba_data_ptr-&amp;gt;size);&lt;/P&gt;&lt;P&gt;#elif SD_CARD_APP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SD_Write_Block(lba_data_ptr);&lt;/P&gt;&lt;P&gt;#endif &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where RAM_DISK_APP is declared then USB_memcopy is the function that will be executed. Putting a breakpoint on this the problem is that this is never called. There is then a bug with this library because USB_MSC_DEVICE_WRITE_REQUEST is never called. Someone can help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 07:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312514#M13550</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-22T07:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312515#M13551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniele,&lt;/P&gt;&lt;P&gt;I have reproduced this behavior, it is normal. We have been told by &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;USB&lt;/STRONG&gt;&lt;/SPAN&gt; stack developers that the purpose of the example is to set the MCU as a Mass Storage &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/SPAN&gt; and to be recognized and enumerated by a host. It is not possible to use the example as a &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;usb&lt;/STRONG&gt;&lt;/SPAN&gt; memory becuase the MCU does not have enough RAM to create a FAT table and a file system.&lt;/P&gt;&lt;P&gt;Wish my support could help.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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>Thu, 22 May 2014 09:13:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312515#M13551</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-22T09:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312516#M13552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info, then my question is if possible to add, in the MSD code, a call in that permit to enter in the USB_MSC_DEVICE_WRITE_REQUEST. For me debug all the library is very hard because is very long and i didn't know very well the usb protocol. A USB stack developer can tell me where add this? Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 10:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312516#M13552</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-22T10:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312517#M13553</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 think that there must be some confusion since it is not necessary to have a FAT table and file system in a pure USB-MSD implementaion since this is performed by the PC host and not by the processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:45:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312517#M13553</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-05-22T12:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312518#M13554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rigth, in my project i have the SdCard with FAT table. When i write o read this with the microprocessor i use the FATFS library but when i use USB-MSd this is not necessary, i have only to read or write block of memory with the function :&amp;nbsp; SD_Write_Block(lba_data_ptr); or&amp;nbsp; SD_Read_Block(lba_data_ptr); . The problem using the sample could be that because the memory of the micro is very small is impossibble write a file on this, but the fact is that the function is never tried to be executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312518#M13554</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-22T12:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312519#M13555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniele,&lt;/P&gt;&lt;P&gt;To be honest, I've also been confused with how to add FAT table to this project. Since I didn't use this before and I will inform you immediately if I know how to do this.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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>Fri, 23 May 2014 03:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312519#M13555</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-23T03:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312520#M13556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I've had a brief go through the USB protocol document. I think the PC (HOST) can't identify a U-disk (Device) if it doesn't provide relevant FAT table.&lt;/P&gt;&lt;P&gt;So it also need FAT table if you want use KL25's RAM simulate a U-disk.&lt;/P&gt;&lt;P&gt;Wish my support help.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 03:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312520#M13556</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-23T03:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312521#M13557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case the FAT table is stored in the SDCard, in fact i can read the file with the MSD but the problem is when you try to write or format this, the function is never called ... i think that a called is missing for permit to write on this. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 09:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312521#M13557</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-05-23T09:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312522#M13558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;Yes, I also think too.&lt;/P&gt;&lt;P&gt;The key point is how to transfer FAT table to PC（HOST）when receive the command READ(10), I'm also studying how to modify this project to simulate U-disk successful.&lt;/P&gt;&lt;P&gt;Howvever I still have no idear with that until now and I will inform you if I work it out.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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, 26 May 2014 08:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312522#M13558</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-05-26T08:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: USB_ MSD_CLASS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312523#M13559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen the library but i didn't understand all. I think that there is a missing call to the case USB_MSC_DEVICE_WRITE_REQUEST present in disk.c but i didn't find where.&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 11:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-MSD-CLASS/m-p/312523#M13559</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-07-03T11:44:48Z</dc:date>
    </item>
  </channel>
</rss>

