Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Jim Granville
11/06/12 14:32
Read: 550 times

#188795 - Check LST and try PD
Responding to: Rustu Kaya's previous message
Rustu Kaya said:

Right after I stopped all interrupts, I set the PCON.0 and then placed some code making an outport's pin toggling. It was still toggling.

Check the .LST file (or a disasm) to make sure you are changing what you expect, and try setting the PD bit (PCON.1), which should stop it in its tracks until a reset occurs.
Clear another port bit just before you set the PCON, so you can check it is doing what you hope.

List of 8 messages in thread
idle mode problem.      Rustu Kaya      11/04/12 11:22      
   Idle Mode?      Joseph Hebert      11/04/12 13:46      
      RE: is there some special "idle mode" wrt the 805x hardware?        Andy Neil      11/05/12 00:34      
         Idle modes      Joseph Hebert      11/05/12 05:21      
   RE: couldn't get it into idle mode      Andy Neil      11/05/12 00:50      
      re:      Rustu Kaya      11/05/12 14:49      
         Check LST and try PD      Jim Granville      11/06/12 14:32      
   how do you know?      Erik Malund      11/05/12 07:20      

Back to Subject List