Skip to main content
Visitor II
June 15, 2022
Solved

Disable JTAG

  • June 15, 2022
  • 1 reply
  • 2237 views

Good morning,

I would like to know if I can disable the JTAG in the STM32MP1. Once my project is finished I do not want this interface to be active.

Is there a way to disable the JTAG/SWD interface with registers/fuses/OTP?

Kind regards,

Andrés

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @AGamb.4​ ,

    Please refer to RM0436 chapter

    3.6.6 BSEC debug configuration register (BSEC_DENABLE)

    This register allow you to set debug capability by SW.

    Either until next reboot through the register or definitely with OTP ( eg close device )

    Olivier

    1 reply

    Technical Moderator
    June 20, 2022

    Hi @AGamb.4​ ,

    Please refer to RM0436 chapter

    3.6.6 BSEC debug configuration register (BSEC_DENABLE)

    This register allow you to set debug capability by SW.

    Either until next reboot through the register or definitely with OTP ( eg close device )

    Olivier

    Visitor II
    February 23, 2024

    Hi Oliver,

    can you explain in more detail how to disable JTAG permanently via the OTP?

    Can this be done via linux userspace?

    We are using a STM32MP153.

     

    Best Regards
    Jan