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

SOLVED : MPLAB IDE-X

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



Joined: 23 Apr 2009
Posts: 42

View user's profile Send private message

SOLVED : MPLAB IDE-X
PostPosted: Tue Jul 10, 2018 4:01 am     Reply with quote

hi,

im using mplab ide-x and see there is not a way to change the eeprom data.
it always returns to oxFF.
is there a way i can predefine eepromdata so when it compiles this eepromdata is set to the correct values?

i use the PIC18F27K40 processor
5.078 as compiler version.

help is appreciated

kind regards


Last edited by koenbielen on Tue Jul 10, 2018 9:25 am; edited 1 time in total
Ttelmah



Joined: 11 Mar 2010
Posts: 19535

View user's profile Send private message

PostPosted: Tue Jul 10, 2018 6:24 am     Reply with quote

Wow. 787!. That's a version well ahead of anything we have here!... Twisted Evil

However the answer is the same for all versions:

Code:

#rom getenv("EEPROM_ADDRESS") = {whatever you want}


'Whatever you want', can be a list of values 1,2,3,4 etc.., or a constant string "This will be stored".
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