cancel
Showing results for 
Search instead for 
Did you mean: 

Boot Issue with CM4 - STM32H745ZIT6

Pavan-Oggu
Visitor

Hello Team,

We have a custom STM32H745 board designed and We are able to get the IC up and running on cube programmer and even set option bytes. 

The board is designed with Nucleo-H745ZI-Q schematics and we have verified everything on hardware end.

When we try to program the board with a basic blink sketch following the guide (https://www.st.com/resource/en/application_note/dm00629855-getting-started-with-projects-based-on-dualcore-stm32h7-microcontrollers-in-stm32cubeide-stmicroelectronics.pdf

M7 gets debugged and runs. Once I start with M4 I get error messages and it bricks the controller.

I have been pulling up the BOOT0 pin and performing mass erase and trying things again, still it gets bricked when I try to debug CM4.


12 REPLIES 12
SofLit
ST Employee

Hello @Pavan-Oggu and welcome to the community,

And if you run it without debug does the program on CM4 run?

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 SofLit,

It doesn't run. 

Without debugger CM7 gets compiled and download completes.

When I try to run CM4 then the error pops up. But it doesn't brick the controller this time.

PavanOggu_0-1732777916341.png

 

Sorry I didn't understand..

It doesn't run or you couldn't upload the program on CM4?

Did you disable by mistake CM4 in the option bytes? Check that using CubeProgrammer in the option bytes section.

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.

These are my OB config.

PavanOggu_0-1732779293052.png

When I click on run for CM7, This is what happens on console.

PavanOggu_1-1732779387742.png

Similarly, When I run CM4, This is what I get on console,

PavanOggu_2-1732779459948.png

Hope you understood the issue. Please let me know, If you require further information.

We are using a custom STM32H745ZIT6 board with LDO Supply config.




@Pavan-Oggu wrote:

We are using a custom STM32H745ZIT6 board with LDO Supply config.


And are you sure your board is configured in LDO by HW and the RCC power config in your software follows?

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, It is.

PavanOggu_0-1732780462194.png

Question 2 : I have a LED connected to PE3 and configured it for CM7 on MX and added a toggle program on main loop on CM7. Program compiles and runs, download gets completed but LED doesn't blink and checking it with oscilloscope no toggle action happens on pin.

Let me know, If you require my MX/IDE files.

Could you please share your complete 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.

Sure, Please find the attached documents.

SofLit
ST Employee

Also you said: "The board is designed with Nucleo-H745ZI-Q schematics"

Nucleo-H745ZI-Q board is using SMPS and not LDO configuration. Could you confirm you are not using SMPS in the HW?

SofLit_0-1732781498628.png

If you used SMPS, that's normal and you've broken the board. In that case you need to recover it. Read this article.

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.