cancel
Showing results for 
Search instead for 
Did you mean: 

Launch a function automatically when program stops at a breakpoint

tmaun.1
Associate II

Hi, I would like to launch a function automatically when my program stops after a breakpoint.

I work on motor control application and it is recommanded to disable PWM channel before a breakpoint.

How I do configure cubeide ? thanks for your help

13 REPLIES 13

Yes, you're right. I overlooked RM0090 and only looked at RM0390 which describes STM32F446xx devices. Sorry. Indeed, I do not see any easy rule to determine whether the feature is present on a given MCU.

Fred.

I see. Thanks Fred.

Jan

@Fred V.​ 

@KnarfB​ ,

nice, thanks!

Jan