<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: usb does not enumerate</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/usb-does-not-enumerate/m-p/197515#M8855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setup a new C++ project with CW Eclipse and ported in my usb driver.&amp;nbsp; USB now enumerates.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My driver was originally developed in a C++ environment.&amp;nbsp; Although I removed all C++ objects, I suspect that I am using some variable declaration or other items that Eclipse doesn't recognize when configured as a C project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2013 16:23:47 GMT</pubDate>
    <dc:creator>VinceTF</dc:creator>
    <dc:date>2013-01-10T16:23:47Z</dc:date>
    <item>
      <title>usb does not enumerate</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/usb-does-not-enumerate/m-p/197514#M8854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First some background info:&lt;/P&gt;&lt;P&gt;My platform is a mcf52258 on a custom designed board.&amp;nbsp; Note that this design is based off of M52259DEMO.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a custom bare metal interrupt driven usb driver.&amp;nbsp; The project is based off of 52259EVB_IRQs and I am using Eclipse 10.2.&amp;nbsp; I found the interrupt vector table located in exceptions.c and setup my handler (usb_driver_isr) there.&amp;nbsp; &lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The usb_driver is a custom one that I developed baselined from freescale's bootloader for my device.&amp;nbsp; This driver works on an MQX based project and a bare metal project developed with CW 7.2 using PE.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my problem:&lt;/P&gt;&lt;P&gt;The usb_driver_isr is only called on reset and for no other transactions (ie - token done).&amp;nbsp; I can see on the bus analyzer that my device is not responding to setup packets from the host.&amp;nbsp; In the IDE I can see that my setup handler is never called when the isr is entered.&amp;nbsp; As I stated before, it appears that the isr is only&amp;nbsp; called for reset.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I unplug and plug in the usb cable, the isr is entered again, but only for reset.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I verified that my BDT is addressed correctly by observing the BDT_PAGE_0X registers through the IDE.&amp;nbsp; Not sure where to go from here.&amp;nbsp; As I stated before, this usb_driver has work for other firmware on this same platform.&amp;nbsp; Do I not have interrupts setup correctly?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Vince&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337748"&gt;main_for_freescale.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337748"&gt;usb_driver_for_freescale.cpp.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 17:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/usb-does-not-enumerate/m-p/197514#M8854</guid>
      <dc:creator>VinceTF</dc:creator>
      <dc:date>2012-12-04T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: usb does not enumerate</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/usb-does-not-enumerate/m-p/197515#M8855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setup a new C++ project with CW Eclipse and ported in my usb driver.&amp;nbsp; USB now enumerates.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My driver was originally developed in a C++ environment.&amp;nbsp; Although I removed all C++ objects, I suspect that I am using some variable declaration or other items that Eclipse doesn't recognize when configured as a C project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 16:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/usb-does-not-enumerate/m-p/197515#M8855</guid>
      <dc:creator>VinceTF</dc:creator>
      <dc:date>2013-01-10T16:23:47Z</dc:date>
    </item>
  </channel>
</rss>

