cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide OTP values on STM32MP15

Dat Tran
Senior II

From user manual, from OTP word 59th for user to store sensitive information, meaning there is a way to prevent read them by STM32cube tool for non-secure application.

We see the way to lock them which mean can't not change values, any document that tell how to hide these registers from STM32cube tool for non-secure application.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi,

I think there is nothing to do, read access from non-secure is always avoided in upper OTP.

0693W00000QM24XQAT.pngRegard.

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order 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.

View solution in original post

5 REPLIES 5
PatrickF
ST Employee

Hi,

I think there is nothing to do, read access from non-secure is always avoided in upper OTP.

0693W00000QM24XQAT.pngRegard.

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order 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.
Dat Tran
Senior II

That make sense to us,

Thank you so much!

Dat Tran
Senior II

One more question, please!

We are using STM32MP157F, and only want OTP feature, we don't want built-in TF-A and OP-TEE to keep everything simpler.

we switched to SPL binary and boot fine.

Now we want to sign with ST tool to generate signed file for SPL binary, and setup OPT on target device.

Will that way work or we have to use built-in TF-A as ST doc recommended?

Thank you so much!

OlivierK
ST Employee

HI Dat Tran (Community Member)

SPL is not anymore supported. If you want to use built-in trusted firmware please consider using TF-A / OP-TEE which provides enhanced security.

Regards,

Olivier

Hi OlivierK,

Could you please take a look on gdbgui and STLink debug and have any idea?

Many thanks,