Disable SWD and JTAG by default for STM32F4 MCU
Hi Team
Does anyone know how to disable SWD and JTAG by default setting, using HAL library?
To protect the firmware for reverse engineering, I want to disable SWD.
As you know, it is enabled by default after a reset.
Also I know that there RDP to protect the code.
But I will use custom bootloader, so I can't use RDP Level 1 setting.
Because all Flash ROM area erase when return to RDP Level 0.
It also erases the boot loader.
My Conditon:
- MCU: STM32F405VE