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.

TMS570LC4357: NMPU access-privilege configuration for dma

Part Number: TMS570LC4357

Hi experts,

DMA and ETH are non-privileged bus-masters according to the Safety Manual, however when setting the access permissions through the NMPU there is an option to configure addresses as based on priviliged and user mode.

What confuses me is, that a configuration of an adress space as read/write privileged would be the same as no access for DMA, since it can only access memory in user mode.

My Question ist: Why is there an option tp configure mempry based on privileged and user mode, when there is no way to configure the dma privileged?
How should this be used?

Thank you and best regards,
Max

  • Hi Max,

    Started working on your issue and will provide an update soon.

    --

    Thanks & regards,
    Jagadish.

  • Hi Max,

    My Question ist: Why is there an option tp configure mempry based on privileged and user mode, when there is no way to configure the dma privileged?
    How should this be used?

    As per my understanding, the configuration of memory to the privileged mode is not intended for DMA access. This configuration helps to control the CPU access to the memory, as we know the CPU can operate in different modes (User and Privilege), so that we can restrict processor to access certain area if it is operating in user mode by configuring memory to privilege mode. In this way we can control the CPU access to the memory as per user requirements.

    In conclusion, If DMA need to access certain memory then it should be configured in user mode. And memory access permissions are not meant for DMA and they are for CPU.

    --
    Thanks & regards,
    Jagadish.