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.

RM57L843: RM57L843

Part Number: RM57L843

When nmpu of EMAC is in diagnostic mode, can DMA of EMAC work normally?

  • Hello,

    There are 2 different diagnostic modes: internal diagnostic mode and external diagnostic mode.

    In internal diagnostic mode, the diagnostic logic drives the input of the MPU comparator logic. NMPU does not accept any access originated from the bus master. 

    In external diagnostic mode, the actual bus master initiates the access to the NMPU. 

    Both diagnostic modes require user to ensure that no bus transactions from the master are going on while NMPU is in diagnostic mode by disabling bus master access.

  • When the NMPU is in diagnostic mode, how to deal with the incoming data? If it will cause packet loss, when DMA of EMAC is disabled during diagnostic mode?
  • Diagnostic mode can be used to verify the MPU address and access permission comparator logic working properly at either start up time or during application run time with/without error encountered. Memory protection must be disabled while entering or exiting diagnostic mode. Without protection doesn't mean you loss data during data transfer between SRAM and EMAC with DMA.