<?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: USBERR_TR_FAILED in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711358#M43643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;usb_device_khci.c&amp;gt; and related code located at [khci] folder is the driver implement the USB IP function.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 26 Sep 2017 06:34:29 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-09-26T06:34:29Z</dc:date>
    <item>
      <title>USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711355#M43640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am working on MK22 kinetis board.I am using SDK 1.3 USB stack for MSD.&lt;/P&gt;&lt;P&gt;MSD is not getting detected when i connect it to hub. After debugging i got to know that "USBERR_TR_FAILED" is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help me out understanding, why this error is coming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 11:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711355#M43640</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-09-22T11:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711356#M43641</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;NXP provides the MCUXpresso SDK package v2.2&amp;nbsp; for K22 product with updated USB stack.&lt;/P&gt;&lt;P&gt;Please check and download related software package from &lt;A href="https://mcuxpresso.nxp.com/en/welcome"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 25 Sep 2017 01:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711356#M43641</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-25T01:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711357#M43642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you. i am trying to integrate the new stack in my code now. but i dont see any function which will initialize the usb at the micro-controller level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aniket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 12:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711357#M43642</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-09-25T12:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711358#M43643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;usb_device_khci.c&amp;gt; and related code located at [khci] folder is the driver implement the USB IP function.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 26 Sep 2017 06:34:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711358#M43643</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-26T06:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711359#M43644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was debugging and found that USBERR_TR_FAILED is coming due to ERROR_PIDERR in _usb_khci_tr_done() function.&lt;/P&gt;&lt;P&gt;Can i know when PID error might happen?&lt;/P&gt;&lt;P&gt;Also one strange thing, when i run code in bootloader code, stack works fine but in application it gives above mentioned error.&lt;/P&gt;&lt;P&gt;Kindly suggest some idea to make my code work. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aniket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711359#M43644</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-09-27T13:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711360#M43645</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;The ERROR_PIDERR is happen when the PID check field fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PID field in token packets uses a simpler form of error checking. The lower four bits in the field are the PID, and the upper four bits are its complement. The receiver can check the integrity of the PID by complementing the upper four bits and ensuring that they match the PID. If not, the packet is corrupted and is ignored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 28 Sep 2017 05:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711360#M43645</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-28T05:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711361#M43646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;thank you for the explanation.&lt;/P&gt;&lt;P&gt;but why the error is only coming in application code and not in the bootloader code, this is where i am wondering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aniket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 08:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711361#M43646</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-09-28T08:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711362#M43647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have re-initialization USB module at application code?&lt;/P&gt;&lt;P&gt;For you are using the old version SDK software, there with very limited support resource.&lt;/P&gt;&lt;P&gt;Could you try to use the latest MCUXpresso SDK v2.2 software for K22 product? Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 29 Sep 2017 03:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711362#M43647</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-29T03:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711363#M43648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;okay. I will integrate the MCUXpresso SDK v2.2 software for USB stack.&lt;/P&gt;&lt;P&gt;I have to run 2 Mass storage device and 1 speaker, in boot loader and application code.&lt;/P&gt;&lt;P&gt;i will keep updating here if i get any doubts or problem.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 07:23:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711363#M43648</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-09-29T07:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711364#M43649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;i have integrated the latest USB stack in my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have mounted 1 MSD on 0: and another on 1: , is this correct (as a two physical drives)?&lt;/P&gt;&lt;P&gt;Also when i am trying to change drive using f_chdrive(), its changing the drive variable CurrVol in code. But when i perform any operation it is performed on last drive which i have mounted.&lt;/P&gt;&lt;P&gt;please guide me on how to mount two MSD devices and access them simultaneously using FATfs.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711364#M43649</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-10-06T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711365#M43650</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;Sorry, I have some confusion about your code/application.&lt;/P&gt;&lt;P&gt;There are two working mode for K22, which in bootloader mode and application mode.&lt;/P&gt;&lt;P&gt;During the bootloader mode, the K22 FS USB module works as one MSD device;&lt;/P&gt;&lt;P&gt;Then in application mode, the K22 FS USB module works with USB device composite as one MSD device and one USB speaker.&lt;/P&gt;&lt;P&gt;The two MSD device using the different memory range in RAM.&lt;/P&gt;&lt;P&gt;Please guide me if there with any misunderstanding about your code/application.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 10 Oct 2017 02:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711365#M43650</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-10-10T02:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: USBERR_TR_FAILED</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711366#M43651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in both application and bootloader mode, k22 works with 2 MSD and 1 speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two MSD device using the different memory range in RAM. how to check this? i have allocated the static memory in entire stack instead of dynamic memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 10:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USBERR-TR-FAILED/m-p/711366#M43651</guid>
      <dc:creator>aniketmarkande</dc:creator>
      <dc:date>2017-10-10T10:02:31Z</dc:date>
    </item>
  </channel>
</rss>

