vdudouyt / stm8flash

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

opt byte support for stm8s903?3 #131

Closed wouterjanssens1 closed 3 years ago

spth commented 3 years ago

How was this tested? ST-Link? ST-Link/v2?

If opt byte support for stm8x909?3 is not there yet in master, why is it already marked as ok (for opt2) in README?

wouterjanssens1 commented 3 years ago

How was this tested? ST-Link? ST-Link/v2?

Tested on a STM8S903K3 on a custom board with an st-link/v2 dongle(I do not have a discovery board).

If opt byte support for stm8x909?3 is not there yet in master, why is it already marked as ok (for opt2) in README?

With the master version I got the following error when erasing the flash: root@0de797077944:/stm8flash# ./stm8flash -c stlinkv2 -p STM8S903K3 -u Determine OPT area Due to its file extension (or lack thereof), "Workaround" is considered as RAW BINARY format! No unlocking mode defined for this device. You may need to edit the file stm8.c