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,
I use some external memory (xdata) for saving some information in external ram (with battery) before a shut off of my application, but when I switch on the application all my xdata are set to 0 and don't stay with their last value.
I do this for the declaration of my external variable
in global.c unsigned char xdata reglage0 _at_ 0x4001
and in global.h external unsigned char xdata reglage0;
I do a include global.h in all my c file.
what can I do for resolving this problem?
tkx for your answer.
http://www.keil.com/support/man/docs/c51/c51_ap_startup.htm