This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Nested Interrupts in Bootloader

Hello, it's me again =)
I have a Problem (What else?):

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

I'm using Nested Interrupts from KEIL:
http://www.keil.com/support/docs/3353.htm

They worked fine. But now, I try to fit them into the USB-IAP-Bootloader. (From KEIL too =)
This mix crashs!

My Diagnostics:
The Bootloader uses Registers I use for nesting my Interrupts.

My Solution:
None! =(

So, could anybody help me again? It would be great!

Thanks for all Replys!

Best Regards, Adrian

Parents
  • 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 =(

    Let me reiterate: when your bootloader is running, none of this has to be executed. Disable nested interrupts, at least when in boot mode!

Reply
  • 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 =(

    Let me reiterate: when your bootloader is running, none of this has to be executed. Disable nested interrupts, at least when in boot mode!

Children
  • ok, ok,
    My Bootloader isn't running when I'm using Interrupts. The Bootloader is just running at the beginning. I load the Programme, The Bootloader start the Programme, the Programme fail.

    When I'm using Interrupts, the bootloading section is passed.
    My Bootloader is the "USB Secondary ISP Bootloader" and not an IAP-Bootloader how I wrote before. Sorry, my fault, shame on me!

    So, if I don't use Interrupts, Nested Interrupts aren't required also.

    Adrian