Is it possible to run a script on hitting a breakpoint?
04-29-2014
01:55 AM
863件の閲覧回数
![twp twp](https://community.nxp.com/legacyfs/online/avatars/a249264_avatar_48x48_2.png)
twp
Contributor III
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
2 返答(返信)
05-04-2014
03:17 AM
720件の閲覧回数
![BlackNight BlackNight](https://community.nxp.com/legacyfs/online/avatars/a252863_profile-image-display.jspa.png)
![NXP Employee NXP Employee](/html/@31A3486DB369D9771A481951B44308DB/assets/favicon-3.16x16.png)
NXP Employee
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Have a look here, this might give you an idea:
05-04-2014
02:44 AM
720件の閲覧回数
![ZhangJennie ZhangJennie](https://community.nxp.com/legacyfs/online/avatars/a1002_1.png)
![NXP TechSupport NXP TechSupport](/html/@31A3486DB369D9771A481951B44308DB/assets/favicon-3.16x16.png)
NXP TechSupport
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
in order to help you, please let us know:
1. your chip part number
2. your CW verson
thanks!
![](/skins/images/BA0806C11C798594B45B84626CF08574/responsive_peak/images/icon_anonymous_message.png)