2020-04-02 11:08 AM
Error : Cannot communicate with the device !
Check the SWIM cable connection and check all the needed pin connections on the SWIM connector.
If the application code uses Swim Disable and Reset pin as Output or has disabled SWIM Clock Divider:
Try Now to SWITCH OFF and ON the application Power Supply while NRST Reset pin is forced low.
como puedo solucionar este problema
2020-04-02 11:23 AM
>> How can I solve this problem?
You've really not described anything about your situation/context
What board are you using?
How is the ST-LINK connected?
Is this a stand-alone ST-LINK? Make sure the VDD line is connected, along with a a ground, so the ST-LINK can drive the signals properly.
Is the board properly powered?
Is the STM32 chip even functional?
2020-04-02 11:39 AM
2020-04-02 12:08 PM
Your board, to which you are attaching the ST-LINK/V2, we're established you're using the ST-LINK/V2 but nothing about the board/design of what you're connecting it too.
You'd want to use the 20-pin JTAG header, or a subset of the pins there, ie VDD, GND, NRST, SWDIO, SWCLK, and optional SWO
Describe your connectivity. Take a picture, or diagram, whatever is easier.
>>How can I know if my STM32 chip is functional, how can I verify it?
STM32 describes hundreds of different parts, be specific on the full part number.
It won't start an external oscillator, so can't scope that.
Check the VDDA pin voltage.
Check the NRST level.
Check the VCAP pin voltages if using an STM32 part using them
2020-04-02 12:56 PM
SWIM connector is for STM8. It is not used for STM32's.
-- pa
2020-04-02 01:10 PM
Long distance up-hill skiing this one...