2020-01-27 06:08 AM
As I am doing debugging for STM32L072CZ Controller using ST-Link/V2 debugger with Software Keil and AC6. As I am getting No target device found. So suggest me how to solve thr error.
2020-01-27 01:18 PM
So your debug probe is found, but the target is not. Check the wiring and correct power supply of the target. Try a known-good target like a nucleo board for cross-checking.
2020-01-27 02:26 PM
Is your code putting the CPU to sleep, and/or disabling the debug pins?
First try with the ST-Link Utility - to take Keil & AC6 out of the equation.
When the ST-Link Utility can't connect, it gives suggestions to resolve the situation - follow them.
2020-01-27 11:57 PM
As I have tried in ST-Link utility, the below image are error are occurred. I have changed lower frequency mode and also normal mode but same error has be repeating.
2020-01-28 12:10 AM
What is your target? is the MCU soldered on a commerical board or a new design? Are you bringing up a first prototype?
2020-01-28 12:13 AM
Put the target into system mode via BOOT0 / BOOT1 pins, and use an appropriate tool to try a Flash mass erase.
In former time this used to be the Flash Loader Demonstator, I think the newer Cube Programmer suports the system BL protocoll as well.
ST-Link Utility supports it as well, if I remember correctly.
2020-01-28 12:20 AM
Its commercial board. No, it is product and some alteration has be done in product. STM32 ST Link Utility, Keil and eclipse.
2020-01-28 12:21 AM
I required to debug the code inside the controller.