Hi
I am receiving:
*** ERROR L121: IMPROPER FIXUP
MODULE: C:\KEIL\C51\LIB\C51C.LIB (PRINTF)
SEGMENT: ?PR?PRINTF?PRINTF
OFFSET: 0068H
I have tryied to read threads about this, but cannot understand it since it appears in a .LIB file
Any help? Really needing it. Thanks for your time Dario
You are using the COMPACT memory model and the fixup error indicates a problem with the PDATA addressing.
Is the PDATA space within 256 bytes? What version of the toolchain are you using?
I still don't get the problem. It worked fine but i modify code and does not work anymore. How come that i encounter this issue? I have no idea on the PDATA space.
I will need more assistance with this one. Sorry. I am a beginner...
C comp v7.20 Asse : v7.10 Link/Loc: v5.11
" It worked fine but i modify code and does not work anymore."
Yes, you get that! This is known as breaking the code; such code is said to be broken!
;-)
But seriously:
"I have no idea on the PDATA space."
So don't use it!
Use either the Small or Large memory model instead:
http://www.keil.com/support/man/docs/c51/c51_le_memmodels.htm
I think you can safely leave PDATA for another day as an "advanced" topic...
"I am a beginner...
C comp v7.20 Asse : v7.10 Link/Loc: v5.11"
Those are quite old versions to be starting out with...
View all questions in Keil forum