St link v2 swim connection

Status
Not open for further replies.

Briez

Member level 5
Joined
Nov 30, 2012
Messages
83
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Activity points
1,835
Recently I purchased St link v2 programmer online and tried to program my stm8 device but ST Visual Programmer displays an error that please cheak your swim cable connection. I am doing my connection like,
Vdd (IC) -> 5V (ST LINK)
Vss (IC) -> GND (ST LINK)
SWIM (IC) -> SWIM (ST LINK)
NRST (IC) ->Swim_RESET (ST LINK)

My target device is unpowered externally. Can anyone tell me what can be the issue?
 

My board only contains microcontroller ic. Is there crystal required on board to program it?

I connected cryatal on osc pins but still I cant communicate with device. I externally powered also but couldn't program it.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…