cancel
Showing results for 
Search instead for 
Did you mean: 

Disable JTAG

AGamb.4
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
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

2 REPLIES 2
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
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.

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