Skip to main content
Visitor II
January 15, 2024
Solved

Can't reset the core

  • January 15, 2024
  • 3 replies
  • 3143 views

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.
    Best answer by JS8

    Hi,

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

    3 replies

    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.

    JS8Author
    Visitor II
    January 15, 2024

    Hi,

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

    Technical Moderator
    January 15, 2024

    Tried connecting it through STM32CubeProgrammer.

    Try Connect Under Reset option.

    JS8AuthorAnswer
    Visitor II
    January 15, 2024

    Hi,

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

    Technical Moderator
    January 16, 2024

    Glad to know the issue has been solved :)

    Disconnecting and connecting the board may have solved your problem!