[Dspforum] debugging help.

Pablo Pombo p_pombo at hotmail.com
Tue Oct 21 05:03:57 MDT 2008


I am looking for tips here.  

I get all data recorded.  I know the 10 seconds are good because I can play them back. 

I have the fft calculated,  I know is good because I can feed a tone and I get the right response.  

Now in the middle of reading from memory my program goes south 

copyData_from_xram(int j)
{
    for (i = j*(N/2); i <  j*(N/2)+ N ; ++i)
    {
        x[i].re = data[i].re;
        x[i].im = data[i].im;
    }
}

I do not understand why is breaking.  I am not using DMA yet.

When I break it seems to be hanging  in:

 if (poll) while(!MCBSP_xrdy(DSK6713_AIC23_DATAHANDLE));//if ready to transmit
        MCBSP_write(DSK6713_AIC23_DATAHANDLE,AIC_data.uint);//write/output data

And the infinite loop in main does not seem to be running.


Any ideas.  I am a little stuck here.


_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20081021/1c31f9c0/attachment.html>


More information about the Dspforum mailing list