This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6657: EDMA3 BUSERR with ERRDET.STAT=0x9

Part Number: TMS320C6657

Hi,

My customer reported an issue related to EDMA3 operation.
When the issue happens, DSP seems hangs up.

Customer found after the issue, EMDA3 ERRSTAT register value is 0x9 (MMRAERR and BUSERR are set).
I think this means bus error happens due to an invalid address is accessed.
Customer checked ERRDET register and STAT bit field is 0x9. This means write error.
What STAT=0x9 exactly means?

Any debugging recommendations?

Thanks and regards,
Koichiro Tashiro

  • Tashiro-san

    The BUSERR error indicates that an EDMA TC is writing (destination) is likely writing to an illegal address in the memory map. This means that somewhere the destination address is programmed incorrectly either in the software or due to some memory corruption. 

    MMRAERR sometimes gets set even if you have the CCS memory window up and running during debug.

    Best way to debug would be to review the desitination address for the DMA transfers and to ensure that they are all programmed to write to legal memory address on the device memory map. 

    Additionally if there are several DMA's in the system than they may need to enable EDMA error interrupt and try to check in ISR on what portion of the code/DMA transfers may be triggering the error etc

    Regards

    Mukul