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.

CCS/TMS570LC4357: DMA bus error does not raise ESM error

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hello,

I am trying to test the ESM error signals by triggering errors on the DMA data bus (for instance write on the flash memory which is read only). However, while the DMA BERR status flag is raised for the faulty channel, I don't see the ESM group 1 channel 20 (DMA bus error) raised in ESMSR1 register.

I get the same behavior when trying to write to a memory area set as read only in the DMA MPU, or when trying to read from a write only memory: the DMAMPST1 register is updated flagging the region where the error occurred, but I don't see the ESM group 1 channel 2 signal raised in ESMSR1.

Am I missing something? Is there something to configure to route the DMA bus s_err signal to ESM?

Thanks in advance for your help.

Mathieu

  • Hi Mathieu,

    I will test this observation and get back to you. Can you please post the DMA channel configuration details for your tests?

    Regards,
    Sunil
  • Of course, here is the configuration of the DMA channel 31 I use:

    • 1 frame of 4 elements of 1byte (4bytes total)
    • Source address = internal ram buffer
    • Destination address = flash buffer
    • Element offset = 0
    • Frame offset = 0

    Channel is low priority and started with software trigger bit (SWCHENAS).

    Thanks for your help,

    Mathieu