programming STM8S103 through ST-Link V2
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?
