2019-08-25 09:00 PM
I am getting error in initializing ST-Link device like below
Error in initializing ST-LINK device.
Reason: (255) Unknown. Please check power and cabling to target.
Error in initializing ST-LINK device.
Reason: (255) Unknown. Please check power and cabling to target.
when I trying to connect under reset which could be solved problem
It downloads codes successfully but when i run program it gives me below error
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Error! Failed to read target status
Debugger connection lost.
Shutting down...
Please help me to solve out this problem
Best Regards
Dipak Garasiya
Solved! Go to Solution.
2019-08-26 08:39 PM
Thanks for replying, both of you
I have solved out this problem from suggetions of both of you
Thanks again
2019-08-26 05:14 AM
I faced same problem in last month when I was working on STM32L4R5 controller. The checkpoints for this kind of problem as follows
In my case, problem 1 was the reason behind this error which is removed by simply removing short circuit between debugger pin and GPIO pin used for toggling status.
2019-08-26 06:38 AM
Custom hardware? What STM32 part, specifically?
Reprogramming or disabling pins associated with JTAG/SWD connectivity?
Try with main() just having a while(1) loop and NOTHING else. Enable other code one line at a time until problem occurs.
2019-08-26 08:39 PM
Thanks for replying, both of you
I have solved out this problem from suggetions of both of you
Thanks again