Dave Miller

Codewarrior USB Tap & resetting the target

Discussion created by Dave Miller on May 30, 2007
Latest reply on Jun 26, 2007 by Pascal Irrle
Hello All,
 
I am using Codewarrior for the DSC56800\E 8.0 and the USB Tap.  My project involves motor control so when the debugger has stopped I need everything to stop or my motor will keep moving.
 
Right now when I hit a breakpoint in my project the PWM timer that is driving the stepper motor controller still seems to be running as the motor continues to run.  How can I stop this when the debugger is stopped?
 
The other issue I see that is similar is when I "kill the thread" the code in the processor keeps executing just like when I hit a breakpoint.  It would seem to me that the USB Tap would hold the target in Reset when it is not running.  Am I missing a setting somewhere?
 
Also, I sometimes want to reset the target and restart the code.  Is there a simple way to reset the target without breaking the connection?  Or is the only option is to use the Restart command that reloads the code?
 

Outcomes