The L1907, Fixup overflow is issued when the referred object cannot be reached with the used addressing mode, for example when accessing a far function with the near calling convention or an extended allocated variable with direct addressing mode.
For example if the parBatt variable would be accessed in the tiny memory model I would expect a
L1907 when accessing it as it is not allocated in the direct segment, the default in the tiny model.
The declaration would have to be in a __FAR_SEG qualified pragma.
What exactly is the problem in this particular case? I don't know, really not enough information.
Check in the map file how the objects are allocated and check the code how the compiler is accessing the variable.
Things which could provide more insight:
- Map file entries about the mentioned objects
- The actual error text (Tip: Ctrl-C works in the message window!)
- memory model used
- #pragma's and other special topics
- disassembly of the code for which the error is issued.
- which derivative, banking?
Daniel