STM32H747 Custom Board Firmware Loading Problem
Hi Madam/Sir,
We recently developed a custom board using STM32H747. The designs and schematic were based on Portenta H7 and the disco board. We received the board from PCBWay and confirmed that hardware-wise, it's okay and was proven electrically correct. However, upon loading even a simple LED toggle program on M7, the board suddenly was inaccessible, so I had to power cycle it by pulling the Boot0 to VDD. I was able to do that and erase the chip's program.

However, the next time I try to load it again, it becomes corrupted again I found out that the Loading on M7 alone is ok but gets weird on M4 core. I scoured the tutorials regarding proper debugging and also tried to uncheck/check the HALT of all Cores on debugging but to no avail. I attached the screenshots of relevant info that may help me fish out where I went wrong.





Please help me, I desperately need this board to work. Im willing to share my schematic design on this.
Thanks,
Ian
[Updates], I debugged by step my program, M7 only, disabling the M4, and found out that the SMPS that I selected on .oic was wrong, corrected it then the program works now. However, integrating the M4 program still gives an issue "SIGTRAP" as shown on the attached image. I hope someone can help me with this. Thanks
