AnsweredAssumed Answered

Difference of step over and run ?

Question asked by lakerhy on Oct 26, 2010
Latest reply on Oct 28, 2010 by CraigG

Hi there:

 

I have an 21369 ez-kit board running for my project reading data from AMI by DMA. Part of my pseudo code goes like:

 

ISR_IRQ0 (int sig_int){

 

//some code

 

[breakpoint1]  Enable DMA

 

// some code

 

[breakpoint2]  Processing the input data

 

//some code

}

 

Say the DATAIN is the array containing the input data reading by DMA. Quite strange is that when I run to breakpoint1 then step to breakpoint2  DATAIN array looks all right having some nonzero numbers.. But if I run to breakpoint1 and then run to breakpoint2 all numbers in DATAIN array are not changed which are all zero since it is initialized. Then what's the difference of run and step in this particular case? Which method should I use?

 

Thanks for advance.

Outcomes