Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 10, 2016, 09:14:35 21:14


Login with username, password and session length


Pages: [1]
Print
Author Topic: MPLAB-uCOS-II-PIC18-V101 debug help  (Read 3257 times)
0 Members and 1 Guest are viewing this topic.
xzb
Newbie
*
Offline Offline

Posts: 27

Thank You
-Given: 16
-Receive: 5


« on: March 22, 2008, 05:25:38 05:25 »

I have debug a problem.
Make: The target "C:\MCC18\MPLAB-C18\WORK\TEST.o" is up to date.
Make: The target "C:\MCC18\MPLAB-C18\WORK\OS_CPU_C.o" is up to date.
Make: The target "C:\MCC18\MPLAB-C18\WORK\UCOS_II.o" is up to date.
Make: The target "C:\MCC18\MPLAB-C18\WORK\VECTORS.o" is up to date.
Make: The target "C:\MCC18\MPLAB-C18\WORK\test.cof" is out of date.
Executing: "C:\MCC18\bin\mplink.exe" /l"C:\MicroChip\mcc\lib" /k"C:\MicroChip\mcc\lkr" "C:\MCC18\MPLAB-C18\WORK\18f452i.lkr" "C:\MCC18\MPLAB-C18\WORK\TEST.o" "C:\MCC18\MPLAB-C18\WORK\OS_CPU_C.o" "C:\MCC18\MPLAB-C18\WORK\UCOS_II.o" "C:\MCC18\MPLAB-C18\WORK\VECTORS.o" "C:\MCC18\MPLAB-C18\WORK\p18f452.lib" "C:\MCC18\MPLAB-C18\WORK\clib.lib" /m"test.map" /o"test.cof"
MPLINK 4.1, Linker
Copyright (c) 2006 Microchip Technology Inc.
Error - section '.udata_UCOS_II.o' can not fit the section. Section '.udata_UCOS_II.o' length=0x00000248
Errors    : 1

Link step failed.
BUILD FAILED: Sat Mar 22 12:12:31 2008
Logged
FrankQu
Guest
« Reply #1 on: October 24, 2008, 07:28:10 07:28 »

The linker file is error

Posted on: October 24, 2008, 07:26:11 07:26 - Automerged

// Sample linker command file for 18F452i used with MPLAB ICD 2
// $Id: uc-18f452i.lkr,v 1.1 2002/10/31 05:12:25 nb Exp $

LIBPATH  .

FILES c018i.o
FILES clib.lib
FILES p18f452.lib

CODEPAGE   NAME=vectors  START=0x0        END=0x29       PROTECTED
CODEPAGE   NAME=page     START=0x2A       END=0x7DBF
CODEPAGE   NAME=debug    START=0x7DC0     END=0X7FFF     PROTECTED
CODEPAGE   NAME=idlocs   START=0x200000   END=0x200007   PROTECTED
CODEPAGE   NAME=config   START=0x300000   END=0x30000D   PROTECTED
CODEPAGE   NAME=devid    START=0x3FFFFE   END=0x3FFFFF   PROTECTED
CODEPAGE   NAME=eedata   START=0xF00000   END=0xF000FF   PROTECTED

ACCESSBANK  NAME=accessram  START=0x0      END=0x7F
DATABANK    NAME=gram       START=0x80     END=0x5F3
DATABANK    NAME=dbgspr     START=0x5F4    END=0x5FF    PROTECTED
ACCESSBANK  NAME=accesssfr  START=0xF80    END=0xFFF    PROTECTED

SECTION      NAME=CONFIG     ROM=config

STACK SIZE=0x030
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC