2025-08-02 7:19 AM
Dear community,
In STM32G0 or maybe in STM32 family in general, is there a possibility to disable the debug module permanently, the idea is that when the code is loaded and tested, then the next step is to disable SWD/JTAG port so that debug or loading another firmware is not possible anymore.
Thank you in advance for your support.
Best regards
B.T
2025-08-02 7:36 AM
You can set RDP level 2 on most STM32 families, including the STM32G0. This disables the debug port permanently and is not reversible.
This can be done in the program or within the option byte modification screen in STM32CubeProgrammer.
Again, this is not reversible and generally results in a chip which can no longer be debugged or upgraded.