-
Notifications
You must be signed in to change notification settings - Fork 184
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
SWIM error 0x16 when attempting to flash STM8L050J3 #152
Comments
Have you been able to figure this out? |
+1 for the swim errors. I get the same with a stm8l001j3 which I think it's read protected but I'm not sure. |
+1 for error 0x16. I am trying to flash stm8s003f3p6. The flash procedure worked earlier but stopped working. Is it due issue with the stlink V2 clones? The stlink V2 is able to flash a stm32 blue pill. |
I have no idea about the SWIM errors. Maybe @vdudouyt can help? |
In my case the GND/SWIM pins were reversed vs what was on the device, resulting in error 0x16 when effectively using it with DATA (aka SWIM) attatched to GND. Reversing GND/SWIM pins resulted in proper programming. |
Using stm8flash to upload binary to STM8L050J3 with STlink v2 returns the following log:
I've tried to search for the meaning of the error but I can't seem to find it.
What does the error mean and what can I do to fix it? Thank you!
The text was updated successfully, but these errors were encountered: