CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Watch Window

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
alexz



Joined: 17 Sep 2004
Posts: 133
Location: UK

View user's profile Send private message

Watch Window
PostPosted: Wed Oct 06, 2004 5:19 am     Reply with quote

When I wanna watch a variable, I put it into the watch window.
And in the 'value' tab I see 'Reserved memory' or 'Restricted memory'
What does it mean and how can I handle it?
Thank you
_________________
Alex
alexz



Joined: 17 Sep 2004
Posts: 133
Location: UK

View user's profile Send private message

PostPosted: Wed Oct 06, 2004 5:27 am     Reply with quote

And also I do not manage to declare a variable more then 1 byte.
if I declare a variable as long for example, I sea only 1 byte in the watch window.
_________________
Alex
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Wed Oct 06, 2004 6:50 am     Reply with quote

I assume you are using MPLAB. Which version?
alexz



Joined: 17 Sep 2004
Posts: 133
Location: UK

View user's profile Send private message

PostPosted: Wed Oct 06, 2004 6:54 am     Reply with quote

MPLAB 6.60
Now it is ok, the problem was the variable 'temp' couldnt be more then a byte. I do not know why. But other variable is alright.
Now how that union definition really help me?
I have got a big array, and 2 bytes of which I need to write to another 16 bits variable.
_________________
Alex
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group