In case anybody was wondering, unchecking these "Freeze on Halt" checkboxes caused the PWM outputs to resume switching during program halt. Mark Mark E. Skeels wrote: > Oops, need a tag..... > > Mark > > > Mark E. Skeels wrote: > >> List, >> >> MpLab Rev 8.43, PIC24H. PICkit 3. >> >> Under "Debugger|Settings" there is a tab called "Freeze on Halt" >> >> Early on in the dev process I discovered that PWM outputs continue to >> run when you pause program execution, so that I could stop the program >> and observe registers, etc w/o disabling the PWM output switching. I do >> this a lot. >> >> Because of this, I never looked at the state of these peripherals in the >> Freeze on Halt tab. >> >> I believe Murphy has struck....I have taken out several PWM output FETS >> by halting execution; this has not happened before. >> >> Upon examination, I find that all the peripherals are now set to halt on >> program halt. I don't know what they were set to before, nor how they >> might have changed. >> >> My question/assumption is that if you enable the proper peripherals to >> run here, the PWM outputs will continue to switch during a program halt; >> say for debugging/single stepping. >> >> Is that true? >> >> How does mplab accomplish the halt? >> >> >> -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist