Skip to main content
Thomas Roell
Associate III
May 21, 2026
Question

U3 / WBA. privileged read/write region that is readonly otherwise, without using MPU ?

  • May 21, 2026
  • 2 replies
  • 149 views

The issue feels really simple, and it's easy to do on N6.

 

At the core, I am running out of MPU regions as there are only 8 available. So it would be nice to have a small chunk of SRAM, where privileged code can share data with unprivileged code. Say a status or something like this.

GTZC only controls both read and write. So I cannot say that a single 512 byte block is read/write for privileged code, but read only for unprivileged. 

 

2 replies

Bubbles
ST Employee
June 12, 2026

Hi ​@Thomas Roell ,

looks like my previous answer was lost in the community platform migration.

I suggested to use the tamper backup registers.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Thomas Roell
Associate III
June 12, 2026

I had seen the previous answer. Looks like the move to the new platform lost a lot of the old content.

 

For things like the current TLS pointer or such TAMP might be a good solution, but for anything else, just too limited. But a great idea to for the most important items.

 

- Thomas