HCS08 stop/wait problems

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HCS08 stop/wait problems

781 Views
oldone1
Contributor II
Need to talk with someone who is very good with the STOP2 and WAIT functions.

Have code that works, converted it to use WAIT, code broke, I can not determine how to use debugger when using WAIT.
So, of course, removed WAIT from the code and it started working.
We are running on batteries so the WAIT function would be better than our current code.

 

Thanks,
Labels (1)
0 Kudos
1 Reply

255 Views
jag
Contributor IV
Hi, 

oldone1 wrote:
>Need to talk with someone who is very good with the STOP2 and WAIT functions.
>Have code that works, converted it to use WAIT, code broke, I can not determine how >to use debugger when using WAIT.
You can't. Or, to be more precise, you can use only a subset of the commands of the debugger (you can't step through code, bu you can see what's in ram, for example).  
>So, of course, removed WAIT from the code and it started working.
>We are running on batteries so the WAIT function would be better than our current code.
If going on batteries, the stops are better. 
To solve your problem, try to put toghether a minimal source code that has the problem and post it here (or attach the complete project). Without more information is difficult to help you.
Bye Jack 

 

0 Kudos