??? 03/16/05 21:34 Read: times |
#89811 - register banks Responding to: ???'s previous message |
Neil Kurzman said:
Are they using the same bank? C or asm?
if they are they have different prority the higher one can interupt the low one. If it is not pushing regs on to the stack the lower prioriy int will get trashed. What about the stack? are you pushing it too deep? We have checked that the main regs are getting pushed by the KEIL compiler. Of couse since we are using separate banks for each isr and the main application, register-bank0 does not get pushed. This happens over DAYS of normal (busy) operation. It's very rare, but causes a the timer to stop and our code to lock! |