2025-03-06 12:28 AM - last edited on 2025-03-06 3:57 AM by mƎALLEm
Hi,
am new to STM32 and i am trying to configurate my Nucleo but i don't understand my problem i am trying to setup a basic blink code with the basic structure (serial port communication with putty , debugger stlinkv3 and communication between cores but i can manage to ger it right thank you for any help or advises)
my problem is i cant manage to setup a basic ioc files configuration for my stm32h755zi-q in the stmcubeide 1.18 i have a basic blink code using both core that work but when i try to setup whit other clock parameters configuration i cant manage to start the program (stlink v3 on the bord look like i cant connect)
Solved! Go to Solution.
2025-03-06 3:48 AM - edited 2025-03-06 3:52 AM
2025-03-06 3:51 AM - edited 2025-03-06 3:52 AM
Hello,
This was not the project I've attached previously. Your project doesn't compile.
So need to use the project I have attached and confirm if it is working or not. Then use it as a base project.
2025-03-06 4:13 AM
Reason: (255) Unknown. Please check power and cabling to target.
i again click resolve by accident but i can only run on core at the time in the debug
else the program work
2025-03-06 4:20 AM
If my project has the same issue. It's definitely a hardware issue on your board. Did you modify something on the board? a solder bridge? etc ..?
Try to connect with CubeProgrammer and tell us what do you find?
2025-03-06 4:30 AM
no i baugt it from mouser electronic and keep all the original setting, solder bridge and place foam on the under pins at the buttom to protect from shorts
i am not sure what are the thig you want me to show you are those resonable
also i try the debug usig your config and the config from Getting started with projects based on dual-core STM32H7 microcontrollers
in STM32CubeIDE
2025-03-06 4:41 AM - edited 2025-03-06 4:47 AM
Please forget about the "Getting started with projects based on dual-core STM32H7 microcontrollers" for the moment.
As you are able to connect with CubeProgrammer there is no issue in the HW.
With the project I shared, please:
1- Upload the CM7 project to the MCU.
2- Upload the CM4 project to the MCU.
3- Detach the USB cable and reconnect it again.
Do you have a toggling LEDs or not?
2025-03-06 4:54 AM
yes in the run(not debug it is working fine only debug dont work )
thank you for all your help it is really appreciated
2025-03-06 5:08 AM
Ok. So your issue is in debug and not in standalone. So it's another question.
So please accept as solution the comment that answered your question.
If you need to ask a question about the dual core debug, open a new thread in STM32CubeIDE forum board.
2025-03-06 5:16 AM
@William133467 I've changed the marking of the solution to be closest answer to your original question.
Thank you
2025-10-23 2:04 AM
Your code ran good on my Nucleo H755ZIT6U, but you were setting M4 and M7 at 61234 port, I just swapped M4 to 61238 and it debugged. For newbies, here is my understanding as I am also learning:
M4 breakdown 0xa05f0000 is not an error. See how to "stepover" in "STM32 Dual Core 1 How to debug" by ControllerTechs on Youtube. When you build (upload) to 2 cores, the M4 will sleep and wait for M7 wake-up signal. M7 sees M4 sleeping, configures all core clock, does setups, wakes M4 up first, then M7 will start working. This is why M4 LED is blinking first, then M7. To start the new code please press the Reset button.
Thank you