<?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>Bad serial interrupt...</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16233/bad-serial-interrupt</link><description> Hello, 
 
I have two programs loaded in memory at different locations (not in multitasking, just loaded). Both are using the serial port and the first one uses its own ISR (interrupt service routine) for comunicating with the serial port. 
I did make</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Bad serial interrupt...</title><link>https://community.arm.com/thread/122010?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2003 02:33:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9af9b3ed-a984-42cf-8297-63a42f54a5bc</guid><dc:creator>Pogorevici Mihai</dc:creator><description>&lt;p&gt;This is for my final project (i&amp;#39;m in the final year) so its very important for me !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bad serial interrupt...</title><link>https://community.arm.com/thread/110369?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2003 02:30:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:23ac0ed3-6dea-4f9f-8882-ce039c12154b</guid><dc:creator>Pogorevici Mihai</dc:creator><description>&lt;p&gt;Also, i dont know how to make a startup code to undo the setup that program #1 did. Can you give me any example ?!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bad serial interrupt...</title><link>https://community.arm.com/thread/95542?ContentTypeID=1</link><pubDate>Sat, 31 May 2003 16:02:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b6597a1b-a3ba-498b-b0d3-644a51abab52</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;I wasn&amp;#39;t suggesting that you reinit the serial port so much as suggesting that perhaps that was a problem.&lt;br /&gt;
&lt;br /&gt;
If your second program is built just as any normal program, it&amp;#39;s going to execute startup code.  I noticed that your example code has writes to xdata 8000H to set the serial interrupt vector.  What if (for example) the startup code for your second program zeros all xdata?  It will zero out the interrupt vector set by program 1, and the serial interrupt will stop working.  You need to be sure that the startup code of program #2 doesn&amp;#39;t conflict with any work that program #1 does, or at least have it redo the work that it needs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bad serial interrupt...</title><link>https://community.arm.com/thread/71519?ContentTypeID=1</link><pubDate>Fri, 30 May 2003 20:07:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:435c6d79-1568-488d-8c13-2415c460d82d</guid><dc:creator>Pogorevici Mihai</dc:creator><description>&lt;p&gt;Reinitializing the serial port it is easy, but how could i reset the interrupt vector ?!?!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bad serial interrupt...</title><link>https://community.arm.com/thread/40323?ContentTypeID=1</link><pubDate>Fri, 30 May 2003 18:35:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e3b005a6-a889-4101-ba89-5a7feac01fa8</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;Assuming these are two independently-built, complete, standalone programs:&lt;br /&gt;
&lt;br /&gt;
Have you checked the startup code for program number 2?  Does it reset the interrupt vector and/or reinitialize the serial port when you jump to it from program #1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>