I am trying to used the SDCC compiler with the 8051F124 from SiLab (Cygnal)

I have successfully got the Blinky LED to run and have been able to do many other small routines however whenever my memory usage is more than 256 bytes the program crashes and I get Linker error of:

?ASlink-Error-Could not get 106 consecutive bytes in internal RAM for area DSEG.

 

Tried to compile using large memory which fixed the linker issue however the program seems not to be using correct memory locations for SFR’s.

 

Any idea or any help would be greatly appreciated.

 

Thanks

Ray B.