Re: DaVinci::Exception in KernelInit by Honey
Honey
Mon Aug 28 08:59:02 CDT 2006
hi,
first of all thanks for your very quick response
What you mean is correct my interrupts are enabled and i think we have to do
it in OALInterrupt (). Also I hink that the timer interrupt must be getting
called because the initialization is done such that timer interrupts after
evey 1 msec. Do you think it will favor or it is right to disable all the
interrupt ir i should not have enabled in init itself
Also about your second possibility that i should look at my cache routines ,
so actually microsoft provides the cache routine for OEMCacheRangeFlush which
is getting called by kernel after OEMInit
I would like to know are there any compulsary Cache routines i am missing out
please do help me into it
thanks in advance
--
Thanks
Honey
"Dean Ramsier" wrote:
> You may have a problem in your interrupt handler. At this point interrupts
> have been enabled, so if you have a stuck interrupt the system will lockup.
> The other thing to look at is your cache routines.
>
> --
> Dean Ramsier - eMVP
> BSQUARE Corporation
>
>
> "Honey" <Honey@discussions.microsoft.com> wrote in message
> news:E3B4AEC4-5ACF-413E-A618-F96E98F46F45@microsoft.com...
> > Sorry for breaking the thread
> > to add more to above post which i forgot to add
> > when instead of having a single step in the kernel, when I do a complete
> > run
> > ie F5 the msg that i sometimes recieve on the serial post is "Inside
> > OEMInterrupthandler" which is repated 6 to 7 times and then the sys halts
> > --
> > Thanks
> > Honey
> >
> >
> > "Honey" wrote:
> >
> >> hi,
> >> i am currently into OAL development for ARM926 processor and i am suing
> >> CCS
> >> verson 3.2 (Code composer studio of Texas Instruments).I am facing a
> >> problem
> >> wherein my system HALTS when kernel code reaches the line "KSTKBASE(pTh)
> >> =
> >> (DWORD)lpStack;" in MDCreateThread(). I have found many post similar
> >> post
> >> concerning this halting when code reaches the above thread but nowhere I
> >> am
> >> able to get a workable solution.
> >> i am using a cloned BSP of MAINSTONE2 and during
> >> development I
> >> had kept a stub function for OEMDataAbortHandler. But on going through
> >> many
> >> messages of these group i made the function (OEMDataAbortHandler)to call
> >> DataAborthandler code whose defination in armstrap.s file.
> >> I also saw in one post where in a problem was faced by an person in the
> >> same
> >> line "KSTKBASE(pTh) = (DWORD)lpStack" which he says that maybe due to the
> >> debugger used. So also please let me know if my CCS debugger is created
> >> any
> >> problem, and if not how can i further continue please do help me into
> >> this as
> >> I am stuck into the code from atleast a week now
> >>
> >> thanks in advance
> >> Waiting for a favorable reply
> >> --
> >> Thanks
> >> Honey
>
>
>