<?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>Kinetis Microcontrollers中的主题 Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287109#M11151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi ,in this days i have work for find a solution with the freescale stack library. A fist solution, that i find, is to increase the buffer length in the file usb_msc.h changing:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_RECV_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (512)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_SEND_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (512)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in&amp;nbsp; :&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_RECV_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (8192)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_SEND_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (512)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;now i can copy files in the sdcard with dimension up to 8192byte but they aren't sync on the sdcard, the problem with the MSD seem to be that the recieve buffer will not be emptied, writing the data, when it's reaches the maximal content of data. The file send to the device is not splitted in more small packages with the dimension of the buffer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 07:30:51 GMT</pubDate>
    <dc:creator>danielecortella</dc:creator>
    <dc:date>2014-02-14T07:30:51Z</dc:date>
    <item>
      <title>FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287104#M11146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all, I'm using the freescale freedom development board with the KL25 MCU. I'm also using CW10.4 &amp;amp; "Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx" example project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My end goal is to have a tiny formatible drive for users to place a small configuration .txt file. The example projects use 1kb(i upped to 2kb..) of ram as the USB MSD device capacity. When compiling in CW10.4/Windows 7 the device successfully enumerates as a mass storage device. However, W7 says the drive needs to be formatted and any of the default tools results in failure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, is the failure to format the disk a result of the example code being incomplete or is 2kb simply too small for a filesystem like fat12? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI here are some format attempts I tried via command line /DISKPART: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISKPART&amp;gt; list volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume ###&amp;nbsp; Ltr&amp;nbsp; Label&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Info&lt;/P&gt;&lt;P&gt;&amp;nbsp; ----------&amp;nbsp; ---&amp;nbsp; -----------&amp;nbsp; -----&amp;nbsp; ----------&amp;nbsp; -------&amp;nbsp; ---------&amp;nbsp; --------&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&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; DVD-ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 B&amp;nbsp; No Media&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&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; DVD-ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 B&amp;nbsp; No Media&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H&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; DVD-ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 B&amp;nbsp; No Media&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&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; System Rese&amp;nbsp; NTFS&amp;nbsp;&amp;nbsp; Partition&amp;nbsp;&amp;nbsp;&amp;nbsp; 100 MB&amp;nbsp; Healthy&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G&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; NTFS&amp;nbsp;&amp;nbsp; Partition&amp;nbsp;&amp;nbsp;&amp;nbsp; 465 GB&amp;nbsp; Healthy&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&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; NTFS&amp;nbsp;&amp;nbsp; Partition&amp;nbsp;&amp;nbsp;&amp;nbsp; 111 GB&amp;nbsp; Healthy&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;/P&gt;&lt;P&gt;&amp;nbsp; Volume 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&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; NTFS&amp;nbsp;&amp;nbsp; Partition&amp;nbsp;&amp;nbsp;&amp;nbsp; 465 GB&amp;nbsp; Healthy&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt; Volume 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; J&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; RAW&amp;nbsp;&amp;nbsp;&amp;nbsp; Removable&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048 B&amp;nbsp; Healthy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISKPART&amp;gt; select volume 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Volume 7 is the selected volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISKPART&amp;gt; clean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DiskPart has encountered an error: The parameter is incorrect.&lt;/P&gt;&lt;P&gt;See the System Event Log for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ISKPART&amp;gt; create partition primary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No usable free extent could be found. It may be that there is insufficient&lt;/P&gt;&lt;P&gt;free space to create a partition at the specified size and offset. Specify&lt;/P&gt;&lt;P&gt;different size and offset values or don't specify either to create the&lt;/P&gt;&lt;P&gt;maximum sized partition. It may be that the disk is partitioned using the MBR di&lt;/P&gt;&lt;P&gt;sk&lt;/P&gt;&lt;P&gt;partitioning format and the disk contains either 4 primary partitions, (no&lt;/P&gt;&lt;P&gt;more partitions may be created), or 3 primary partitions and one extended&lt;/P&gt;&lt;P&gt;partition, (only logical drives may be created).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISKPART&amp;gt; format fs=fat12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 percent completed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Virtual Disk Service error:&lt;/P&gt;&lt;P&gt;The file system is incompatible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 21:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287104#M11146</guid>
      <dc:creator>nathanz</dc:creator>
      <dc:date>2013-09-02T21:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287105#M11147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a similar question about FAT12/16 formatting using a K20 series micro and MQX (check it here: &lt;A _jive_internal="true" href="https://community.nxp.com/thread/309279"&gt;https://community.freescale.com/thread/309279&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;About FAT12, it has a capacity of 4096 clusters with sizes from 512b up to 4Kb, so, i believe you shouldn't have any problem formatting it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 06:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287105#M11147</guid>
      <dc:creator>albertovargas</dc:creator>
      <dc:date>2013-09-03T06:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287106#M11148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After unpacking the 700mb worth of files in the link in that post I discovered there wasn't anything for the KL micro series i'm working on. Thanks for the attempt but i'm pretty sure starting with Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx , will get me slightly closer since what i'm going for it is exactly what that example is supposed to do. If only it worked....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave up on windows and started using linux for debug. Using "lsusb" I received the following:&lt;/P&gt;&lt;P&gt;Bus 001 Device 018: ID 15a2:0200 Freescale Semiconductor, Inc.&lt;/P&gt;&lt;P&gt;So the device successfully enumerates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I did "cat /dev/sda | hexdump -C" and received the following&lt;/P&gt;&lt;P&gt;00000000&amp;nbsp; eb 3c 90 4d 53 44 4f 53&amp;nbsp; 35 2e 30 00 02 01 01 00&amp;nbsp; |.&amp;lt;.MSDOS5.0.....|&lt;/P&gt;&lt;P&gt;00000010&amp;nbsp; 01 10 00 20 00 f8 02 00&amp;nbsp; 01 00 01 00 00 00 00 00&amp;nbsp; |... ............|&lt;/P&gt;&lt;P&gt;00000020&amp;nbsp; 00 00 00 00 00 00 29 74&amp;nbsp; 19 02 27 4c 50 43 32 33&amp;nbsp; |......)t..'LPC23|&lt;/P&gt;&lt;P&gt;00000030&amp;nbsp; 36 38 20 55 53 42 46 41&amp;nbsp; 54 31 32 20 20 20 33 c9&amp;nbsp; |68 USBFAT12&amp;nbsp;&amp;nbsp; 3.|00&lt;/P&gt;&lt;P&gt;... aka it read worked (I put a nxp ram disk image into the example so it wouldn't enumerate as a blank image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I tried a basic write operation with dd, "dd if=/dev/urandom of=/dev/sda bs=512"&lt;/P&gt;&lt;P&gt;This is where things fell apart. Linux appeared as if it successfully wrote the data however when I re-read my image no change would occur. If it can't complete a basic write operation I can't expect it to be able to format. I looked in the code and the correct USB op code is generated for a write operation. It receives WRITE_12_COMMAND /*opcode : 0xAA */ and attempts to execute the function "msc_write_command(controller_ID, cbw_ptr,csw_residue_ptr,csw_status_ptr);" in "usb_msc.c"&amp;nbsp; .&lt;/P&gt;&lt;P&gt;In this function there is a segment of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;if(_usb_device_get_transfer_status(&amp;amp;controller_ID,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;BULK_OUT_ENDPOINT, USB_RECV) != USB_STATUS_IDLE)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;{&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;(void)_usb_device_cancel_transfer(&amp;amp;controller_ID,BULK_OUT_ENDPOINT,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;USB_RECV);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This if statement returns true which I believe cancels or blocks the write attempts.&lt;/P&gt;&lt;P&gt;it returns hex 11 as opposed to the 0 its looking for which is defined as USB_STATUS_IDLE. Issue is, theres no way for that function to return 0 so the usb device cancel transfer is always called... Currently it receives a "bus idle error"... I've tried disabling this error but it still failed to complete the action somewhere in the USB stack...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Sep 2013 18:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287106#M11148</guid>
      <dc:creator>nathanz</dc:creator>
      <dc:date>2013-09-21T18:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287107#M11149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you resolved this issue? I have same problem implementing MSD Bootloader for K20... &lt;A href="https://community.nxp.com/thread/316372"&gt;Problems implementing USB MSD bootloader on K20&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Primoz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287107#M11149</guid>
      <dc:creator>primozrebec</dc:creator>
      <dc:date>2013-12-04T10:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287108#M11150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm seeing exactly the same issue as Nathan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Administrator Could we reclassify this thread&amp;nbsp; as "UNANSWERED" - not sure that "ASSUMED ANSWERED" is the best assumption here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Environmental Info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Win7&lt;/P&gt;&lt;P&gt;Freescale USB stack 4.1.1&lt;/P&gt;&lt;P&gt;CW-for-MCU 10.5&lt;/P&gt;&lt;P&gt;Example C:\Freescale\Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Repeat of Nathan's Linux experiment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user@math2 nick]# dmesg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[328041] usb 4-2: New USB device found, idVendor=15a2, idProduct=0200&lt;BR /&gt;[328050] usb 4-2: Product: USB MSD DEVICE PEx DEMO&lt;BR /&gt;[328053] usb 4-2: Manufacturer: FREESCALE SEMICONDUCTOR INC.&lt;BR /&gt;[331099] usb-storage 4-2:1.0: USB Mass Storage device detected&lt;BR /&gt;[338060] scsi 10:0:0:0: Direct-Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FREESCALE MSD&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001 PQ: 0 ANSI: 4&lt;BR /&gt;[338438] sd 10:0:0:0: Attached scsi generic sg4 type 0&lt;BR /&gt;&lt;STRONG&gt;[343051] sd 10:0:0:0: [sdd] 2 512-byte logical blocks: (1.02 kB/1.00 KiB)&lt;/STRONG&gt;&lt;BR /&gt;[346046] sd 10:0:0:0: [sdd] Write Protect is off&lt;BR /&gt;[346051] sd 10:0:0:0: [sdd] Mode Sense: 00 00 00 00&lt;BR /&gt;[349045] sd 10:0:0:0: [sdd] Asking for cache data failed&lt;BR /&gt;[349049] sd 10:0:0:0: [sdd] Assuming drive cache: write through&lt;BR /&gt;[367044] sd 10:0:0:0: [sdd] Asking for cache data failed&lt;BR /&gt;[367048] sd 10:0:0:0: [sdd] Assuming drive cache: write through&lt;BR /&gt;[372063] Dev sdd: unable to read RDB block 2&lt;BR /&gt;[372073]&amp;nbsp; sdd: unable to read partition table&lt;BR /&gt;[372084] sdd: partition table beyond EOD, enabling native capacity&lt;BR /&gt;[407076] sd 10:0:0:0: [sdd] Attached SCSI removable disk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# First, hexdump to show device sdd is empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user@math2 nick]# hexdump -C /dev/sdd&lt;BR /&gt;00000000&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; |................|&lt;BR /&gt;*&lt;BR /&gt;00000400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Second, write two 512-byte blocks of random bytes to device sdd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[user@math2 nick]# dd if=/dev/urandom of=/dev/sdd bs=512 count=2&lt;BR /&gt;2+0 records in&lt;BR /&gt;2+0 records out&lt;BR /&gt;1024 bytes (1.0 kB) copied, 0.0881834 s, 11.6 kB/s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Third, hexdump again to check contents after write&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[user@math2 nick]# hexdump -C /dev/sdd&lt;BR /&gt;00000000&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; |................|&lt;BR /&gt;*&lt;BR /&gt;00000400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# FAIL - /dev/sdd is still all zeros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, looking forward to inputs from anyone who has successfully used "C:\Freescale\Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx" on the FRDM-KL25Z board. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Also tried this with similar results: C:\Freescale\Freescale USB Stack v4.1.1\Source\Device\app\msd\cw10\kinetis_l2k\&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 18:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287108#M11150</guid>
      <dc:creator>nicknax</dc:creator>
      <dc:date>2014-02-04T18:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287109#M11151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi ,in this days i have work for find a solution with the freescale stack library. A fist solution, that i find, is to increase the buffer length in the file usb_msc.h changing:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_RECV_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (512)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_SEND_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (512)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in&amp;nbsp; :&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_RECV_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (8192)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;#define&amp;nbsp; MSC_SEND_DATA_BUFF_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (512)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;now i can copy files in the sdcard with dimension up to 8192byte but they aren't sync on the sdcard, the problem with the MSD seem to be that the recieve buffer will not be emptied, writing the data, when it's reaches the maximal content of data. The file send to the device is not splitted in more small packages with the dimension of the buffer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 07:30:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287109#M11151</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2014-02-14T07:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287110#M11152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniele,&lt;/P&gt;&lt;P&gt;Your're onto something...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 02:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287110#M11152</guid>
      <dc:creator>nicknax</dc:creator>
      <dc:date>2014-02-19T02:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287111#M11153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, Did any one got solution for the above problem of MSD Device Disk Format Issue. Now I am facing the same issue when i tried to use the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt; "C:\Freescale\Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx" on the FRDM-KL25Z board.&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H1&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 08:49:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287111#M11153</guid>
      <dc:creator>charanreddy</dc:creator>
      <dc:date>2015-02-03T08:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287112#M11154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See here &lt;A href="https://community.nxp.com/thread/323567"&gt;USB_ MSD_CLASS&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 14:04:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287112#M11154</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2015-02-03T14:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287113#M11155</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;Thanks for your replay. The link which you asked me to refer was useful bit i was not able to resolve my problem. You posted some changes regarding BUFF_SIZE which need to be changed. i changed those values but i am getting error as m_data overflowed by 2740 bytes and i did the other change also but i am not able resolve my problem. Actually i am implementing USB_MSD_DEVICE to store data in RAM. when I tried to&amp;nbsp; open &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\MSD\USB_MSD_DEVICE_MKL25Z128_PEx project i able to debug it and when connected to host PC it is asking to format the disk so when i tried to do that i am getting error as windows unable to format the disk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 07:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287113#M11155</guid>
      <dc:creator>charanreddy</dc:creator>
      <dc:date>2015-02-04T07:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287114#M11156</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;&lt;/P&gt;&lt;P&gt;As far as I have understood the demo that is being discussed is not actually usable to do much more than show the enumeration - although some changes have allowed more operation in SRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that PCs will format with FAT12 and this has a certain amount of overhead for the FAT12 sector (usually 2 will be used for redundancy), boot sector, some spare sectors and it even wastes 16k for the fixed root cluster (this is due to the rather stupid FAT12 operation in this respect). Therefore at least about 20k is needed to get things working to save a rather small file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone needs real functionality it is available at this link &lt;A href="http://www.utasker.com/kinetis/FRDM-KL25Z.html" title="http://www.utasker.com/kinetis/FRDM-KL25Z.html"&gt;http://www.utasker.com/kinetis/FRDM-KL25Z.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- there is a binary that can be loaded to the FRDM-KL25Z and allows internal Flash to be use as the storage medium for FAT.&lt;/P&gt;&lt;P&gt;The board will thus appear as a 74k external hard drive and, when fomatted, it then allows 56k of FAT12 cluster storage space. The OpenSDA virtual COM port has a command line shell interface (115'200 Baud) with a "Disk Interface" sub-menu that also allows working with the FAT. Formatting as FAT16 or FAT32 is also possible and there are various tools for analysing files and directories on the disk as well as viewing hidden or deleted files, undelete function, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an SD card is connected to the KL25 via SPI an SD card drive can also be used in parallel with the internal Flash drive. Another option is to use an SPI Flash connected via SPI as further drive.&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;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;K25: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL25Z.html" title="http://www.utasker.com/kinetis/FRDM-KL25Z.html"&gt;µTasker Kinetis FRDM-KL25Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-KL25Z48M.html" title="http://www.utasker.com/kinetis/TWR-KL25Z48M.html"&gt;µTasker Kinetis TWR-KL25Z48M support&lt;/A&gt; &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 05:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287114#M11156</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-05T05:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287115#M11157</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;&lt;/P&gt;&lt;P&gt;Thank you very much for your replay.&amp;nbsp; I have downloaded the binary file and it works fine. But what are the changes that i need to make to the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;USB_MSD_DEVICE_MKL25Z128_PEx project to work as a USB_MSD_DEVICE which uses its internal flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 13:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287115#M11157</guid>
      <dc:creator>charanreddy</dc:creator>
      <dc:date>2015-02-09T13:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287116#M11158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that PE can generate projects to do this (at the moment) but only examples of parts of it.&lt;/P&gt;&lt;P&gt;The uTasker project, used for the KL25Z USB-MSD configuration and supporting internal Flash, SD cards and SPI Flash at the same time - as well as other composite devices like 3 CDCs together with the MSD on the KL25, doesn't use PE and has many more advanced features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can ony use PE projects it will be necessary to wait until there is one available (making a service request may promote a development) or take the existing parts and add your own solution to it - I believe that you can then submit it back to PE so that it could be included in the furture.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;K25: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/FRDM-KL25Z.html" target="_blank"&gt;µTasker Kinetis FRDM-KL25Z support&lt;/A&gt;&amp;nbsp; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-KL25Z48M.html" target="_blank"&gt;µTasker Kinetis TWR-KL25Z48M support&lt;/A&gt; &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 16:27:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287116#M11158</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-09T16:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287117#M11159</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;&lt;/P&gt;&lt;P&gt;Thanks for your replay. I am trying to do with the existing components available and if i am successful i will post it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;charan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 16:32:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287117#M11159</guid>
      <dc:creator>charanreddy</dc:creator>
      <dc:date>2015-02-09T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: FDM KL25Z USB4.11 USB MSD Device Disk Format Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287118#M11160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can use the FSL USB 5.0 stack rather than PE there is a project to do this that was adapted by &lt;A href="https://community.nxp.com/people/dshimizu"&gt;dshimizu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-103509"&gt;Kinetis K64F - USB FLASH Drive using Internal FLASH and USB MSD device class&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not for the KL25, but the K64F but may be less work for you. It is specifically for IAR according to the thread but again with some effort should be portable to whatever you use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the uTasker solution works on all KL and K parts as it adapt itself to the part in question without needing porting. It also builds using KDS, CW, IAR, Keil, Crossworks, CooCox, Green Hills, Atollic, GCC or VisualStudio and so is designed for use in professional/industrial projects where develpment time is to be spend on the application rather than on the framework.&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;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;K25: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/FRDM-KL25Z.html" target="_blank"&gt;µTasker Kinetis FRDM-KL25Z support&lt;/A&gt;&amp;nbsp; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-KL25Z48M.html" target="_blank"&gt;µTasker Kinetis TWR-KL25Z48M support&lt;/A&gt; &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 17:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FDM-KL25Z-USB4-11-USB-MSD-Device-Disk-Format-Issue/m-p/287118#M11160</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-09T17:51:46Z</dc:date>
    </item>
  </channel>
</rss>

