cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585VIT6 Programming Error

MRuhe.1
Associate II

Hi All,

I am choose the STM32U585VIT6 MPU to design our customized board. Firstly I design a simple basic connection to program it and only blink the LED for confirmation our initially circuit. Also I following the  AN5373 document.

When I flash the code getting the error below

Error in initializing ST-LINK device.

Reason : No device found on target. 

Find the attached schematic.

Please guide me what is the issue and how to resolve it.

8 REPLIES 8
TDK
Super User

Is the chip powered?

Try to connect with STM32CubeProgrammer. If unsuccessful, show a screenshot.

Schematic looks fine.

 

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

It's an MCU, not an MPU, like an embedded Linux STM32MP device.

ST-LINK reports voltage correctly, Pin 1 or 2 should be VTarget for the pin drivers to work.

Check with STM32 Cube Programmer 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi,

Yes chip is powered 3V3 externally and all the ground are common. I already try many times to program the chip using ST-LINK V2 and ST-LINK V2 IOSL but getting the same error shown in shared image.

Also I shared screenshot.

Thanks.

This is the programming error.

Show a screenshot after trying to connect with STM32CubeProgrammer.

TDK_0-1751041357151.png

 

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

Thaks for your responce.

I share a screenshot after trying to connect with STM32CubeProgrammer.

But sitll getting same error. Please provide me best solution to resolve the progrsmming issue.

Please find the updated required screenshot below.

Thanks and Regard

Manish Ruhela

Voltage is there. ST-Link programmer is there.

If it can't connect, a few things could be the issue:

  • SWDIO/SWCLK/GND wiring is invalid.
  • Chip is in low-power state or other state where SWD is inactive.
  • Chip is locked out (RDP level 2 - like state)

If it has never worked, might also want to check orientation of chip and workmanship of solder joints.

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

Hello @MRuhe.1 ,

Please check this article which describes tips to fix such errors: 

How to solve connection errors when connecting and programming the STM32 target board

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen