This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to access on-chip XRAM

ADuC 841
--------------------------------------------------------------------------------
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

0