Hi After compiling my codes, I get the warning message: SECTION OUTSIDE CLASS AREA SECTION: CLASS: I assume that it means that the data are not with address range. Can any of you pleas kindly advise me to eliminate this problem? Thank you in advance AJ
I would add to Mike's comment... and if you wanted to use the ERAM on the XC16x1 for data (as an option). Have a look to the following link… http://www.keil.com/support/docs/2899.htm This talks about using the ERAM on XC16x devices for data. Follow the directions but with one exception, I would use far "FDATA, FDATA0" instead of near.
FDATA (0xE00000-0xE007FF), FDATA0 (0xE00000-0xE007FF),
int near_data; /* defaults to near memory */ int far far_data /* far data memory */
00C246H near_data VAR --- NDATA0 ?ND0?MAIN E00000H far_data VAR --- FDATA0 ?FD0?MAIN