Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | MPLAB Watch Window (missing ADD SYMBOL button)

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

MPLAB Watch Window (missing ADD SYMBOL button) - r p - Jun 23 2:03:33 2008


 
I am trying to ADD SYMBOL in a watch window and the button is not active. It is only allowing SFR addition. Any clues.
 
I know this is going to be simple but I can't remember how to get it to recognize symbols.
 
Thanks in advance
Richard
 



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: MPLAB Watch Window (missing ADD SYMBOL button) - nick...@gmail.com - Sep 8 8:05:19 2008

Richard,

I had the same problem all day today, and just figured out the answer myself. Actually, it is because of your post showing up on google that I joined Piclist and this site. Anyway, the answer is how you define your variables, instead of using CBLOCK or EQU, use UDATA and the RES commands:

udata
var1 RES 1 ;reserve 1 byte of memory
var2 RES 2 ;reserve 2 bytes of memory

and so on, examples are given in the MPASM assembler help. Also make sure to have a space or tab before your variable name (I am new to MPLAB so I make this mistake all the time).

Hope this helps!

Nick

>�
>I am trying to ADD SYMBOL in a watch window and the button is not active. It is only allowing SFR addition. Any clues.
>�
>I know this is going to be simple but I can't remember how to get it to recognize symbols.
>�
>Thanks in advance
>Richard
>�
>
>

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: MPLAB Watch Window (missing ADD SYMBOL button) - r p - Sep 8 18:42:19 2008

Thanks, I found it a couple of hours later. I think I also had to modify th=
e linker script.

Richard

--- On Wed, 8/27/08, n...@gmail.com wrote:

> From: n...@gmail.com
> Subject: [piclist] Re: MPLAB Watch Window (missing ADD SYMBOL button)
> To: p...@yahoogroups.com
> Date: Wednesday, August 27, 2008, 10:05 PM
> Richard,
>=20
> I had the same problem all day today, and just figured out
> the answer myself. Actually, it is because of your post
> showing up on google that I joined Piclist and this site.
> Anyway, the answer is how you define your variables, instead
> of using CBLOCK or EQU, use UDATA and the RES commands:
>=20
> udata
> var1 RES 1 ;reserve 1 byte of memory
> var2 RES 2 ;reserve 2 bytes of memory
>=20
> and so on, examples are given in the MPASM assembler help.
> Also make sure to have a space or tab before your variable
> name (I am new to MPLAB so I make this mistake all the
> time).
>=20
> Hope this helps!
>=20
> Nick
>=20
>=20
>=20
> >=EF=BF=BD
> >I am trying to ADD SYMBOL in a watch window and the
> button is not active. It is only allowing SFR addition. Any
> clues.
> >=EF=BF=BD
> >I know this is going to be simple but I can't
> remember how to get it to recognize symbols.
> >=EF=BF=BD
> >Thanks in advance
> >Richard
> >=EF=BF=BD
> >=20=20=20=20=20=20
> >
>=20
> ------------------------------------
>=20
> to unsubscribe, go to http://www.yahoogroups.com and follow
> the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )