cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WBA52 FAILED to reset/halt target MCU after TZEN=1, RDP=1

dhia_trabelsi
Associate

Hello ST,

I am working with STM32WBA52 and I am no longer able to connect to the device using STM32CubeProgrammer.

When trying to connect, I got the following error: The interface firmware FAILED to reset/halt the target MCU

A fail.txt file is also generated. The connection fails even when trying:

  • Connect under reset.
  • Different SWD frequencies.
  • PH3 (BOOT) pin forced high.

The issue appeared after changing security-related option bytes (TZEN / RDP). The device seems to boot normally, but debug access is blocked. I suspect the MCU enters Secure state early and prevents the debugger from halting the core.

Is this expected behaviour on STM32WBA when TZEN = 1 and RDP = 1 without Debug Authentication configured?

Does STM32WBA block SWD access by default in Secure mode?

Best Regards,
Dhia

0 REPLIES 0