programming STM8S103 through ST-Link V2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-08 11:48 PM
ST VP Configuration - ST-Link - USB - SWIM - STM8S103F3
I have connected the "SWIM" and "GND" pins of 'ST-LINK V2' to the development PCB includes "STM8S103F3", the supply from the mobile charger is connected through the USB port of the PCB.
When I select 'Read all tabs', the message is shown as "Can't communicate with the device".
Then I turned the power off and on by pressing the reset button low.
When I tried to read the device, the message showed as "Device is protected".
The LED is flashing in every condition.
Each time the dongle LED glows initially, then flashes and then turns off.
what is wrong? how to solve?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-10 12:43 AM
Probably you have small "blue pill" chinese board with STM8S103. I dont know why there are shipped with flashed program and read out protection. But it is simple to solve your problem. Go to tab "option bytes", set ROP value to "Read Out Protection Off" and then click "Program -> Current tab". That removes read out protection (and erase program).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-10 12:43 AM
Probably you have small "blue pill" chinese board with STM8S103. I dont know why there are shipped with flashed program and read out protection. But it is simple to solve your problem. Go to tab "option bytes", set ROP value to "Read Out Protection Off" and then click "Program -> Current tab". That removes read out protection (and erase program).
