Using stm8flash to upload binary to STM8L050J3 with STlink v2 returns the following log:
stm8flash -c stlinkv2 -p stm8l050j3 -w build/main.ihx
Determine FLASH area
STLink: v2, JTAG: v29, SWIM: v7, VID: 8304, PID: 4837
SWIM error 0x16
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!