<?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: Help with USB</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232620#M5192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No we are not using gcc,we use the inbuilt freescale tools which come when creating a project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Oct 2013 12:59:02 GMT</pubDate>
    <dc:creator>arunkumar1989</dc:creator>
    <dc:date>2013-10-27T12:59:02Z</dc:date>
    <item>
      <title>Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232610#M5182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I am currently trying out the USB module on my K60(MK60FN1MOVLQ12),in device mode.&lt;/P&gt;&lt;P&gt;Basically,i want to accomplish two things:&lt;/P&gt;&lt;P&gt;1.a simple loop back i.e i write something in hyper terminal and the same content should be echoed back to the same terminal.&lt;/P&gt;&lt;P&gt;2.Text written in hyper terminal should be echoed on an LCD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read a few forums and it seems we need to add a few user made processor expert modules?&lt;/P&gt;&lt;P&gt;If someone could point me to an example using this /or similar controller,that would help me a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the USB_LDD component but i always mess up with the timings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked at a few tutorials(links below) but some of their PE components are not there in my current PE component library :smileysad:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/" title="http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/"&gt;http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.steinerberg.com/EmbeddedComponents/Examples/Examples.htm" title="http://www.steinerberg.com/EmbeddedComponents/Examples/Examples.htm"&gt;http://www.steinerberg.com/EmbeddedComponents/Examples/Examples.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 05:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232610#M5182</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-25T05:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232611#M5183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS: i have already installed USB STACK ver 4.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 05:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232611#M5183</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-25T05:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232612#M5184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would highly recommend reading the following two tutorials by Erich Styger. He works for Freescale and is the author of the popular "MCU On Eclipse" blog. I was able to both understand and get the USB CDC (serial, virtual COM port) communications running for the KL46Z Freedom board through these tutorials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/" title="http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/"&gt;Tutorial: USB CDC with the KL25Z Freedom Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/08/29/usb-for-the-freescale-arm-kinetis-kl46z-and-k21d50m/" title="http://mcuoneclipse.com/2013/08/29/usb-for-the-freescale-arm-kinetis-kl46z-and-k21d50m/"&gt;http://mcuoneclipse.com/2013/08/29/usb-for-the-freescale-arm-kinetis-kl46z-and-k21d50m/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich hasn't posted example code for the K60 regarding USB CDC communications. However, I would recommend you to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Download and install Erich's Processor Expert components. Erich usually has the most up to date Freescale components and he is constantly improving them. You can find these components by following this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have a GitHub account then you can just download these components and all of his example code on a zip file by following this link and clicking on "Download ZIP":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ErichStyger/mcuoneclipse" title="https://github.com/ErichStyger/mcuoneclipse"&gt;ErichStyger/mcuoneclipse · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Download Erich's USB CDC example for the KL46. This is the most up to date example he has on using Freescales USB stack. You can find this example on GitHub by following this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/FRDM-KL46Z/FRDM-KL46Z48M_USB_CDC" title="https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/FRDM-KL46Z/FRDM-KL46Z48M_USB_CDC"&gt;mcuoneclipse/Examples/FRDM-KL46Z/FRDM-KL46Z48M_USB_CDC at master · ErichStyger/mcuoneclipse · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) The easiest way for you to get your loop back functionality up and running will be to open up his KL46 example and edit the Processor Expert settings for the USB and CPU components. You will need to edit the clock settings and maybe the pins so they match the actual pins for the external oscillator on your K60 board. To help you understand which clock settings you need to edit and how to choose the right settings you should read Erich's tutorial for the KL25 microcontroller. The main detail is that the USB module on the Kinetis microcontrollers needs to run on a 48 MHz clock. Your K60 board might have an external 8 MHz oscillator. If this is the case, then you will have to configure the K60's Processor Expert component to generate the 48 MHz clock. For example, on the KL25 and KL46 chips this is done by selecting the options to multiply the external 8 MHz clock using the PLL module to obtain a 96 MHz clock and then passing this resulting clock through a clock divider to obtain the required 48 MHz clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) After completing the clock and pin settings you just have to run the code on your K60 board. It should show up as a COM port on your computer. If you open a terminal app (I recommend RealTerm or PuTTY if you're using Windows) you will see that anything you type will be looped back to the terminal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Look at the KL46 example code and learn the function calls that were used to send and receive data. In short, you just use the CDC1_SendString() function to send strings through the USB interface and CDC1_GetChar() to read one character at a time out of the receive buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) To test more advanced communications between the K60 and your computer I would recommend getting Visual Studio Express 2012 (it's free) and use C# to read and write to the COM port that belongs to the K60 chip. That's if you need to develop a project for Windows. Or if you're familiar with some other OS, language and IDE then just use whatever you're comfortable with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took me about a week to understand how the Freescale Processor Expert projects are setup on the CodeWarrior IDE and where all the code needs to go and why as well as why Processor Expert is so useful, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, it took me about three days to understand the clock settings and I had to read Freescale's reference manual to check how the clocks worked on the KL46 and KL25 chips. You might have to do the same for the K60. But of course, having the KL46 example meant that I had a working setup from the start and I could comfortably mess around with the settings to actually understand why the clock needed to be setup that way. If you're in a hurry then you don't need to learn as much as I did, just enough to get you running. But learning that little bit extra will help you later on in other projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, it then took me about a day and a half to learn how to make a basic C# app to start designing all the other functionality that I needed between the KL46 and the computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't have any previous experience on using the Kinetis or the Processor Expert platform or C# before I read those tutorials. However, I have used other basic microcontrollers and FPGAs in previous projects as well as Java for Android so that translated nicely for using C# to make a Windows GUI and for understanding all the clock settings. It goes without saying that it might take you much less time than me if you are already experienced in any of this topics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this post helps you. Have fun and be patient with yourself while you do dig through all this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 16:02:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232612#M5184</guid>
      <dc:creator>carlosmendoza</dc:creator>
      <dc:date>2013-10-25T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232613#M5185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun,&lt;/P&gt;&lt;P&gt;I think you wanted to say 'USB stack 4.1.1' as this is the latest one I'm aware of, as there is no such 4.3?&lt;/P&gt;&lt;P&gt;I want to thank Carlos for the nice mentioning of my work :smileyhappy:. &lt;/P&gt;&lt;P&gt;He is correct: I have not published a K60F120M USB example. Until right now!&lt;/P&gt;&lt;P&gt;Carlos is correct: the clock settings are the most difficult part, and in addition the K60 on my TWR-K60F120M board had a silicon issue too :-(.&lt;/P&gt;&lt;P&gt;So I decided to document the steps and workaround in a blog post:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/10/27/usb-with-the-twr-k60f120m-and-twr-k70f120m/" title="http://mcuoneclipse.com/2013/10/27/usb-with-the-twr-k60f120m-and-twr-k70f120m/"&gt;USB with the TWR-K60F120M and TWR-K70F120M | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For reference, I have attached to this reply my project with all sources generated, so you have something to try out.&lt;/P&gt;&lt;P&gt;Please check the jumper settings in above post, and then you should be able to use a terminal to the board and see the characters echoed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 11:57:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232613#M5185</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-27T11:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232614#M5186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;Thank you for such detailed info,yes my end game is to get communication setup from my hardware to a custom API(using VB,haven't decided on the correct software yet)so that i can give inputs via computer,but this is only secondary as i have to first have proper settings configured in my K60 core. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232614#M5186</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-27T12:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232615#M5187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erich,&lt;/P&gt;&lt;P&gt;Thank you for this.Will try it first thing when i reach work :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I meant 4.0.3(i think it came with the K60&amp;nbsp; we purchased),but seeing that there is a 4.1.1,i will install that instead.&lt;/P&gt;&lt;P&gt;Will post again if i am facing any problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;We do not have the 32 kHz crystal yet as we have no use fir the RTC for now,hope that will not be as issue with usb configurations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232615#M5187</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-27T12:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232616#M5188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;if you are going to use my Processor Expert component(s), you do not need to install the USB stack: the USB components have the sources of 4.1.1 already intergrated. But of course you can have 4.1.1. installed too (it does not hurt).&lt;/P&gt;&lt;P&gt;4.0.3 is pretty old, so anyway good if you use 4.1.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232616#M5188</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-27T12:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232617#M5189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep i am going to use your PE components.We are using CW 10.3 at the moment, the CW10.5 you mentioned in your blog an evaluation copy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:42:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232617#M5189</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-27T12:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232618#M5190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The components should work fine in 10.3, and they do not need any special license. So you can use them in the special/free edition without any problem. I have not used 10.3 after I switched to 10.4 earlier this year. I'm using 10.5 right now, but it seems that others have problems with that new Eclipse version. I suggest you try things with 10.3. I believe the projects should be pretty much backwards compatible. If you face an issue, let me know.&lt;/P&gt;&lt;P&gt;It is just that my project is set up for gcc (not for the legacy Freescale ARM compiler). Are you using gcc too in CodeWarrior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232618#M5190</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-27T12:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232619#M5191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, you do not need that 32 kHz crystal for USB. I just configured it as it is present on the board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232619#M5191</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-27T12:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232620#M5192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No we are not using gcc,we use the inbuilt freescale tools which come when creating a project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 12:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232620#M5192</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-27T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232621#M5193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I recommend that you move up at least to 10.4. Gnu GCC is the default and standard compiler Freescale provides now. That compiler you use will be EOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 13:03:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232621#M5193</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-27T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232622#M5194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;I am getting a bunch of errors after doing all the changes,any idea what may be causing this ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error_usb.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41950i9C090D47F27CC358/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_usb.png" alt="error_usb.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And it is able to generate the .afx file in-spite of the errors being generated. !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 04:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232622#M5194</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-28T04:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232623#M5195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;this is 10.3, right?&lt;/P&gt;&lt;P&gt;Have you loaded the latest (released yesterday) *.PEupd files from GitHub?&lt;/P&gt;&lt;P&gt;Try close the project and open it again (project &amp;gt; close). Maybe the problem goes away. It might be one of the issues of 10.3 I was aware of (that's why 10.4 is much better in my view).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this still does not help: can you post your project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 06:00:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232623#M5195</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-28T06:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232624#M5196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;Never mind the previous error,once i restarted code warrior and cleaned the project the errors vanished :smileyhappy:.&lt;/P&gt;&lt;P&gt;But i am facing another problem: device not recognized in pc(device manager),any legacy hardware i need to install before connecting my hardware to pc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also these are the changes i had done to your reference project which you had uploaded in your previous post.:&lt;/P&gt;&lt;P&gt;I had to change my timing settings a bit:&lt;/P&gt;&lt;P&gt;My External Crystal pins are PTA18 &amp;amp; PTA19&lt;/P&gt;&lt;P&gt;My external reference clock pin is PTE24&lt;/P&gt;&lt;P&gt;so,i had to use system oscillator 0,not system oscillator 1 in PLL0 settings.&lt;/P&gt;&lt;P&gt;I removed the LED1,2,3 components from my code.,using only FSL_USB_stack and WAIT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 06:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232624#M5196</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-28T06:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232625#M5197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need Windows point to the .inf file present in&lt;/P&gt;&lt;P&gt;TWR-K60F120M_USB_CDC\Documentation\cdc.inf&lt;/P&gt;&lt;P&gt;see &lt;A href="http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/" title="http://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/"&gt;Tutorial: USB CDC with the KL25Z Freedom Board | MCU on Eclipse&lt;/A&gt; and search for cdc.inf&lt;/P&gt;&lt;P&gt;Then your device should be recognized.&lt;/P&gt;&lt;P&gt;See as well&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/03/15/usb-cdc-reloaded/" title="http://mcuoneclipse.com/2012/03/15/usb-cdc-reloaded/"&gt;http://mcuoneclipse.com/2012/03/15/usb-cdc-reloaded/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 06:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232625#M5197</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-28T06:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232626#M5198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erich,&lt;/P&gt;&lt;P&gt;I tried but i think its not working correctly.&lt;/P&gt;&lt;P&gt;Let me run you though it one tiny step at time. -;),perhaps you may find what i am doing wrong here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.I was able to program the controller successfully with the new code.&lt;/P&gt;&lt;P&gt;2.Then i connected my cable to my hardware first ,then the PC side usb port&lt;/P&gt;&lt;P&gt;3.No change or hardware detected in device manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Running on win 7(32 bit) by the way)&lt;/P&gt;&lt;P&gt;4.In device manager,&lt;/P&gt;&lt;P&gt;I click Action-&amp;gt;Add new legacy hardware-&amp;gt;next-&amp;gt;select the "Instal the hardware that i manually select from the list(Advanced)"-&amp;gt;i select PORTS(COM &amp;amp; LPT) and click next-&amp;gt;click on "Have Disk"-&amp;gt; a window pops up from which i point it my the cdc.inf file-&amp;gt;Model i select as "Freescale CDC Device" -&amp;gt;click next-&amp;gt;click next-&amp;gt;windows warning appears(click install anyway)-&amp;gt;finally i get a "Completing add hardware wizard" with &lt;STRONG&gt;a code 10 error&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error_usb.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42017i428F58BA567FDBFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_usb.png" alt="error_usb.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 06:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232626#M5198</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-28T06:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232627#M5199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;Has that 'Freescale CDC Device' shown up automatically in your device manager? I see it in your screenshot, but your text tells me that the device manager did not 'see' it automatically?&lt;/P&gt;&lt;P&gt;The thing is this: Windows needs to automatically detect that there is a new device. If not, then the USB device is not communicating.&lt;/P&gt;&lt;P&gt;I think I have never used the old Freescale legacy ARM compiler with the USB stack (I switched over to gcc as it has better performance), so it could be that the compiler/linker has not aligned the USB buffer descriptors?&lt;/P&gt;&lt;P&gt;Any chance that you could try things with CodeWarrior and gcc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you program the .elf I have provided above with the TWR-K60F120M?&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/04/30/flashing-with-a-button-and-a-magic-wand/" title="http://mcuoneclipse.com/2012/04/30/flashing-with-a-button-and-a-magic-wand/"&gt;http://mcuoneclipse.com/2012/04/30/flashing-with-a-button-and-a-magic-wand/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/08/02/standalone-flash-programmer/" title="http://mcuoneclipse.com/2012/08/02/standalone-flash-programmer/"&gt;Standalone Flash Programmer | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how to download just an S19 or ELF file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 07:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232627#M5199</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-28T07:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232628#M5200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope it did not show up automatically,after i completed all those steps in my previous step it showed up(and remains there even when i unplug my device)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran you .elf file as well,same result :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 07:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232628#M5200</guid>
      <dc:creator>arunkumar1989</dc:creator>
      <dc:date>2013-10-28T07:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232629#M5201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then the microcontroller is not talking 'USB' to the host PC.&lt;/P&gt;&lt;P&gt;Are you using the TWR-K60F120M with the TWR-SER? Can you check the jumper settings?&lt;/P&gt;&lt;P&gt;I have silicon mask 0N96B, maybe you have a different silicon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that my .elf program only works on the TWR-K60F120M: it will not run on your custom board as you have different clocking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 07:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-USB/m-p/232629#M5201</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-10-28T07:30:18Z</dc:date>
    </item>
  </channel>
</rss>

