Is there any Memory Types available to access 2K Bytes On-Chip XRAM or How to access 2K Bytes On-Chip XRAM in ADuC 841. Note: i have used the this statement to access internal XRAM @Decl.c i have mapped all the registers related to ADuC 841 #define Internal_XRAM CFG841 = 0xFF; typedef unsigned char BYTE; extern BYTE data Table[1000]; @main.c #include "Decl.c" BYTE data Table[1000]; void main() { Internal_XRAM ; } error: DATA Segment too large
Rajkumar, Once enabled through the 841's config register, its internal XRAM is accessed (in C51) just as if it were external SRAM mapped to xdata.
Are you actually using the ADuC841 in a product? Last time I checked the 841 anamoly list, the device did not look very useful or robust. I've been sticking with the 831. The only benefit I saw with the 841 was the reduced number of clocks per instruction.