About tzasc on imx6q sabre sd borad: How to trigger the synchronous external data abort

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About tzasc on imx6q sabre sd borad: How to trigger the synchronous external data abort

503 Views
xushouyin17
Contributor I

The current experimental development board is IMx6Qsabresd, the environment is IMx Uboot 4.14 + IMX Linux 4.14 + IMx optee OS, 4M region is set as the normal world read-only, the secure world can read and write
Expectations:
      Synchronous External Data ABORT is triggered into Monitor mode when the normal world writes to this region
I have done :
       The cache has been set to write through, the SCR.EA bit has been set to 1, IOMUX GPR9, and CCM GPR3  has been set

    In the normal world, I write the value to this region, then read it, the value is incorrect. It means that the tzasc is worked
Does anyone know how to trigger this exception?

0 Kudos
1 Reply

460 Views
nxf63969
NXP Employee
NXP Employee

Hi shouyin xu,

I quote the ARM Cortex-A9 TRM: "External aborts can be configured to trap to Monitor mode by setting the EA bit in the SCR".

I think the External abort registers that are mainly involved are SCR and DFSR/IFSR so it is already active.

The DFSR register gives you additional details on the abort to know the Fault Type and the cause (Read/Write).

Check that status register when you try to write to that memory region.

Regards,

Luis.

0 Kudos