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.

Read Permissions for Queue Manager Subsystem

Hi,

My application running on 6678 crashes sometimes. I found that the MPU2 has detected an error:

The MPU2 is for QMSS CFG port. And the address detected also falls in that range. I am not sure how I can address the issue.

I came across an usage note (#8) in the 6678 silicon errata which is:

Usage Note 8 MPU Read Permissions for Queue Manager Subsystem Usage Note

For proper device

operation, all of the read permissions for the VBUSM slave port of the QMSS must be

enabled. '

I did not find too much information about VBUSM slave port in the documentation either. Please let me know how I can make sure my configuration is correct.

Thanks!

  • You can find clues in the MPU2 Fault Status Register value (0x0E080010), bits field [5:0] is 10000b which means "Supervisor Write Fault" is the cause of this access error based on the description in MPU user guide. And bit field [23:16] is 0x8, so master AID 0x8 (CPU0_CFG) is the master which generates this Supervisor write fault.

    Then if you look at the PROGn_MPPA register value (0x03FFFCE4), bit field 4 "Supervisor Write Permission" is 0b which means "Access not Allowed". And you enabled AID 0x8 in MPPA (bit 18) to check for access permission. 

    So probably you should set 1 to "Supervisor Write Permission" bit in PROGn_MPPA register(s) to enable the access for all AIDs which are enabled.