Topic : Verify code with read protect bit set?

Forum : ST7/STM8

Original Post
Post Information Post
August 30, 2007 - 3:15pm
Guest

Hi,
I am using an ST7FLITE05 and would like to know if it is possible to verify code in the controller if the read protect bit is set.

Thank you for help.
Dan

Replies
Post Information Post
+1
0
-1
August 30, 2007 - 8:30pm
Guest

THINK!!!

how would you verify code without reading it

Erik

+1
0
-1
August 31, 2007 - 9:52am
Raisonance Support Team

Hi,

Of course you cannot verify the code in a chip that is programmed: "Verify" means "read and compare against expected", and since we cannot read a protected part...

However, if you use RFlasher or ST7_pgm, you will be able to execute the "program and verify" operation. In this configuration, we program the flash, then the option bytes except the protection bit, then all this is verified, and in the end we program the security bit. That's the best we can do.

Best Regards,

Vincent