Skip to main content
Associate III
January 15, 2024
Solved

Can't reset the core

Hi,

When attempting to connect to an STM32F030C8T6 MCU, ST-LINK Utility gives the following error message:

"Can not connect to target!
If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.
If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
Can't reset the core"

 

I have it connected via SWD. Pin 19 of ST-LINK/V2 is connected to the VDD of the MCU. Pin 1 is connected to VDD of the MCU. GND of MCU is connected to pin 20 of ST-LINK.

How can I fix this error? I've had the same setup before and that has worked. This is the first time I'm getting this error. I've tried rebooting my PC & ST-LINK. I can't erase the chip because the ST-LINK Utility can't connect to it.  

This topic has been closed for replies.
JS8Best answer
Associate III
January 15, 2024

Hi,

I didn't change anything, but it works now. (??)

5 replies

AScha.3
Super User
January 15, 2024

Hi, 

ST-LINK Utility is old and deprecated.

Use stmCubeProgrammer !       https://www.st.com/en/development-tools/stm32cubeprog.html

 

download, install - then try with this to connect.

If you feel a post has answered your question, please click on " Best Answer ".
JS8Author
Associate III
January 15, 2024

Hi,

I tried to connect with Stm32CubeIDE, didn't work.

ST Technical Moderator
January 15, 2024

Tried connecting it through STM32CubeProgrammer.

Try Connect Under Reset option.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
JS8AuthorBest answer
Associate III
January 15, 2024

Hi,

I didn't change anything, but it works now. (??)

ST Technical Moderator
January 16, 2024

Glad to know the issue has been solved :)

Disconnecting and connecting the board may have solved your problem!

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks