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
I know, but are there no other sacrifice i could give instead of my R0? One Interrupt (Timer0) work as Task Manager, Clock generator, State supervisor and FIFO-writer. This ISR isn't short and I see no alternative to solve all these Functions... 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
Do you (or someone else...) know how I can change this "Nested Interrupt Handler" without destroy Functionality?
Best Regards,
Adrian
Simple control test: does your application still crash without nested interrupts?
Can'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.