Hello all,
on my DC/DC converter application (step-up), the MSP430 drives the switching transistor. The MSP430 output corresponds to a PWM from some timer, and the whole system works amazingly well.
Whenever I interrupt the running µC program from the debugger, the MSP430 will stop, and so will the PWM output. If it is high at the time of the interruption, I will have a direct short from battery to GND. This usually leads to the transistor going up in smoke, literally leaving smoldering ruins.
Is there any way (e.g. using the watchdog) to perform a specific task just before the debugger stops the program? I do have a main switch controlled by the MSP430, and switching it off while the debugger has stopped the program would be just fine.
Thank you,
Max