<?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: Porting USB Stack example projects to CrossWorks in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223341#M4155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;We finally did it – the whole magic is that „LITTLE_ENDIAN“ symbol wasn&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2; mso-ansi-language: EN-US;"&gt;’t defined for CrossStudio project. Codewarrior has it.&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, 14 Mar 2013 12:10:30 GMT</pubDate>
    <dc:creator>gaminn</dc:creator>
    <dc:date>2013-03-14T12:10:30Z</dc:date>
    <item>
      <title>Porting USB Stack example projects to CrossWorks</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223340#M4154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there any information how to port existing projects in Freescale USB Stack 4.0.3 to Rowley CrossWorks for ARM? For example this project: Freescale USB Stack v4.0.3\Source\Device\app\hid\cw10\kinetis_k70 . I can build it in CrossStudio, however the enumeration fails. I did no modification to the original code, only startup code differs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCU clock is OK (120 MHz), ISRs are working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 19:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223340#M4154</guid>
      <dc:creator>gaminn</dc:creator>
      <dc:date>2013-03-13T19:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Porting USB Stack example projects to CrossWorks</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223341#M4155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;We finally did it – the whole magic is that „LITTLE_ENDIAN“ symbol wasn&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2; mso-ansi-language: EN-US;"&gt;’t defined for CrossStudio project. Codewarrior has it.&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, 14 Mar 2013 12:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223341#M4155</guid>
      <dc:creator>gaminn</dc:creator>
      <dc:date>2013-03-14T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Porting USB Stack example projects to CrossWorks</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223342#M4156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having similar issues porting to Atollic IDE.&amp;nbsp; The LITTLE_ENDIAN was an issue, but I'm still having problems.&amp;nbsp; I'm getting a USB error PIDERR.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 20:53:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223342#M4156</guid>
      <dc:creator>chuckh</dc:creator>
      <dc:date>2013-08-13T20:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Porting USB Stack example projects to CrossWorks</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223343#M4157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out...it was a PLL thing plus the LITTLE_ENDIAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 21:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223343#M4157</guid>
      <dc:creator>chuckh</dc:creator>
      <dc:date>2013-08-13T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Porting USB Stack example projects to CrossWorks</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223344#M4158</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 for reviving this old thread but i have the same issue while writing my own stack,&lt;/P&gt;&lt;P&gt;when connecting USB, i get ERR Interrupt, ERRSTAT is 1 (PIDERR)&lt;/P&gt;&lt;P&gt;this is the only thread i found about this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently i'm compiling the code with arm-none-eabi- toolchain, all i have to do is add #define LITTLE_ENDIAN ?&lt;/P&gt;&lt;P&gt;or how do i set this little-endian mentioned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;I tried both #define LITTLE_ENDIAN in the .c file&lt;/P&gt;&lt;P&gt;and -mlittle-endian in the gcc command line, no help.&lt;/P&gt;&lt;P&gt;also, there is a PLL mentioned, im pretty sure i'm using the right PLL, because reset interrupt is working, but what pll should be used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Sep 2013 06:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223344#M4158</guid>
      <dc:creator>HagaiCohen</dc:creator>
      <dc:date>2013-09-22T06:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Porting USB Stack example projects to CrossWorks</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223345#M4159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the define to my project settings.&amp;nbsp; The PLL was because of how the clocks are configured.&amp;nbsp; Make sure that the USB is getting a 48MHZ clock one way or another.&amp;nbsp; It doesn't necessarily have to be the PLL, but it does have to be 48MHZ.&amp;nbsp; I'm no expert, but I know that once I looked into how the clocks worked, I was able to also get it working without the PLL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 16:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Porting-USB-Stack-example-projects-to-CrossWorks/m-p/223345#M4159</guid>
      <dc:creator>chuckh</dc:creator>
      <dc:date>2013-09-23T16:29:24Z</dc:date>
    </item>
  </channel>
</rss>

