Hooowwww God :)

"319" bytes ? What's the controler are you using ? What's the internal RAM size of your controler ?

By default for an mcs51 (8051 family) Internal RAM size is 256 byte (include idata, stack, etc...)

Are you sure in your source code you've not declare varibales in "data space" instead of "xdata space" ?? (like "data unsigned char Tab[500]" instead "xdata unsigned char Tab[500]")

Model large change lost of compilation thinks but unfortunately internal RAM size ^^

Vinzzz

I have a sample kit of an OLED display and am trying to compile the
sample code that comes with it.

the command I am using is: sdcc osram51.c --model-large

the error I get is:
?ASlink-Error-Could not get 319 consecutive bytes in internal RAM for area DSEG.

I am already using the large model
what is going on?  It has already compiled with the keil compiler.
Any help would be much appriciated

sdcc version 2.5.0, win32, XP

please change the ".change" to .zip

Thanks,
Dave Vondle


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user