Skip to main content
Senior
November 27, 2024
Question

STM32H563Zi: Error in initializing ST-LINK device.

Hii,

I am using Nucleo-H563Zi. Suddenly I got  "Error in initializing ST-LINK device" Reason: Unknown. Please check power and cabling to target. What I have tried to solve this:

. Connected pin BOOT0 and VDD and tried to connect to cube programmer.

. tried using power down and under reset mode to connect 

none of the above helped me to connect and earse the full chip.
I have gone through every thread related to this problem but none helped. I have ran out of options. It would be great if someone assist me in this problem.Annotation 2024-11-27 182306.png

This topic has been closed for replies.

17 replies

Andrew Neil
Super User
November 27, 2024
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
ST Employee
November 27, 2024

Hello @jowakar122 ,

did you change the default OptionBytes with cube programmer before this issue popped ?

do you have a firmware on your board related to security, OptionByte software configuration or any other protections?

did you try to connect using another cable? 
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Senior
November 28, 2024

I changed the product state value to 17. 
I was trying to implement OEMiROT_BOOT on my device by following: How to start with OEMiRoT on STM32H573 and 563–Arm® TrustZone® enabled. Yes, I tried connecting using another cable.

I also tried to change the product state value but can'tAnnotation 2024-11-28 094501.png

ST Employee
November 28, 2024

Hello @jowakar122 ,

did you try to execute the regression script as described in the wiki page section: 2.6.1. Full regression from Provisioned state using a script (included in the STM32CubeFW)
did you follow the necessary steps for the provisioning phase described in the WIKI or you changed the state manually via cubeProgramer ?
Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.