Part Number: SW-TM4C
Tool/software: Code Composer Studio
Hello. I made a new board with tiva c MCU. Now i need to protect whole firmware of reading via debug port. I try next code, but it crash execution.
FlashProtectSet(0, FlashExecuteOnly));
FlashProtectSave();
How to do it correctly?