How can I protect my microgontroller against hacking or overwrite
I would like to protect my firmware and my microcontroller in the case of a user want to extract the hex file or if the user want to overwire my firmware. For the first case, I saw I must play with 2 registers before to compile and program my code. How can I play on it? With a bootloader? At the start of my code? I need to write this code in a specific area in the memory?
For test it, I'm using a STM8AF5288 MCU.
Thanks for your help
