View previous topic :: View next topic |
Author |
Message |
alexz
Joined: 17 Sep 2004 Posts: 133 Location: UK
|
Restricted memory |
Posted: Wed Feb 16, 2005 9:59 am |
|
|
When some variables in the watch window are "Restricted memory",
what does it mean? _________________ Alex |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
alexz
Joined: 17 Sep 2004 Posts: 133 Location: UK
|
|
Posted: Thu Feb 17, 2005 3:33 am |
|
|
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
|
|
Posted: Thu Feb 17, 2005 7:02 am |
|
|
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
|
|
Posted: Thu Feb 17, 2005 7:05 am |
|
|
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
|
|
Posted: Thu Feb 17, 2005 7:07 am |
|
|
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
|
|
Posted: Thu Feb 17, 2005 7:10 am |
|
|
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
|
|
Posted: Thu Feb 17, 2005 7:13 am |
|
|
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. |
|
|
|