<?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>Nested Interrupts in Bootloader</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28079/nested-interrupts-in-bootloader</link><description> 
Hello, it&amp;#39;s me again =) 
I have a Problem (What else?): 

 
First of all: uVision3 with an ARM7TDMI-S on LPC2148,
ARMC-Compiler V3.1... 

 
I&amp;#39;m using Nested Interrupts from KEIL: 
 http://www.keil.com/support/docs/3353.htm 

 
They worked fine. But</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/136301?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:55:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:34d84269-fba5-4580-afd8-2189207c32f7</guid><dc:creator>Per Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Can&amp;#39;t you measure the time with capture registers, so you just
read out the exact value (with 100ns or better resolution)? The
timers can do more than just busy-run.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/136312?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:51:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5f0b04f3-8c1b-4432-9f5e-3473511bd4f6</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
Simple control test: does your application still crash without
nested interrupts?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/136304?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:44:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b3bcd46a-b7a6-4e1a-bcdc-7f79307d3462</guid><dc:creator>A. M.</dc:creator><description>&lt;p&gt;&lt;p&gt;
ok, ok,&lt;br /&gt;
My Bootloader isn&amp;#39;t running when I&amp;#39;m using Interrupts. The Bootloader
is just running at the beginning. I load the Programme, The
Bootloader start the Programme, the Programme fail.&lt;/p&gt;

&lt;p&gt;
When I&amp;#39;m using Interrupts, the bootloading section is passed.&lt;br /&gt;
My Bootloader is the &amp;quot;USB Secondary ISP Bootloader&amp;quot; and not an
IAP-Bootloader how I wrote before. Sorry, my fault, shame on me!&lt;/p&gt;

&lt;p&gt;
So, if I don&amp;#39;t use Interrupts, Nested Interrupts aren&amp;#39;t required
also.&lt;/p&gt;

&lt;p&gt;
Adrian&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/126479?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:38:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:de334bab-cdde-4fa6-ac0e-81bb0b7f947a</guid><dc:creator>A. M.</dc:creator><description>&lt;p&gt;&lt;p&gt;
I know, but are there no other sacrifice i could give instead of
my R0?&lt;br /&gt;
One Interrupt (Timer0) work as Task Manager, Clock generator, State
supervisor and FIFO-writer. This ISR isn&amp;#39;t short and I see no
alternative to solve all these Functions...&lt;br /&gt;
Timer1 is used to generate another Signal (Master Clock of an
external device) and as a Slope-Generator. Furthermore there are 4
external Interrupts, two ADC-Interrupts and an UART Interrupt... I
Told: A lots of Interrupts =S&lt;/p&gt;

&lt;p&gt;
Do you (or someone else...) know how I can change this &amp;quot;Nested
Interrupt Handler&amp;quot; without destroy Functionality?&lt;/p&gt;

&lt;p&gt;
Best Regards,&lt;/p&gt;

&lt;p&gt;
Adrian&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/126476?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:32:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:84a753f8-1d48-4b97-bf06-a899fc466bfb</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;My Situation: I have a lots of Interrupts occuring. Some of
these Interrupts have to measure Time. The accuracy of this time is
+/-0.5us... So I need them to appear instantaneous, otherwise, they
are useless =(&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Let me reiterate: when your bootloader is running, none of this
has to be executed. Disable nested interrupts, at least when in boot
mode!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/116095?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:27:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b892450c-e0e7-4e9b-bff9-fe9653d2c1b3</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
If you keep your ISRs short, are you also too late?&lt;br /&gt;
Obviously, some functionality has to be sacrificed when in boot
mode.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/104343?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 07:26:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d670ff48-90c8-48b7-92e2-e2185211367c</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;Yes, I need Nested Interrupts.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Fair enough.&lt;br /&gt;
Now tell me WHY you think you need them.&lt;br /&gt;
I have a 250,000 lines industrial controller, include 2 bootloaders
and multiple interrupts sources all functioning on one LPC2478
without usage of nested interrupts.&lt;br /&gt;
Again: What makes you sure you need them?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/78754?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 06:34:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f236257a-8c4e-4315-860c-3579fb25ef9e</guid><dc:creator>A. M.</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello Tamir... or Michael... or Mr. Tamir... Whatever:&lt;br /&gt;
Yes, I need Nested Interrupts.&lt;br /&gt;
My Situation: I have a lots of Interrupts occuring. Some of these
Interrupts have to measure Time. The accuracy of this time is
+/-0.5us... So I need them to appear instantaneous, otherwise, they
are useless =(&lt;/p&gt;

&lt;p&gt;
I need them in Bootloader, otherwise I can&amp;#39;t programme the uC.&lt;/p&gt;

&lt;p&gt;
And yes, I&amp;#39;m writing to a Flash File, but not via USB... I need
SD-Card.&lt;br /&gt;
So, my LPC2148 is really busy, isn&amp;#39;t he? =)&lt;/p&gt;

&lt;p&gt;
I write to Registers R0-R3, R12-R15 in Nested Interrupt handling
routine... more precisely in assembly language wrapper function.&lt;/p&gt;

&lt;p&gt;
Thanks for Reply,&lt;br /&gt;
Adrian&lt;/p&gt;

&lt;p&gt;
PS: I&amp;#39;ll pay you a beer, Michael... or Tamir =)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested Interrupts in Bootloader</title><link>https://community.arm.com/thread/58810?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2010 06:18:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:539a85c5-eede-476a-9fab-3d699c4882fb</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
why do you need nested interrupts in the bootloader?&lt;br /&gt;
why do you need nested interrupts at all? think about it for a
second.&lt;/p&gt;

&lt;p&gt;
is it possible that you don&amp;#39;t turn interrupts off while writing to
flash?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>