Using xhuge memory

Hello,

I have been using an xhuge array of size 512KB on the C167HSE and my software has been working fine. It is declared as follows:

unsigned int xhuge x[256000]={0};

By looking at .M66 file (MEMORY MAP OF MODULE section), the begin, end, and the size looks like the following:

300000H 37CFFFH 07D000H

Now I need to enlarge the array from 512KB to 800KB and I'm getting the following error:

WARNING L5: SECTION LOCATED OUTSIDE CLASS AREA
SECTION: ?XD0?MAIN
CLASS: XDATA0

C167HSE has two 512KB RAM. How can I create a logical array of 400000 type int? Thanks in advance.

Parents Reply Children
More questions in this forum