2024-08-26 06:51 AM
I have tested a TouchGFX-created project that should tie in a USB-Stick connected to the board and create a csv file, then write to it.
After writing the necessary code and debugging this project in STM32CubeIDE, the board was stuck with a white screen, and further debugging was not possible anymore.
Fortunately, I was able to connect to the board from STM32CubeProgrammer and I did a full chip erase.
Now I am able to program again from STM32CubeIDE, but the code is not executed when debugging. The same project works with another STM32H745I-Disco board.
In the programmer, the fault analyzer says the CPU is either halted or in lockup...
Is there a way to save this one board, or is the debugger working but the main chip toast?
Thanks!
Solved! Go to Solution.
2024-08-26 07:04 AM
You can perhaps test by reprogramming the test application firmware, should be binary or hex files living in the board / demo specific project directory under CubeH7 repo.
2024-08-26 06:55 AM
Hello @FabianEbs and welcome to the community.
Check if you have disabled the Cortex-M4 using CubeProgrammer in option bytes menu.
2024-08-26 07:02 AM
2024-08-26 07:04 AM
You can perhaps test by reprogramming the test application firmware, should be binary or hex files living in the board / demo specific project directory under CubeH7 repo.
2024-08-26 07:10 AM - edited 2024-08-26 07:11 AM
but the code is not executed when debugging. The same project works with another STM32H745I-Disco board.
Is is executing in stand alone?
Could you please share your ioc file?
2024-08-26 07:21 AM
Yeah that worked.
I did another full chip erase followed by programming the .elf file of an example project, both in STM32CubeProgrammer under Erasing & Programming.
Afterwards I was able to flash directly from STM32CubeIDE again.
Thanks a lot everyone!
2024-08-26 07:23 AM
2024-08-26 07:28 AM - edited 2024-08-26 07:36 AM
Indeed this is a wrong configuration with your RCC:
First, STM32H745I-Discovery is mounted in SMPS by HW while you set the power config to LDO.
Second, you cannot exceed 400MHz @VOS1 in SMPS with that microcontroller.
Attached an updated ioc file. Please test and get back with your findings.