cancel
Showing results for 
Search instead for 
Did you mean: 

STR71x Lost Interrupt with Lauterbach

ajguess
Associate
Posted on August 03, 2006 at 21:40

STR71x Lost Interrupt with Lauterbach

1 REPLY 1
ajguess
Associate
Posted on August 03, 2006 at 21:40

STR710

IAR 4.3 compiler

Quadros OS

Lauterbach T32 debugger

I am currently working an issue where stopping debugging at task level in many instances does not allow the MCU to vector to the NIRQ upon restart.

The system is setup so that the NIRQ only processes GPT timer ''tics'' at 5ms period. Prior to this it was running the RTC at 5ms. Quadros OS timers are dispatched via this ISR. Tasks are suspended awaiting these timer expirations.

Soft or onchip breakpoints are set in various locations outside the ISR. Once they are hit, (typically) the ISR is never vectored to again. Invectigation of the EIC shows the IRQ in question is pending. The PSR F & I bits are not masking interrupts. THe IRQ request is effectively ''lost''

Setting the bkpt within the ISR does not show this problem - probably because the IRQ is still pending. Configuraing the IRQMASK for ASM & HLL within the debugger has no effect. LAuterbach and ST are both investigating this but no answers yet - other than don't use the RTC - use a GPT which I have done.

Does anyone have any insight into this ?