Skip to main content
Associate III
February 21, 2024
Solved

STM32H7B3I-DK - unable to flash code to board and enter debug mode

I am using 1.10.0 STM CUBE IDE. Everything was working fine until I unchecked the box to update STLINK firmware. Now it does not work. I later updated the firmware , but still not a thing changed. This is the message I get when I try to debug console:

 

 

STMicroelectronics ST-LINK GDB server. Version 7.0.0
Copyright (c) 2022, STMicroelectronics. All rights reserved.

Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled

Target no device found

Error in initializing ST-LINK device.
Reason: No device found on target.

 

 

Error in final launch sequence:

Failed to execute MI command:
target remote localhost:61234

Error message from debugger back end:
localhost:61234: Connection timed out.
Failed to execute MI command:
target remote localhost:61234

Error message from debugger back end:
localhost:61234: Connection timed out.
localhost:61234: Connection timed out.

 

I tried restarting a PC it did not help. Please help I need to finish my project.

This topic has been closed for replies.
richiBest answer
Associate III
February 22, 2024

I found a solution , it was a little switch on the board which switches beetwen SYS_MEM and FLASH. All it needs to be done is noted on here: https://community.st.com/t5/stm32cubeprogrammer-mcus/stm32h7b3i-dk-error-no-stm32-target-found/td-p/303802.

 

Thank for your time,

 

Regards,

6 replies

mƎALLEm
ST Technical Moderator
February 21, 2024

Everything was working fine until I unchecked the box to update STLINK firmware.

Which box you did uncheck?

And if you try to connect with STM32CubeProgrammer? what happens?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
richiAuthor
Associate III
February 21, 2024

I just unchecked the option to not show me again that window(window for firmware upgrade) , now tried with Programmer I also can't connect. It even can't "see" the board as accessible, even tho it is powered on an control LEDs are blinking.

mƎALLEm
ST Technical Moderator
February 21, 2024

What message is showing with CubeProgrammer?

Could you please share a screenshot of the error?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.