cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H755ZI-Q dual-core example: CM7 runs but CM4 does not execute / LED does not toggle

JuanPaMor
Associate

 

Hello everyone,

I am testing a basic dual-core project on the STM32H755ZI-Q Nucleo board.

Environment:

Board: NUCLEO-H755ZI-Q
MCU: STM32H755ZIT
STM32CubeIDE: latest version
STM32CubeMX: latest version
ST-LINK firmware updated
Reference used:
Official ST article:
https://community.st.com/t5/stm32-mcus/how-to-create-and-run-an-stm32h7-dual-core-basic-example/ta-p/863076

Issue:

Cortex-M7 works correctly and toggles LED.
Cortex-M4 does not toggle its LED.
CM4 breakpoints are not reached.
Both ELF files compile successfully.
Startup log shows:
CM4 programmed at 0x08100000
CM7 programmed at 0x08000000
GPIO pins verified and assigned to the correct cores.
HSEM synchronization tested.
Clean/build performed multiple times.
Interesting point:
I followed a YouTube tutorial based on an older STM32CubeIDE/CubeMX version and the same steps work correctly there.

Question:
Has anyone seen this with recent STM32CubeIDE/CubeMX versions on STM32H755ZI-Q?

Is there any change required in:

CM4 boot sequence
HSEM synchronization
debug configuration
generated project settings
Any suggestions are appreciated.
Thanks.

2 REPLIES 2
TDK
Super User

Is the CM4 core programmed? How did you verify? Can you debug the program and step through the code to see where it's stuck?

If you feel a post has answered your question, please click "Accept as Solution".
Saket_Om
ST Employee

Hello @JuanPaMor 

Please refer to this example below: 

STM32CubeH7/Projects/STM32H745I-DISCO/Examples/HSEM/HSEM_CoreSync at master · STMicroelectronics/STM32CubeH7

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.
Saket_Om
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.