2024-03-06 04:56 AM
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:
Here is the pinout 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:
The Debugger CM4 config:
Startup config:
If someone has a complete exemple with IOC and code to blink leds on Nucleo-H755ZI it can help me so much.
Solved! Go to Solution.
2024-03-15 07:06 AM
Hello @victorsj ,
Could you please try to uncheck the ST-LINK S/N in the Debugger configuration:
Debugger CM7 config:
Debugger CM4 config:
Please make sure in "CM7 startup" that the "Download" of "Debug\agora_vai_test_CM4.elf" is "true" as shown in the below figure.
Please make sure in "CM4 startup" that the "Download" of "Debug\agora_vai_test_CM4.elf" is "false" as shown in the below figure.
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.
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.
2024-03-11 02:26 AM
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.
2024-03-11 05:08 AM
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
2024-03-15 07:06 AM
Hello @victorsj ,
Could you please try to uncheck the ST-LINK S/N in the Debugger configuration:
Debugger CM7 config:
Debugger CM4 config:
Please make sure in "CM7 startup" that the "Download" of "Debug\agora_vai_test_CM4.elf" is "true" as shown in the below figure.
Please make sure in "CM4 startup" that the "Download" of "Debug\agora_vai_test_CM4.elf" is "false" as shown in the below figure.
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.
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.
2024-03-29 05:37 AM
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.