Harish-
> I am using TI's Himalaya board for speech
codec
> activities. RTDX is used to transfer the test vectors
> to the target in one shot avoiding file I/O which slow
> down the vector execution.
> Now there is an NMI. When in NMI, input read is
> getting crashed with RTDX. I am suspecting some
> exception by RTDX which causes the crash. I am not
> very sure about this. Can somebody help me in this?.
NMI occurs when, during file I/O *prior* to running your vector processing code?
Is
this at the start of main(), after DSP/BIOS has initialized? What other code
has run
first?
-Jeff
Re: NMI with RTDX
Started by ●January 15, 2007
Reply by ●January 15, 20072007-01-15
Hi Jeff,
You are right, NMI occurs prior to running the process
vector code.Infact the vector read from the host
starts after the NMI has occured. From the host I am
using RTDX read.
When RTDX read is called, it is crashing.
I am not at all using any DSP/BIOS.
Before NMI, I Initialized timer and the same has been
disabled before NMI.
I do initialize buffers before.
Regards
Harish
--- Jeff Brower wrote:
> Harish-
>
> > I am using TI's Himalaya board for speech codec
> > activities. RTDX is used to transfer the test
> vectors
> > to the target in one shot avoiding file I/O which
> slow
> > down the vector execution.
> > Now there is an NMI. When in NMI, input read is
> > getting crashed with RTDX. I am suspecting some
> > exception by RTDX which causes the crash. I am not
> > very sure about this. Can somebody help me in
> this?.
>
> NMI occurs when, during file I/O *prior* to running
> your vector processing code? Is
> this at the start of main(), after DSP/BIOS has
> initialized? What other code has run
> first?
>
> -Jeff
>
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?pSTDEAL
You are right, NMI occurs prior to running the process
vector code.Infact the vector read from the host
starts after the NMI has occured. From the host I am
using RTDX read.
When RTDX read is called, it is crashing.
I am not at all using any DSP/BIOS.
Before NMI, I Initialized timer and the same has been
disabled before NMI.
I do initialize buffers before.
Regards
Harish
--- Jeff Brower wrote:
> Harish-
>
> > I am using TI's Himalaya board for speech codec
> > activities. RTDX is used to transfer the test
> vectors
> > to the target in one shot avoiding file I/O which
> slow
> > down the vector execution.
> > Now there is an NMI. When in NMI, input read is
> > getting crashed with RTDX. I am suspecting some
> > exception by RTDX which causes the crash. I am not
> > very sure about this. Can somebody help me in
> this?.
>
> NMI occurs when, during file I/O *prior* to running
> your vector processing code? Is
> this at the start of main(), after DSP/BIOS has
> initialized? What other code has run
> first?
>
> -Jeff
>
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?pSTDEAL
Reply by ●January 15, 20072007-01-15
Harish-
> You are right, NMI occurs prior to running the process
> vector code.Infact the vector read from the host
> starts after the NMI has occured. From the host I am
> using RTDX read.
>
> When RTDX read is called, it is crashing.
> I am not at all using any DSP/BIOS.
>
> Before NMI, I Initialized timer and the same has been
> disabled before NMI.
> I do initialize buffers before.
I would suggest that you try as a DSP/BIOS project. My guess is there is a lot of
initialization that has to take place in order for RTDX to function successfully.
Then, if you can get it to initialize correctly, back up and start simplifying.
With 6455, using DSP/BIOS is not going to have a big impact if you just use it for
config and memory management, and don't enable any tasks. Every 1 msec the DSP/BIOS
timer tick will occur, but if it has nothing to do then MIPS impact would be minimal.
-Jeff
> --- Jeff Brower wrote:
>
> > Harish-
> >
> > > I am using TI's Himalaya board for speech codec
> > > activities. RTDX is used to transfer the test
> > vectors
> > > to the target in one shot avoiding file I/O which
> > slow
> > > down the vector execution.
> > > Now there is an NMI. When in NMI, input read is
> > > getting crashed with RTDX. I am suspecting some
> > > exception by RTDX which causes the crash. I am not
> > > very sure about this. Can somebody help me in
> > this?.
> >
> > NMI occurs when, during file I/O *prior* to running
> > your vector processing code? Is
> > this at the start of main(), after DSP/BIOS has
> > initialized? What other code has run
> > first?
> >
> > -Jeff
> You are right, NMI occurs prior to running the process
> vector code.Infact the vector read from the host
> starts after the NMI has occured. From the host I am
> using RTDX read.
>
> When RTDX read is called, it is crashing.
> I am not at all using any DSP/BIOS.
>
> Before NMI, I Initialized timer and the same has been
> disabled before NMI.
> I do initialize buffers before.
I would suggest that you try as a DSP/BIOS project. My guess is there is a lot of
initialization that has to take place in order for RTDX to function successfully.
Then, if you can get it to initialize correctly, back up and start simplifying.
With 6455, using DSP/BIOS is not going to have a big impact if you just use it for
config and memory management, and don't enable any tasks. Every 1 msec the DSP/BIOS
timer tick will occur, but if it has nothing to do then MIPS impact would be minimal.
-Jeff
> --- Jeff Brower wrote:
>
> > Harish-
> >
> > > I am using TI's Himalaya board for speech codec
> > > activities. RTDX is used to transfer the test
> > vectors
> > > to the target in one shot avoiding file I/O which
> > slow
> > > down the vector execution.
> > > Now there is an NMI. When in NMI, input read is
> > > getting crashed with RTDX. I am suspecting some
> > > exception by RTDX which causes the crash. I am not
> > > very sure about this. Can somebody help me in
> > this?.
> >
> > NMI occurs when, during file I/O *prior* to running
> > your vector processing code? Is
> > this at the start of main(), after DSP/BIOS has
> > initialized? What other code has run
> > first?
> >
> > -Jeff