vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
403 stars 182 forks source link

Option Bytes programming #22

Closed lwojdziak closed 8 years ago

lwojdziak commented 9 years ago

Hello,

I'm trying to programm option bytes at stm8s003 using stlinkv2.
There is an information about opt2 writing in compatibility table - there is no suppoprt for opt's yet.

Theoretically there is almost all what you need to run opt writing. When I try to write at 0x4800 stm8 returned write confirmation but after reading using veryfi option there are old values.

What missing in source code to write and check opt values? How can I modify project to run this feature?

br

vdudouyt commented 9 years ago

Hi,

And did you already checked for #3e04c73?

lwojdziak commented 9 years ago

OK, works fine. Thanks a lot!