Skip to main content
Version: Next

3.1.14:How to remove RDP

1:Disconnect while reading data

When PowerWriter® connects to the target chip successfully and can also read OB correctly, but when reading other data, it reports an error, and in serious cases, there is a prompt that the chip is offline, the possible reason is that the target chip has a read-protection, and the method to release the read-protection is as follows.

2:Setting option bytes

After connecting the chip, switch to the Option Byte page, and then restore the option word to default, or modify the read protection method to none, as shown in the figure.

image-20240412175358059

3:Write option byte

After turning off the read protection in the option byte, you need to write the option byte to the chip to remove the read protection, as follows:

image-20240412175447576

4:Operational Demonstration

GIF 2024-4-12 17-56-08

caution

Unprotected, updating the option byte causes the target chip to initiate an internal erase operation, and depending on the security characteristics of the chip, the original data inside will be lost.

5:Unlock chip when SWD is off

Some chip models in the programming, and the mainstream chip there are some differences, when the chip's option byte is set to the first level of protection or the second level of protection, the chip will automatically turn off the SWD after programming, at this time the specific unlocking mode refer to the CX32 unlocking mode, the chip will automatically turn off the SWD after programming.

See CX32 unlocking method.