From: Nick Garnett <nickg@ecoscentric.com>
To: "jiang jet" <jetjiang@hotmail.com>
CC: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] problem about interrupt end
Date: 22 Nov 2006 10:50:29 +0000
"jiang jet" <jetjiang@hotmail.com> writes:
> hello everyone:
> When I am transplating ecos to a board based on mips r3k , I met
> an interrupt problem: when rtc interrupt is enabled, and isr is
> called, then go through to interrupt end, here when unlock, the lock
> number is changed, now it's a very big number:80000730,sometimes it
> can change to other number such as 800007ec... before the
> interrupt,the number looks correct which is 1..and suddenly changed to
> such a big number ,what's reason?
This looks like memory corruption. 0x80000730 would be a resonable
data or code address on MIPS.
Perhaps you are not cancelling the interrupt properly and getting
interrupt stack overflow.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss