Avinash Sharma

SMPU and Debug Storage Buffer behaviour

Discussion created by Avinash Sharma on May 10, 2016
Latest reply on May 11, 2016 by Lukas Zadrapa

In case of SMPU is enabled along with  HDBCR0[DSB]  = Enabled.

 

e.g.

MPU RGD : 0x40000000 - 0x40000020 : Only Supervisor access is granted

1. In User Mode

2. SWC in user mode tries to write "0x0x40000000 ".

3. Write instruction stored in storage buffer.

4. CPU goes in "Supervisor Mode".

5. Storage Buffer instruction executes.

 

Question: Do we get a MPU exception at Point '5'?

Outcomes