<?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>isr_evt_set problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28133/isr_evt_set-problem</link><description> 
Hi, All! 

 
My problem is exactly the same as http://www.keil.com/forum/13634/ 

 
void UARTHandler (void) __irq {
 isr_evt_set(0x0001,UART_TASK);
 //use &amp;quot;os_evt_set&amp;quot; works
}


void task_UART_received (void) __task {
 for(;;) {
 //can not get here</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: isr_evt_set problem</title><link>https://community.arm.com/thread/59692?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2011 12:59:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d9558a91-a870-475b-8a13-0ab626ab0be4</guid><dc:creator>Stephen Isidore</dc:creator><description>&lt;p&gt;&lt;p&gt;
First&lt;br /&gt;
could you post the Id chip (LPC24xx, LPC3250 ?)&lt;/p&gt;

&lt;p&gt;
Secondly&lt;br /&gt;
if you&amp;#39;re working with MCB2300, check if all uart interrupt event
have been validate (see uart register)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: isr_evt_set problem</title><link>https://community.arm.com/thread/66792?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2011 06:20:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d62db7e3-7795-4f80-88dd-7cfeb10605cf</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Don&amp;#39;t you think you should service the UART before returning from
the ISR? Wouldn&amp;#39;t you think the UART will request a new interrupt if
you don&amp;#39;t service it?&lt;/p&gt;

&lt;p&gt;
You normally have the ISR pick up any received characters (or send
out any outgoing characters). Then you have a thread process the
received and queued data, or compute more data to queue for
transmission when the UART becomes ready again.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>