DSPRelated.com
Forums

DMA ISR Debug Problem! ( C5510 XDS510pp, CCS2.2 )

Started by squarec November 19, 2003
Hello !!

We've encountered some problem while debugging DMA ISR.
(TI TMS320VC5510, Spectrum XDS510pp Emulator, CCS 2.2 )

/*main.c*/
....................
1 interrupt DMAISR()
2 {
3 k++;
4 expression 1;
5 expression 2;
6 ...........
7 }

8 Timer_Function
9 {
10 DMA_memory_copy_rountine();/* So DMAISR() will execute periodly
*/
11 }

.....................
..................... */

When we SET breakpoint at line 4 and run the program,
DSP will halt at the breakpoint(line 4) and k will be added by 1 as
expect.

Our problem is:
Each time we START running program without setting any breakpoints,
halt DSP, then, k still be added by 1. No matter how many time pass!!

If we want set breakpoint at line 4 after program running, DSP will
NOT enter the breakpoint anymore.

In other words, k won't countinue increasing unless we pause it, run,
pause it, run........

Did We missed something?

Best Regard,

James