Skip to main content
LBöhm.1
Associate III
January 27, 2022
Solved

Can I use Trustzone with DBANK=0 ?

  • January 27, 2022
  • 1 reply
  • 786 views

The examples in CubeU5 package always states to activate dual bank mode, when using TrustZone. Can't you use single bank mode and just allocate specific sectors to be secure?

Is it possible to use TrustZone without dual bank? Some types don't have it.

Best regards Lukas

This topic has been closed for replies.
Best answer by LBöhm.1

Ok I found the answer myself by reading AN5347 which says in chapter 4.1.1 that the examples assume to have options bytes set that way. CubeMx doesn't generate code for options bytes, so the developer should do it before. I highly recommend to read AN5347 if one like me, is new to TrustZone feature.

1 reply

LBöhm.1
LBöhm.1AuthorBest answer
Associate III
February 1, 2022

Ok I found the answer myself by reading AN5347 which says in chapter 4.1.1 that the examples assume to have options bytes set that way. CubeMx doesn't generate code for options bytes, so the developer should do it before. I highly recommend to read AN5347 if one like me, is new to TrustZone feature.