From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Linus Nielsen Feltzing" To: Subject: Re: [ECOS] MPC823 interrupt problem? Date: Tue, 03 Apr 2001 14:53:00 -0000 Message-id: <007401c0bc88$c444ef00$550641d5@telia.com> References: <019b01c0b6c8$aa250080$8267608c@e> X-SW-Source: 2001-04/msg00014.html > CYGARC_PPC_EXCEPTION_DECREMENT is a preprocessor symbol which is used > to adjuste the stack on exceptions. It should never form part of an > address and I'm surprised that the debugger knows about it at all. Are you sure? Isn't this the decrementer exception? This is a common thing when starting up an MPC8xx processor. The decrementer will start decrementing as soon as the clocks are set up, and since it is initiated to 0 at reset, it will trigger a decrementer exception as soon as the interrupt disable bit is cleared in MSR. I guess that is common knowledge, so I'd rather find out why there isn't any code in the exception vector area to handle this exception. Maybe the interrupt prefix bit is modified in MSR by mistake? How is your MPC configured at reset (I mean the reset configuration on the data bus)? /Linus