Hello,
I'm using EDMA with the McASP in read in and send out audio data to/from SDRAM. I'm connected to the C6747 on my custom board with an XDS100v2.
I put a breakpoint on a line in a function where I want to see the contents of the input buffer in which the EDMA writes the McASP Rx data. This buffer is in external SDRAM. L1D and L2 caches are disabled.
When the CPU halts at the breakpoint, the contents of the input buffer does not reflect the actions and status variables in the lines of code just prior to the breakpoint. My code stores the value of a memory location pointed to by a pointer.
data = *buf_ptr;
When the CPU halts after reading this location, I view the memory allocated to the buffer in the Memory window. The value supposed to be at the location (held in the pointer variable) is no where near. Does the EDMA continue to write between the moment of the breakpoint and the moment where the memory contents are visible?
I know from the EDMA datasheet that it cannot be halted by a debugger halt or breakpoint. I've seen proof of this because some contents of the buffer are modified every time I step. This is identified by red-colored values in the Memory window. What happens to the McASP peripheral on a CPU halt?
I absolutely need to see the contents of my input buffer when the CPU halts after a breakpoint. Is there a configuration that can acheive this?
Best regards,
SC