We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, Is there any way to initialize, define and use all the variables in external EEPROM instead of external RAM in C.
So why did you call it "external" if it is internal?!
Sorry for my mistake Mr. Neil, but according to datasheet the inbuilt 1k RAM and EEPROM can be accessed through MOVX instruction which is same for accessing external RAM or memory.
But, I want to know how should I use this EEPROM for initializing, defining and using the variables and constants in C code, as all variables by default stores in RAM only by C compiler, how can i configure compiler to use EEPROM instead of the RAM. If there is any way please suggest me.
Thanks.
Yes, you can get the compiler to do it by using the FAR data support.
Or you can just do it the "traditional" way by writing your own access functions.
See http://www.keil.com/forum/docs/thread5635.asp and follow all the links!