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

Error L250 80c51

With porting me program from SDCC to Keil I got rid of all compiler errors and now I am having me this linker error L250 (CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED) and I do not know what I am doing wrong.

The selected chip is an AT89C51
In the target options I did:

Memory Model Large: variables in XDATA
Code Rom Size Large 64K program
operating system none

Off- chip code memory start size
Eprom 0x0000 0x7FFF

Off chip Xdata memory 0x8000 0x7FFF

My uVision version is 5.24.2.86
toolchain: PK51 Prof, Develpers Kit Version: 9.57.0.0

The real target device is an FPGA which emulates a 80c51 chip. The program itself, a .bin file, is stored on a CF card which the FPGA can run. So in hardware there is no real limitation when it comes to memory size for code and variables. I do have 128 bytes for internal ram to use, but I am not using much of it.

Parents Reply Children