We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
"it maight be code memory"
There is no "might" about it - the message very clearly and explicitly says that it is CODE memory that has overflowed!
"SPACE: CODE"