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?
The same post appear at the SILabs forum 1) if it IS a 252 why at the SILabs, thy do not make any 2) if it is a 51 then the MCU: selection is wrong herte
Erez: which exact chip do you use (NOT e.g. 80C51, but e.g. AT89C51PQX)
Erik
I used C8051F020 chip. I post the same question to SILAB form and been advised to post it in Keil form.
been advised to post it in Keil form. yes, I did that, but the likelyhood of you getting an answer will be greatly enhances if you post your query under the C51 heading. the users of the 251 may not know the answer and are very,very few compared to the c51 users. It was by accident that I saw your post, I usually just skip the 251 posts.