Content originally posted in LPCWare by HCTEK on Tue Feb 24 12:42:15 MST 2015
Hello,
the cycledelta register is reseted between breakpoints? Even if I have a condicional breakpoint to ignore some counts rigth?
I am testing the DMA IRQ for using several LLIs with interrupt in every LLI. I want to see the time passed between the beginning of the transfer and the end of the "x" LLI.
I tried two solutions:
1 - a global variable to count the number of DMA interrupts, stop in that condition and see the cycledelta register.
2 - a conditional breakpoint to ignore the necessary counts to the LLI that I want and see the cycledelta register.
In both cases the cycledelta register seems to be reset. As example, the register value for the 2º LLI must be higher than the 1º LLI, which is not happening. I do not have other breakpoints in my code that my cause this situation.
There are other conditions which the cycledelta register is reseted?
I am using the LPCXpresso 7.6.2, LPCOpen libraries and my micro is the LPC4337.
Best Regards