cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use Trustzone with DBANK=0 ?

LBöhm.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
LBöhm.1
Associate III

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.

View solution in original post

1 REPLY 1
LBöhm.1
Associate III

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.