-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stlinkv2 stm8l unlock #98
Conversation
Tested this PR with STM8L151K4 and worked as expected. Thanks |
Tested with STM8L151G6 and unlock is working. Thank You. I was trying earlier and did not accomplish this. |
I have made a pull of the changes by @sjborley , but cant get my STM8L052C6, unlocked |
@B4Me show the command You use and error You get |
@lkord Here are my commands:
sudo ./stm8flash -c stlinkv2 -p stm8l052c6 -s flash -w calib.ihx
|
@B4Me after first operation. Can You read OPT Bytes?:
I have never seen *.ihx files before. Did You mean *.hex? |
Hi @lkord But I still cant write to the device after a reset of the power. I have to be able to do it through linux, sadly, so using STVP, isnt an option, as its for a production rig, where everything needs to run from a single box, running on raspberry pi |
|
These are just alternative file endings for the same Intel Hex type of file, like .jpg and .jpeg for JPEG. |
I think we now have working STM8L unlock support in master? |
Closing, out of date. |
This aims to fix unlocking the STM8L. I've tested it on STM8L052R8 but it ought for other STM8L devices. Only fixed this for the stlinkv2. I've trying to fix for stlink too but without success, so have omitted those changes.
Also noted, that the EEPROM read and write appears to be working for this device, although I'm not aware I did anything that would have affected this. I just tested it.