Debugging and programming causing catastrophic hardware failures
I am working on a custom board design that uses an STM32G474RBT3 to drive the PWM signals to a buck converter and another PWM signal to an inverting buck-boost converter via the HRTIM. If the PWM signals lock high for more than a few microseconds there will likely be damage to the board.
I am using the STLINK-VSET3 to debug and program the MCU. Most of the time I don't seem to have a problem when reprogramming the MCU to test updated firmware, but every once in a while, I hear a "click". Most of the time after the click, all seems to be working okay but the MCU begins running at an elevated temperature (40°C to 70°C) and most of the time will eventually fail (a day or two later).
Currently, I am not controlling the voltages of the power supplies; I'm just generating a fixed PWM signal open loop to verify that the converters function. Also, I have not explored setting the PWM signals low in the event of a fault condition (i.e., core lockup, RAM parity error, execution of an invalid instruction, etc.). Partly because I can't find a good reference that discussed the various faults.
I have gotten some great advice from this forum which, as a newbie, is greatly appreciated.
Does anyone know of good reference to the faults that will allow me to set the HRTIM PWM signals to inactive states or have any other advice?
