Unprotection To disable the read protection: ● Erase the entire small information block (user part). As a result, the read protection code (RDP) will be 0xFF. At this stage the read protection is still enabled. ● Program the correct RDP code 0xA5 to unprotect the memory. This operation first forces a Mass Erase of the main block. ● Reset the device (POR Reset) to reload the option bytes (and the new RDP code), andto disable the read protection.
在2.4.1节(Read protection)有这样的描述: This protection is activated by setting an option byte in the information block. Once the protection byte is programmed to a value, Flash memory read accesses are not allowed when the device is in debug mode. All features linked to loading and executing code in RAM are still active (for example, JTAG/SWD, boot in RAM, etc.) and this can be used to disable the read protection (access to the Flash memory still denied). 中文译文为:这项保护是通过设置信息块中的一个选择字节启动的。当保护字节被写入相应的值以后,在调试模式中将不允许读出闪存存储器,所有在RAM中加载和执行的功能(如JTAG/SWD,从RAM启动等)仍然有效,这样可以用于解除读保护(访问闪存仍然被禁止)。