Hi @ErichStyger,
As I have understood from the articles you suggested, the best possible way to secure my device from unauthorized debug access is to enable Flash security (SEC bits) and disable the Mass Erase Access (MEEN bits).
In the article you mention
" Every microcontroller has some specific bits and settings which need to be set, and different ways how to implement a back door to regain access. Typically it is best if the backdoor is implemented through another hidden channel, e.g. with an encrypted password sent over USB or RS-232."
Does implementing backdoor means using the Backdoor key access feature of the controller? Or I can use any other method which I'll define in my bootloader?
Also implementing a backdoor to regain access, for e.g. using encrypted password, means that if I receive the password correctly through RS232 should I make the flash unsecure and then Program the application code? or I can program the code with unsecuring the flash?
Thanks & Regards,
Vaibhavi P