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

Restricted memory

 
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

Restricted memory
PostPosted: Wed Feb 16, 2005 9:59 am     Reply with quote

When some variables in the watch window are "Restricted memory",
what does it mean?
_________________
Alex
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 16, 2005 11:38 am     Reply with quote

Read this thread on the Microchip forum, regarding ICD2 memory usage:
http://forum.microchip.com/tm.asp?m=49032&mpage=1
alexz



Joined: 17 Sep 2004
Posts: 133
Location: UK

View user's profile Send private message

PostPosted: Thu Feb 17, 2005 3:33 am     Reply with quote

PCM programmer wrote:
Read this thread on the Microchip forum, regarding ICD2 memory usage:
http://forum.microchip.com/tm.asp?m=49032&mpage=1



It was said there:
Make sure that you set the "Link for ICD 2" option in the linker build options.

I went to Project->Build Options->Project->General and in the Linker-Script Path field I indicated the directory ICD2.
I am not sure is it is correct what I have done but it didn't help.
_________________
Alex
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Feb 17, 2005 7:02 am     Reply with quote

CCS doesn't use a linker. That thread was referring to another compiler. The pointer of reading the thread is supposed to show you that the ICD debug executive program needs some resources. Some RAM and Code space. The restricted is memory used by that.
alexz



Joined: 17 Sep 2004
Posts: 133
Location: UK

View user's profile Send private message

PostPosted: Thu Feb 17, 2005 7:05 am     Reply with quote

Mark wrote:
CCS doesn't use a linker. That thread was referring to another compiler. The pointer of reading the thread is supposed to show you that the ICD debug executive program needs some resources. Some RAM and Code space. The restricted is memory used by that.


Does it mean that variable is not active or does not exist?
How can I create a variable and make sure the ICD2 does not use it, that I will be able to watch it?
_________________
Alex
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Feb 17, 2005 7:07 am     Reply with quote

Just declare the variable and then add it to the watch window. It is that simple. Are you trying to locate it in a certain memory location?
alexz



Joined: 17 Sep 2004
Posts: 133
Location: UK

View user's profile Send private message

PostPosted: Thu Feb 17, 2005 7:10 am     Reply with quote

Mark wrote:
Just declare the variable and then add it to the watch window. It is that simple.


That's what I am doing

Mark wrote:
Are you trying to locate it in a certain memory location?


Not at all
_________________
Alex
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Feb 17, 2005 7:13 am     Reply with quote

That's about all I can tell you. It works for me. You next option would be to post a small test program that demonstrates the problem. Include the compiler version and IDE version.
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