Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

Linker errors

I compile my program and get the following errors
=========================================
linking...
*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: CODE
SEGMENT: ?PR?SETTHERMODEDETECTIONENABLED?TCU
LENGTH: 000009H
*** ERROR L138: CODE GENERATION: PROBLEM WHEN PROCESSING INSTRUCTIONS
CAUSE: JUMP TARGET OUT OF RANGE
ADDRESS: 0C701H
Program Size: data=233.7 xdata=3788 const=2422 code=56249
Target not created
=========================================

I used the following tools:

Device: C8051F020

IDE-Version:
µVision3 V3.31
Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2006

Tool Version Numbers:
Toolchain Path: C:\Keil\C51\BIN\
C Compiler: C51.Exe V8.04
Assembler: A51.Exe V8.00
Linker/Locator: LX51.Exe V4.06
Librarian: LIBX51.Exe V4.24
Hex Converter: OHX51.Exe V1.36
CPU DLL: S8051.DLL V3.04
Dialog DLL: DCYG.DLL V2.45
Target DLL: BIN\CygC8051F.dll V1.33
Dialog DLL: TCYG.DLL V2.45

How can I resolve these errors?