Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
September 30, 2011 - 5:09pm
|
Hi, I am using STM8S207 processor. While I am debugging my project using Ride7 and RLink Debugger, I enable readout protection by writing 0xAA to ROP option byte somewhere in the code and debugging continues normally. My second question is, is it possible to enable readout protection while loading code from PC using RFlasher7 by configuring some settings? Thanks. |
Hi,
On the first point, probably the ROP becomse active at the following reset. Maybe you can force it active by triggering a reloading of the option bytes.
On the second point, you can do that by simply giving some values to the Option Bytes in your project.
See the STM8 examples provided with Ride for how to do this using an assembler file, which is the simplest way to do it.
Best Regards,
Vincent