I want to protect ST32F030 code RDP_Level_1. I use stadrard perihperial library and call protect function when program starts:
void ProtectMcu (void)
But it doesnt work. The function executes full sentence each time the processor starts. I also power down device but with no effect - code is not protected and can be read by a debugger.
When I protect device by a programmer it is protected ok.
Where is the problem ?
With best regards