Forums

mplab & special function registers

Started by Rob Horton August 16, 2006
When I view the special function registers using mplab, every register 
appears to be set to zero. I just can't believe this since when I 
program two different applications, the PIC (16F87) behaves as if the 
SFR's have different values, yet when I use mplab to view the SFR's 
everything is still zero.

What have I overlooked?

All I want to do is connect the lead from my ICD2 to the PIC and use 
mplab to read back what the SFR's are set to. Not to much to ask for is it?

Thanks
Rob Horton wrote:
> When I view the special function registers using mplab, every register > appears to be set to zero. I just can't believe this since when I > program two different applications, the PIC (16F87) behaves as if the > SFR's have different values, yet when I use mplab to view the SFR's > everything is still zero. > > What have I overlooked? > > All I want to do is connect the lead from my ICD2 to the PIC and use > mplab to read back what the SFR's are set to. Not to much to ask for is it? > > Thanks
In programmer mode or Debugger mode? You can not in programmer mode. as a debugger check the ICD Limitations. I should work there, But I never used the 16F87