cancel
Showing results for 
Search instead for 
Did you mean: 

New with STM32H7

victorsj
Associate

Hello community! 

I'm trying to start a project to test a new board Nucleo-H755ZI-Q, but i don't now how dual nucleo works and if is a board problem, code problem or a debug config problem.

Follow some ST docs tutorial or Youtube tutorial give the same error: The CM7 and CM4 debug open, but if i click on run debug, the project debug close and cube IDE back to the code editor.

Here is the clock config print:

Clock config page 1Clock config page 1

 

Clock config page 2Clock config page 2

Here is the pinout config:

pinout configpinout config

 The code CM7 and CM4 is just LED blink on infinite loop:

/* CM7 code */ 
 while (1)
  {
	  HAL_GPIO_TogglePin(LD1_GPIO_Port, LD1_Pin);
	  HAL_Delay(250);
    /* USER CODE END WHILE */

    /* USER CODE BEGIN 3 */
  }
  /* USER CODE END 3 */

/* CM4 code */ 
  while (1)
  {
	  HAL_GPIO_TogglePin(LD2_GPIO_Port, LD2_Pin);
	  HAL_Delay(500);
    /* USER CODE END WHILE */

    /* USER CODE BEGIN 3 */
  }
  /* USER CODE END 3 */

 The Debugger CM7 config:

CM7 Debug page1CM7 Debug page1

 

CM7 Debug page2CM7 Debug page2

 

The Debugger CM4 config:

 CM4 Debugger page1CM4 Debugger page1

 

 

CM4 Debugger page2CM4 Debugger page2

 

 Startup config:

CM7 StartupCM7 Startup

 

CM4 StartupCM4 Startup

 

If someone has a complete exemple with IOC and code to blink leds on Nucleo-H755ZI it can help me so much.

 

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @victorsj ,

Could you please try to uncheck the ST-LINK S/N in the Debugger configuration: 

Debugger CM7 config:

KDJEM1_4-1710510867091.png

 

Debugger CM4 config:

KDJEM1_6-1710511019219.png

Please make sure in "CM7 startup" that the "Download" of "Debug\agora_vai_test_CM4.elf" is "true" as shown in the below figure.

KDJEM1_7-1710511062256.png

 

Please make sure in "CM4 startup" that the "Download" of  "Debug\agora_vai_test_CM4.elf" is "false" as shown in the below figure.

KDJEM1_8-1710511088139.png

I tested your project using Nucleo-H755ZI-Q and STM32CubeIDE1.14.1 based on this video Dual Core Debugging on STM32H7 with STM32CubeIDE and it works correctly.

KDJEM1_9-1710511298618.png

I hope this help you!

Kaouthar

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.

View solution in original post

4 REPLIES 4
KDJEM.1
ST Employee

Hello @victorsj and welcome to the Community :),

Which STM32CubeIDE are you using?

Are you following Getting started with projects based on dual-core STM32H7 microcontrollers
in STM32CubeIDE application note?

This application note describes how to get started with projects based on STM32H7 Series dual-core microcontrollers in the STMicroelectronics STM32CubeIDE integrated development environment. For that I recommend you to take a look at this application note and precisely section 3 Debugging.

May this post can help you.

Thank you.

Kaouthar

 

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.

Hello!

Thank you for your reply.

Yes, i followed this application note to debug with GDB server and to debug with open OCD too. The two ways don't work yet. I did exactly how this video tutorial show too. 

The Cube IDE is  STM32CubeIDE 1.14.1

 

KDJEM.1
ST Employee

Hello @victorsj ,

Could you please try to uncheck the ST-LINK S/N in the Debugger configuration: 

Debugger CM7 config:

KDJEM1_4-1710510867091.png

 

Debugger CM4 config:

KDJEM1_6-1710511019219.png

Please make sure in "CM7 startup" that the "Download" of "Debug\agora_vai_test_CM4.elf" is "true" as shown in the below figure.

KDJEM1_7-1710511062256.png

 

Please make sure in "CM4 startup" that the "Download" of  "Debug\agora_vai_test_CM4.elf" is "false" as shown in the below figure.

KDJEM1_8-1710511088139.png

I tested your project using Nucleo-H755ZI-Q and STM32CubeIDE1.14.1 based on this video Dual Core Debugging on STM32H7 with STM32CubeIDE and it works correctly.

KDJEM1_9-1710511298618.png

I hope this help you!

Kaouthar

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.

KDJEM.1
ST Employee

Hello @victorsj ,

Has your problem been solved?

If you need further support, please do not hesitate to update the post :).

Thank you.

Kaouthar

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.