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
Posted: Tue Jul 10, 2018 6:24 am
Wow. 787!. That's a version well ahead of anything we have here!...
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".
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