cancel
Showing results for 
Search instead for 
Did you mean: 

stm32L562 error connection SWD

dlpPavlo
Associate

Hi! I have custom board with new mcu stm32l562ve. Board has out pins - SWDIO and SWCLK.

I am try connect by st-link v3. But mcu not connected. Also, i tested with connect nRST ( setting "Under Reset" in st-link ). But this variant same as first. MCVU new from Mouser. Do you have any idea?

3 REPLIES 3
TDK
Guru

Need to connect GND, SWDIO and SWCLK for minimum viable SWD connection.

 

Here are some possibilities:

  • Design is not viable.
  • Part orientation is incorrect.
  • Pins are not connected to what you think they are.
  • Bad soldering or board manufacturing.
  • Bad USB cable.
  • Bad programmer.
If you feel a post has answered your question, please click "Accept as Solution".
dlpPavlo
Associate

Thank you for replay! I have over 10 years of experience with sim. But 32l5xx series work first. If this series has no distinction - I think mcu is bad. All connection I checked. Also. I check signals by oscilloscope on pins swdio and swclk. Signal is ok...

Regardless of experience level, everything needs to be set up correctly. I also have many years of experience and still make mistakes, sometimes "dumb" ones. Hardware doesn't care about experience level. You haven't shown much information here, so it's going to be difficult to diagnose the issue.

You can throw your hands up and think the chip is bad. Unlikely. Up to you. Choose your reality.

 

If you want to further diagnose the issue here, show some pictures of the setup, and enough to verify the connections are correct. Verify voltages are as expected. Programmer does not supply power.

If you feel a post has answered your question, please click "Accept as Solution".