cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to run a blinking LED on STM32H755ZI-Q

William133467
Visitor

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)


18 REPLIES 18

the program work i can flash it and run it 
but in the debuger i get this error

 

 

 

William133467_3-1741261641817.png

i am using the debug config of " Getting started with projects based on dual-core STM32H7 microcontrollers
in STM32CubeIDE"
and launching a launc group

edit
add code

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.

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.

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

 

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?

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.

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

William133467_1-1741264092410.png

 

William133467_0-1741264035147.png

 

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?

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.

yes in the run(not debug it is working fine only debug dont work )

thank you for all your help it is really appreciated 

 

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.

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.

@William133467 I've changed the marking of the solution to be closest answer to your original question.

Thank you

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.