I am using a Sharc 21479 with my own board. I have an application receiving data from an ADC over SPORT (using DMA), processing the data and then streaming the data over SPORT (also with DMA).
The application is working fine but after 1.5 hours the DMA stops working.
After the initialisation the DMA registers look like this:
The DMA is working in chaining mode, so the registers are only written during the initialisation. After the error occured, the DMA registers look like this:
The DMA registers of the SPORT0 have been overwritten. My guess is that a wrong memory access is overwritting the DMA registers.
Is there a possibility to set a breakpoint on these registers. I looked at the hardware breakpoints (I am using VisualDSP) but I did not manage to have it working.
I am not sure how to configure the hardware breakpoint properly: I/O breakpoint? address: from 0xc00 to 0xc40?
Thanks for your help,