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.
I have already contacted keil support like you said. And I added the license. I thought it was obvious when I said: "My uVision was indeed not Licensed". But it wasn't that obvious.. so my bad.
Anyways I contacted them and I succesfully licensed my uVision. The error L250 is gone now so I will focus on the other errors.
I do have no clue why I still got the error yesterday after I licensed uVision and rebooted my PC.
I still got me some other linker errors for some other threads ;)
Tnx for your help
If you dunno what your eyebrows are doing you shud get someone look tell you thicko.
Yes: that is the limit for the free Evaluation version - see the link provided earlier.
Again, for licensing issues, you need to contact Keil support direct.
See http://www.keil.com/forum/ - the forum is not the route to contact Keil support!
"I am also having error L6"
You should probably get the licensing sorted out before worrying about that.
Also.
I am also having error L6: XDATA SPACE MEMORY OVERLAP alot.
I don't know why this error appears. It is always about 1 address. I don't know if this raises any eyebrows?
My guess is that I have made a mistake in the target options
Yes I did. I believe you have to. uVision doesn't allow it if the program isn't launched with admin privileges
Did u license it as administrator thicko
My uVision was indeed not Licensed. It is now but the problem remains. And I did restart my computer. The linker still throws me fatal error L250.
The linker also claims that the limit is just 0800H bytes.
it is a C51 as said in the description. I must have misclicked with making the 2nd post.
Your original thread was C51, but now you're saying C251 - so which is it??
http://www.keil.com/forum/63381
L250 (CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED)
So it thinks you have the free evaluation version.
See: http://www.keil.com/demo/limits.asp
"PK51 Prof, Develpers Kit Version: 9.57.0.0"
Have you properly entered your licence details?
For help with licence issues, you need to contact Keil support direct.
View all questions in Keil forum