Debugging of STM32L072CZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-27 6: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.
- Labels:
-
DEBUG
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-27 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-27 2: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.
- If that works - then the problem is with your Keil & AC6 setups;
- If that doesn't work - then you have a fundamental problem.
When the ST-Link Utility can't connect, it gives suggestions to resolve the situation - follow them.
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
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-28 12:21 AM
I required to debug the code inside the controller.
