Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | mplab & special function registers

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.

mplab & special function registers - Rob Horton - 07:48 16-08-06



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

Re: mplab & special function registers - Neil - 23:23 16-08-06

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