SMPU and Debug Storage Buffer behaviour

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SMPU and Debug Storage Buffer behaviour

1,048件の閲覧回数
avinashsharma
Contributor I

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'?

ラベル(1)
タグ(1)
1 返信

872件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

each store buffer entry contains 32-bits of data, 32-bits of address, size information and access attribute information in order to properly drive the attribute output signals on a buffered store access.

Supervisor/user access attribute is included too, so the answer is yes, exception will be triggered in described scenario.

Regards,

Lukas