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 support@ccsinfo.com

Variables appear in "Reserved Memory"

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



Joined: 09 May 2012
Posts: 6

View user's profile Send private message

Variables appear in "Reserved Memory"
PostPosted: Wed Sep 19, 2012 11:05 am     Reply with quote

Variables defined in both global, or within a function, in debug, instead of there appears "Reserved Memory":
ICD 3, MPLAB IDE v8.87, PIC24FV32KA304, compiler CCS_PCH v4.113, Windows7

Code:
#include <24FV32KA304.h>
#fuses NOWDT,NODEBUG,FRC,  NOWRT, NOPROTECT
#fuses FRC_PLL
#fuses NOPR
#fuses  4L=0x3A82
#use delay(clock=30000000)   

#define LED_CYCLE 0x10
unsigned char    cLedCycle=LED_CYCLE,
         cLedDeamStep=0;
#define DIMMER_STEPS 0x0E
unsigned char   cDimmer[DIMMER_STEPS];

in Watch window:
cLedDeamStep address and value appears,
while for the variables
cDimmer, and cLedCycle
No address is shown, and instead their value, appears the message "Reserved Memory"

Any idea how some variables are OK, and another near by, or within a function are not (as described above)?
Thank you, and please let me know if I missed any information.
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