Debugger/ST-Link Utility can not connect to target...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-24 6:24 AM
Hi ALL.
Today I suddenly received a message from the J-Link debugger and from the STLink Utility that I can not connect to target (STM3240G-EVAL board).Any idea what happened? Can I reset the board to its factory programmed configuration?
#debug-stm32-using-st-link/v2 #stm3240g-eval- Labels:
-
DEBUG
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-24 6:29 AM
No you can't reset back to original settings. What you can do is set BOOT0 High, and get the device to boot into System Loader mode, and erase it there.
Why? Probably because your code breaks the debug interface, perhaps reprogramming the pins, or placing the device in a low power mode.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-24 6:36 AM
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-26 9:00 AM
Hello,
There are different ways to solve target connexion problem. First of all, you have to update the firmware by clicking in st-link utility on 'st-link' in the menu bar then click 'update firmware', after that, reconnect your board.
However, there are other issues that can cause the target connection problem.
In my case, i was enable to connect the board under the normal connexion mode and therefore i cannot reprogram my cpu.
Here is what I've done to solve that problem:
I used ST-Link v2 and ST-Link Utility.
In st-link utility : i set 'connect under reset' mode using SWD port. (in my case, the board connexion was established under this mode). (to configure those options you go to target then settings).
Then, to reprogram the cpu, i erased the chip: I pressed the reset button on my board and clicked (Target>>Erase chip) and just after clicking I released the button.
i hope my answer would help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-26 12:03 PM
>>i hope my answer would help you.
The question was from over 4 years ago
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-27 3:40 AM
Indeed !
I hope that would help all community visitors having that problem.
