STM32H563Zi: Error in initializing ST-LINK device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 4:55 AM
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.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 5:02 AM
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 7:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 8:16 PM
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't
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-28 5:40 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-28 8:17 PM
No, I didn't execute the regression script. I changed the state manually using cubeProgramer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-29 1:17 AM
Later I tried the full regression, but I got an error. I checked all the files path that are used in the regression script and everything was at place. Then I tried to run one command at time as it was in the regression file to find out where the problem lies. And the first thing that takes place in regression is to stop/halt debug authentication using cli command: "debugauth=3". It was unable to open SDM Lib.
Then I upgraded STM32CubeProgrammer and ST-Link but still the error remains.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-01 8:09 PM
@STea would be great if you help me out with the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-02 2:23 AM
Hello @jowakar122 ,
- open cubeProgrammer
- go to secure programming panel
- click on discover while the device is disconnected
- if you have supplied the default password when switching to provisioning state perform a full regression with the default password in the following path C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\DA_Default_Config\STM32H5\password.bin
Regards
Hichem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-02 4:31 AM
Has my device got locked or what? Even with your suggestion nothing is happening.
