cancel
Showing results for 
Search instead for 
Did you mean: 

UART_HyperTerminal_IT Example on STM32N6570-DK Board - Debugger can't connect

wwnsok2
Visitor

I built and debugged the default example UART_HyperTerminal_IT using the STM32N6570-DK board, but the following error occurred. How can I resolve this issue? I am using the latest versions of ST-Link and all related software.

STMicroelectronics ST-LINK GDB server. Version 7.10.0

Copyright (c) 2025, 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

 

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

3 REPLIES 3
RomainR.
ST Employee

Hello @wwnsok2 

Do you changed STM32N6570-DK in DEV_BOOT mode to be able to debug it?
Check UM3300 section 7.7 Boot options
https://www.st.com/resource/en/user_manual/um3300-discovery-kit-with-stm32n657x0-mcu-stmicroelectronics.pdf

You can also you refer to this post:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/nucleo-n657x0-q-failed-to-start-gdb-server/m-p/756600#M23206

Best regards,
Romain,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I set it to that mode, but it appears as shown in the attached photo.
RomainR.
ST Employee

@wwnsok2, the capture you shared doesn't help.

Can you confirm you configured BOOT0 and BOOT1 switch on STM32N6570-DK as the picture bellow:

RomainR_0-1741958865859.png

Then, press one time on NRST black button, LED2 Red must be ON and it confirms that STM32N6 is in DEV_BOOT mode. After that you can start a debug session.

Best regards,

Romain,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.