2024-11-27 10:37 PM - last edited on 2024-11-28 02:22 AM by SofLit
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.
2024-11-27 10:57 PM
Hello @Pavan-Oggu and welcome to the community,
And if you run it without debug does the program on CM4 run?
2024-11-27 11:12 PM
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.
2024-11-27 11:24 PM
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.
2024-11-27 11:38 PM
These are my OB config.
When I click on run for CM7, This is what happens on console.
Similarly, When I run CM4, This is what I get on console,
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.
2024-11-27 11:44 PM
@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?
2024-11-27 11:56 PM
Yes, It is.
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.
2024-11-28 12:09 AM
Could you please share your complete project?
2024-11-28 12:14 AM
2024-11-28 12:15 AM - edited 2024-11-28 12:16 AM
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?
If you used SMPS, that's normal and you've broken the board. In that case you need to recover it. Read this article.