<?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>How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20809/how-to-process-hardware-interrupt-int0-in-banking-project</link><description> 
Hi i m using Atmel At89S52 Microcontroller in my banking project.I
wanted to process the INT0 interrupt. 

 
On my hardware platform i can see on the oscilloscope that logic 0
is coming on the INT0 pin. 

 
What is linker&amp;#39;s role in this inter-banking</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/thread/135066?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2007 06:15:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2887431e-4790-44a8-9ea6-abc53fd025e4</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Does it get reset immediately, or after a while?&lt;/p&gt;

&lt;p&gt;
If you have set up a watchdog, and then don&amp;#39;t service it, the
watchdog can reset the chip.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/thread/123937?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2007 05:45:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:05cd2bf6-851d-4d79-a763-9cc76ffa9d84</guid><dc:creator>Christoph Franck</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;why it is happening?&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
My first guess would be that one or more of your ISRs contain
bugs.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/thread/113037?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2007 05:34:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2b09a9f2-98f2-48f9-8546-a8ace42ef484</guid><dc:creator>S B</dc:creator><description>&lt;p&gt;&lt;p&gt;
if EA=0(IE.7),then none of the interrupts can be
processed.Right?&lt;br /&gt;
But in my code,in Main function ,when i do the EA=1,then
microcontroller gets reset.&lt;/p&gt;

&lt;p&gt;
and if i comment this statement then code works fine.&lt;/p&gt;

&lt;p&gt;
why it is happening?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/thread/99417?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2007 04:02:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:618e87dc-ad2b-4e9a-9300-7a90e66d2a25</guid><dc:creator>Christoph Franck</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;What will happen if i m not specifying the Register bank.It is
necessary to specify?&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
You can have ISRs use a different register bank than the rest of
the program. This will speed up the ISRs, since the registers do not
have to be saved on the stack if the ISR switches to a different
register bank.&lt;/p&gt;

&lt;p&gt;
On the downside, using more than one register bank decreases the
amount of data memory, since the register banks are part of the data
memory space.&lt;/p&gt;

&lt;p&gt;
Whether or not it is necessary to specify depends on your
application. If your interrupt service routines can tolerate a few
extra cycles of latency for saving a few registers, it may not be
necessary to give ISRs their own register bank. If you need to
minimize ISR latency, then giving ISRs their own register bank is
what you need to do.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/thread/75269?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2007 03:22:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d4b86697-bc0d-447a-aa81-f0a6c6fe39b8</guid><dc:creator>S B</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi...&lt;/p&gt;

&lt;p&gt;
&amp;quot;ISRs must be located in the Common Area&amp;quot;&lt;br /&gt;
:--&amp;gt; Yes my ISR is located in common Area.&lt;/p&gt;

&lt;p&gt;
&amp;quot;using 3&amp;quot; refers to the 8051&amp;#39;s Register banks&amp;quot;&lt;br /&gt;
:--&amp;gt; Could you please clearify this statement.&lt;/p&gt;

&lt;p&gt;
What will happen if i m not specifying the Register bank.It is
necessary to specify?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to process Hardware interrupt INT0 in Banking project</title><link>https://community.arm.com/thread/50907?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2007 02:17:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:03395f4b-f518-48c2-9abd-dc758c61267d</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;I m calling this routine from bank 3&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
You can&amp;#39;t &lt;b&gt;call&lt;/b&gt; an interrupt service routine!&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Note that ISRs &lt;i&gt;&lt;b&gt;must&lt;/b&gt;&lt;/i&gt; be located in the Common
Area:&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/bl51/bl51_bk_commonarea.htm"&gt;http://www.keil.com/support/man/docs/bl51/bl51_bk_commonarea.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Note that &amp;quot;using 3&amp;quot; refers to the 8051&amp;#39;s &lt;b&gt;Register&lt;/b&gt; banks -
it has nothing to do with code banking!&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_le_regbankspec.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_le_regbankspec.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>