Hi, I work on st10f168 with uVision2 V2.38 I want to control 2 1Mb * 8 bits external ram by EBC (external bus controller) in 16 bits demux mode. It s like a one chip ram 16 bits * 1Mb So i would declare a table of 1Mb int, but i can t declare one upper that : static unsigned int xhuge Tab[524032]; with user stack : 0x200 But normally i can declare Tab[1048065] I don t understand why i can t ? I feel i lose the half of my memory ! I am also oblige to increment 2 by 2 the pointer on Tab, i can t write on another ! Please explain to me how can i use all the memory Thanks
but i can t declare one upper that : You say you can't, but you omit to say what's stopping you from doing it. It's almost never a good idea to omit the actual error message or other diagnostic from a problem report like this one. Same for the compiler and linker options used in trying to do this.
Excuse me for omit error linking warning Warning : Section located outside class area section ?XD0?MAIN class : XDATA0 Thanks