2014-02-24 06: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-eval2014-02-24 06: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.2014-02-24 06:36 AM
Thank you.
2018-06-26 09: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.
2018-06-26 12:03 PM
>>i hope my answer would help you.
The question was from over 4 years ago
2018-06-27 03:40 AM
Indeed !
I hope that would help all community visitors having that problem.