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-28 12:19 AM
2024-11-28 02:20 AM - edited 2024-11-28 02:31 AM
Hello,
There is a mismatch between your RCC config i.e. you set an external 8MHz source in Bypass mode:
While in your schematics you have an external clock with 25Mhz / Crystal/Resonator mode:
You need to align the RCC config to fit your HW:
Attached the updated ioc file.