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.

DRA829V: Prefetch Abort Related to MCU Settings

Part Number: DRA829V

Hi Team,

I received an inquiry from my customer below.

In R5F, prefetch abort occurs when MPU is enabled by setting the Device attribute in the following area.
(1) Set the GPMC area to the Device attribute when there is no memory in the GPMC area.
(2) make the range 0x27E00000 to 0x60100000 a Device attribute.

  1. Is it not allowed to set the Device attribute where there is no memory in the GPMC area like in (1)?
  2. Can you tell us which areas should not be set as Device attributes like in (2)?

The MPU settings for which prefetch abort occurs and the settings for which prefetch abort does not occur are described here: Prefetch abort MCU setttings.xlsx

Best regards,

Mari Tsunoda

  • Mari, 

    The ARM R5 TRM explained the Device memory attribute as follows:

    "Store buffer of reads from Device memory must first drain the relevant all writes to Device memory and wait for all Device writes to the right interface that have been posted on the the bus to complete. ..."

    so what triggered the prefetch, if you did not have memory in the GPMC? 

    Jian