<?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 Memory Stick Issue with AN4368 USB MSD Host Bootloader in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198191#M2783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using this codebase with CW 10.6 the alignment of the bdt buffer (khci_kinetis.c) does no longer work (at least for me). I had to change the code to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//#pragma data_alignment=512&lt;/P&gt;&lt;P&gt;uint_8 bdt[512] __attribute__ ((aligned(512))) = { 1 };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 18:16:37 GMT</pubDate>
    <dc:creator>christianwalter</dc:creator>
    <dc:date>2015-02-11T18:16:37Z</dc:date>
    <item>
      <title>USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198185#M2777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;On my K60-based custom board I added the MSD Host Bootloader porting the AN4368 source code.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;The USB Host Bootloader is working properly, but I have an issue relating to USB memory sticks with size 4GB and over: the image.S19 file is found only on about 25% of different memory sticks with that size. However, the device attachment and detachment is always properly detected by the bootloader.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;MS Windows formats those memory sticks with FAT32 by default and FAT32 should be the FAT type supported by the bootloader's file system.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;Since I get no issue with USB memory sticks with size less than 4GB (2GB, 1GB, ... up to an old 32MB memory stick!!!), that MS Windows formats with FAT by default, I have tried to format the 4GB or 8GB memory sticks with FAT: but I get the same issue.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;Since it is now difficult to buy new USB memory sticks with size less than 4GB, my issue's severity has become very high for my application.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;﻿&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica, sans-serif" size="2"&gt;Is it a bootloader file-system issue?&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 19:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198185#M2777</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2012-01-11T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198186#M2778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to solve the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar problem.. though not entirely size related.. I have 4 USB sticks.. two work and two do not.&amp;nbsp; They are all over the map as far as size goes.. Only thing I can see that is different is that the ones the don't work when plugged into my computer show USB DISK 2.0 USB Drive in the hardware properties and the ones that do work show something different.. Either Staples Relay UFD USB Device.. or Flash Drive UT_USB20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also.. Does any know if going to 3.8.1 solves these issues.. or if the code from 3.8.1 can be placed into a 3.8 environment to make things work.. I've seen on the board people complaining about 3.8.1 and I really don't want to brake anything if I don't have to..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 16:14:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198186#M2778</guid>
      <dc:creator>Ali2006</dc:creator>
      <dc:date>2012-10-03T16:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198187#M2779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to make a Service Request to the technical support about that issue.&lt;/P&gt;&lt;P&gt;Then I received a new version of the code and this is working much better.&lt;/P&gt;&lt;P&gt;See the attached zip file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Bye&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>Thu, 04 Oct 2012 07:02:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198187#M2779</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2012-10-04T07:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198188#M2780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my bootloader based on USB_MSD_Host_bootloader (AN4368) I have many problems with pendrives over to 4 GB. I have downloaded &lt;A _jive_internal="true" class="j-attachment-icon" href="https://community.nxp.com/servlet/JiveServlet/download/302230-251484/USB_MSD_Host_bootloader_rev2.zip"&gt;USB_MSD_Host_bootloader_rev2.zip&lt;/A&gt; but although I compare both revisions I don't see which are the differences between them. Can you say me these differences, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ángel G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 07:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198188#M2780</guid>
      <dc:creator>Angelillo</dc:creator>
      <dc:date>2013-05-07T07:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198189#M2781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry. Now, I'm seeing these many differences (for example, file "diskio.c"). I'm going to upgrade my Host Stack USB with this new revision. Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ángel G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 08:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198189#M2781</guid>
      <dc:creator>Angelillo</dc:creator>
      <dc:date>2013-05-07T08:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198190#M2782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Angel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did the Revision 2 of AN4368 USB MSD Host Bootloader solve your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198190#M2782</guid>
      <dc:creator>foo86</dc:creator>
      <dc:date>2014-11-11T15:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198191#M2783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using this codebase with CW 10.6 the alignment of the bdt buffer (khci_kinetis.c) does no longer work (at least for me). I had to change the code to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//#pragma data_alignment=512&lt;/P&gt;&lt;P&gt;uint_8 bdt[512] __attribute__ ((aligned(512))) = { 1 };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:16:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198191#M2783</guid>
      <dc:creator>christianwalter</dc:creator>
      <dc:date>2015-02-11T18:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198192#M2784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope AN4368 will be soon updated with USB stack 4.1.1, CW 10.6 and KDS 2.0.0 (using GNU GCC compiler).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my last project with K60FN1M0 cpu (1MB FTFE flash memory) I tried the porting, but I got too many compiler issues.&lt;/P&gt;&lt;P&gt;From &lt;A href="https://community.nxp.com/docs/DOC-102616"&gt;TWR-K70 MSD HOST Bootloader based on AN4368 source code&lt;/A&gt; and &lt;A href="https://community.nxp.com/thread/330163"&gt;AN4368 USB Host Bootloader bugs when using gcc tools&lt;/A&gt; I finally got a properly working USB MSD Host Bootloader with CW 10.6, but still with USB stack 4.0.2 and the old CodeWarrior compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198192#M2784</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2015-02-12T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198193#M2785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alessandro, have you found a solution to your issue with large USB drives?&amp;nbsp; I'm having similar issues.&amp;nbsp; When you said the updated project code worked better, do you mean it allows reading larger USB drives?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 18:39:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198193#M2785</guid>
      <dc:creator>ARQuattr</dc:creator>
      <dc:date>2016-06-28T18:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: USB Memory Stick Issue with AN4368 USB MSD Host Bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198194#M2786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the new code version solved my issue with USB drivers larger than 4GB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the last version of my USB MSD Host Bootloader for CW 10.6 Freescale ARM&lt;/P&gt;&lt;P&gt;Compiler on a Kinetis K60N512 cpu I also updated the FatFs file system code&lt;/P&gt;&lt;P&gt;version from the original R0.08a (the FatFs current version is R0.12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the last months, starting from that code, I developed an SD/USB&lt;/P&gt;&lt;P&gt;MSD/DataFlash bootloader on a Kinetis K66F180 cpu with KDS 3.1.0 + PEx +&lt;/P&gt;&lt;P&gt;KSDK 1.3.0 in OSA BareMetal mode using FatFs R0.11a and till now I got no&lt;/P&gt;&lt;P&gt;issue with SD cards or USB MSD drivers 16/32 GB sized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;Alessandro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Da: ARQuattr  &lt;/P&gt;&lt;P&gt;Inviato: martedì 28 giugno 2016 20:39&lt;/P&gt;&lt;P&gt;A: Alessandro Vagniluca &amp;lt;alessandro.vagniluca@vaber-hs.it&amp;gt;&lt;/P&gt;&lt;P&gt;Oggetto: Re:  - USB Memory Stick Issue with AN4368&lt;/P&gt;&lt;P&gt;USB MSD Host Bootloader&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-&lt;/P&gt;&lt;P&gt;Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USB Memory Stick Issue with AN4368 USB MSD Host Bootloader &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Angelo Quattrociocchi&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/people/ARQuattr?et=watches.email.thread&amp;gt;  in&lt;/P&gt;&lt;P&gt;Kinetis Microcontrollers - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/message/806667?et=watches.email.thread#comment-80&lt;/P&gt;&lt;P&gt;6667&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 07:35:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Memory-Stick-Issue-with-AN4368-USB-MSD-Host-Bootloader/m-p/198194#M2786</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2016-06-29T07:35:26Z</dc:date>
    </item>
  </channel>
</rss>

