<?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 Respond to USB command after code restart. in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Respond-to-USB-command-after-code-restart/m-p/267809#M11771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Device: mcf52258&lt;/P&gt;&lt;P&gt;Compiler: CW Eclipse 10.2&lt;/P&gt;&lt;P&gt;RTOS: None/Bare Metal&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a custom usb driver that I am trying to setup to respond to &lt;/P&gt;&lt;P&gt;a command after a restart.&amp;nbsp; Note that the usb driver is interrupt &lt;/P&gt;&lt;P&gt;driven.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The desired process is as follows:&lt;/P&gt;&lt;P&gt;1) Out pipe issues a command.&lt;/P&gt;&lt;P&gt;2) code restarts.&lt;/P&gt;&lt;P&gt;3) In pipe issues a response.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code I purposely do NOT enable the USB peripheral after &lt;/P&gt;&lt;P&gt;the code is restarted to avoid a reset.&amp;nbsp; However I do install and &lt;/P&gt;&lt;P&gt;enable the interrupt a second time.&amp;nbsp; The response to the OUT &lt;/P&gt;&lt;P&gt;pipe is a stalled IN pipe.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas as to what could be causing this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2013 18:10:04 GMT</pubDate>
    <dc:creator>VinceTF</dc:creator>
    <dc:date>2013-04-15T18:10:04Z</dc:date>
    <item>
      <title>Respond to USB command after code restart.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Respond-to-USB-command-after-code-restart/m-p/267809#M11771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Device: mcf52258&lt;/P&gt;&lt;P&gt;Compiler: CW Eclipse 10.2&lt;/P&gt;&lt;P&gt;RTOS: None/Bare Metal&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a custom usb driver that I am trying to setup to respond to &lt;/P&gt;&lt;P&gt;a command after a restart.&amp;nbsp; Note that the usb driver is interrupt &lt;/P&gt;&lt;P&gt;driven.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The desired process is as follows:&lt;/P&gt;&lt;P&gt;1) Out pipe issues a command.&lt;/P&gt;&lt;P&gt;2) code restarts.&lt;/P&gt;&lt;P&gt;3) In pipe issues a response.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code I purposely do NOT enable the USB peripheral after &lt;/P&gt;&lt;P&gt;the code is restarted to avoid a reset.&amp;nbsp; However I do install and &lt;/P&gt;&lt;P&gt;enable the interrupt a second time.&amp;nbsp; The response to the OUT &lt;/P&gt;&lt;P&gt;pipe is a stalled IN pipe.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas as to what could be causing this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 18:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Respond-to-USB-command-after-code-restart/m-p/267809#M11771</guid>
      <dc:creator>VinceTF</dc:creator>
      <dc:date>2013-04-15T18:10:04Z</dc:date>
    </item>
  </channel>
</rss>

