<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MCB2140 USB multiple interrupts</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28131/mcb2140-usb-multiple-interrupts</link><description> 
On the MCB2140 board the USB HID example runs fine, in order to
understand code flow, I enabled UART0 to be my debug port. When I
attempt to DebugOut text during USB transactions, my DebugOut routine
gets one character out then freezes. I&amp;#39;ve tried switching</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: MCB2140 USB multiple interrupts</title><link>https://community.arm.com/thread/59706?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2011 03:30:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:19249b0d-0d0e-4a29-a612-f674c57aa0c2</guid><dc:creator>Chinzei Tsuneo</dc:creator><description>&lt;p&gt;&lt;p&gt;
You&amp;#39;ve inserted the DebugOut to USB ISR.&lt;br /&gt;
Unless nested interrupts are enabled, you can&amp;#39;t expect any other
interrupt, regardless of priority, while an ISR is running.&lt;/p&gt;

&lt;p&gt;
Also, sound like your DebugOut blocks the target process until
full texts have gone out. It&amp;#39;ll cause timeout error on USB
enumeration on the host side.&lt;/p&gt;

&lt;p&gt;
Rewrite your DebugOut routine, so that it doesn&amp;#39;t block the target
process so much. For example, the DebugOut puts the debug strings to
a ring buffer. Another process puts the text on the buffer into
UART.&lt;/p&gt;

&lt;p&gt;
Tsuneo&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>