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.

Data Abort in dmaSetCtrlPacket

Hello,
I'm using a TMS320LS3137 with CCS 5.5.0.00077 and Compiler v5.1.4.
I've a task which sets up DMA channel 11 for a data transfer to a SPI FRAM. If this task runs in supervisor mode all is working fine, but if it runs in user mode a precise external abort happens in dmaSetCtrlPacket at writing to address 0xFFF80160.
I've attached a screenshot.
Btw: Why does the call trace only show two functions and repeats one of them hundred times?
Thanks
BR
Christian
  • Christian,

    This is a normal behavior.

    As visible in the following screenshot, the control packet are privilege write only.

      

    Control packet can be read accessed in User/Privilege.

    For information, the DMA Registers are also privilege write only.

    For the call trace, I will have to ask the Code Composer Studio/Compiler team.

    Will it be possible for you if the first question is answered to close this thread and open a new one for the second question?

    Thanks,

  • Hi Jean-Marc,
    thank you for the fast reply. This helped me a lot.
    Yes I will mark this thread as answered. And create a seperate one for the second question.
    BR
    Christian