We are debugging a system that drives DC motors with a feedback system. If we put a break point in a task other than the motor driving task it is possible that one of the motor drive outputs was on at the time and the motor will continue to spin while debugging. This causes a fault in our system that prevents further operation.
Is it possible to run a script from CodeWarrior on hitting a breakpoint that could write to the pin state registers and stop the motor?
Many thanks,
Tom.
in order to help you, please let us know:
1. your chip part number
2. your CW verson
thanks!