Skip to main content
Visitor II
July 22, 2022
Solved

How to hide OTP values on STM32MP15

  • July 22, 2022
  • 4 replies
  • 1217 views

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.

    This topic has been closed for replies.
    Best answer by PatrickF

    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'

    4 replies

    PatrickFAnswer
    Technical Moderator
    July 25, 2022

    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'

    Dat TranAuthor
    Visitor II
    July 25, 2022

    That make sense to us,

    Thank you so much!

    Dat TranAuthor
    Visitor II
    July 25, 2022

    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!

    Technical Moderator
    July 25, 2022

    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

    Dat TranAuthor
    Visitor II
    July 25, 2022

    Hi OlivierK,

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

    Many thanks,