2024-11-27 04: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.
2024-11-27 05:02 AM
2024-11-27 07: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
2024-11-27 08: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
2024-11-28 05: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
2024-11-28 08:17 PM
No, I didn't execute the regression script. I changed the state manually using cubeProgramer
2024-11-29 01: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.
2024-12-01 08:09 PM
@STea would be great if you help me out with the problem.
2024-12-02 02:23 AM
Hello @jowakar122 ,
Regards
Hichem
2024-12-02 04:31 AM
Has my device got locked or what? Even with your suggestion nothing is happening.