Closed TehseenHasan closed 4 years ago
First of all I have to remove Flash Protection of the STM8S003f3 board. I used ST Visual Programmer tool to remove the protection. (ST Visual Programmer Quick Tutorial: http://digital-wizard.net/stm8_tutorials/programming_stm8_using_swim)
How to Remove the Flash Protection:
Now you can Open Arduino IDE and upload the code easily without that error.
Just for future reference in case others land here via google: There is an easier solution: Just click on Tools->Burn Bootloader. See #85 and https://tenbaht.github.io/sduino/hardware/stm8blue/#unlocking-a-write-protected-mcu
I'm trying to program STM8S003f3 development board using Arduino IDE v1.8.9. I am using ST-Link V2 Programmer. I have selected Board and Programmer correctly.
I opened Blink Example and compile it. It compiled successfully. But every time I try to Upload, the IDE gave error message and never uploads the sketch in STM8S003f3 board.
It give the following error message:
I tried to plug ST-LINK V2 Programmer to different USB ports but error remains same. ST-LINK V2 Drivers are installer correctly as shown in device manager:
Please help me to solve this issue. Thanks!