Prepare software:ST Visual Programmer
![在STVP里面设置和解除STM8芯片读保护 在STVP里面设置和解除STM8芯片读保护]()
1. Read Protection Settings:
Click on Option byte
Click on the ROP option and select Read Out Protection ON
![在STVP里面设置和解除STM8芯片读保护 在STVP里面设置和解除STM8芯片读保护]()
After the above changes, the chip can no longer be read!
When burning HEX files, there will be read protection prompts.
The tips are as follows: Read Out Protection ON in read protection state
![在STVP里面设置和解除STM8芯片读保护 在STVP里面设置和解除STM8芯片读保护]()
This operation is equivalent to the first level protection, and can also be used to turn off the read protection.
If secondary protection is chosen: read-write protection, the chip will be locked completely.
2. The methods of de-reading protection are as follows:
Click on the ROP option and select Read Out Protection OFF
![在STVP里面设置和解除STM8芯片读保护 在STVP里面设置和解除STM8芯片读保护]()
Turn off read-out protection, and then you can download HEX files properly.