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: How to determine if a Abort is genereate by a write in user mode?

Part Number: TMS570LC4357

Hi experts,

We are implementing the diagnostics that test the error handling on user mode access to reserved and privileged mode bits.
The problem we are now facing is that we can't determine when to expect a data abort or the wrights just beeing ignored.

Table 6-25 in the data manual list the response for access to to reserved bits, but not what happens if a register that is protected is accessed in user mode.

(Q1) Is the reaction for user mode access of registers protected by privileged mode the same as access to reserved bits in a block?

Currently we ar expecting this:

PMM - Data Abort
SYS - Data Abort
STC - Data Abort
ePWM -Data Abort
GIO - Data Abort
IOMM -Data Abort
DMA - Data Abort

(Q2) which of these will trigger a data abort?

Thank you and best regards,
Max

  • Accessing the implemented memory space in either user mode or privileged mode will generate data abort.

    For example, the actual size of MibSPI RAM's is 4KB (from 0xFF0E0000 to 0xFF0E1000), accessing the location beyond this range for example 0xFF0E1004 will cause data abort.

    (Q1) Is the reaction for user mode access of registers protected by privileged mode the same as access to reserved bits in a block?

    Writing to WP bit (Write in privileged mode only) and a reserved bit field of a register doesn't not take effect, and will not generate data abort.

  • Hi QJ,

    What  I want to know is, a way to determine the response of a write to a WP bit in usermode.

    For example. When I try to write a WP bit in PMM in usermode, the write is ignored and no Abort is generated.
    But if I try to write a WP bit in SYS in usermode, the write is ignored AND a data abort is generated.

    Can you explain why one triggers data abort and the other does not?