Pumpkin, Inc.

Pumpkin User Forums

Silicon Labs IDE

For issues specific to the 8051 family, including compilers (e.g. Keil C51) and IDEs (e.g. uVision2).

Silicon Labs IDE

Postby aek » Mon Sep 17, 2007 4:45 am

For your situation it's always helpful to look at the general case -- see AN-22.

The INIT error is probably because the linker can't find an Init() function -- that is #defined via an included header file in the example projects (i.e it's a macro -- you can replace it with something that works for you).

The OSTCBAREA problem is a little harder to identify -- it is an array in Salvo's mem.c, which you have included in your build. So as long as mem.o is included in the link phase, reasons for it being missing include:

1) Your salvocfg.h does not match the Salvo library you're linking to.

2) Your 8051 memory model (set in the project) does not match the Salvo library you're linking to.

3) Somewhere you have OSTASKS #defined to 0 (unlikely).

Please post the complete build results along with the command line, if possible.

------------------

-------
aek
aek
 
Posts: 1887
Joined: Sat Aug 26, 2000 11:00 pm

Re: Silicon Labs IDE

Postby lawrencem » Mon Sep 17, 2007 11:50 am

Hi:

I have a Cilicon Labs C8051 Development kit. It came with Salvo Lite. I am trying to run the Salvo Tutorial programs, but I cannot get them to link. I Tried to follow the instructions in AN-13. I'm not sure that the instructions are complete, as this tells how to use the Keil uVision2 IDE, and I'm using the Silicon Labs IDE. However, the Keil IDE doesn't seem to to included in the kit, so I'm trying to use what I have. Anyway, I get a lot of errors. What do I need to do to get it to link correctly? Here are the first few lines of the error message:

Link in progress...
C:SiLabsMCUIDEfilesC51BINl51.exe @C:salvo ut u2cyglink.txt


BL51 BANKED LINKER/LOCATER V5.15 - SN: Cygnal_8051Fxxx
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004
C:salvo ut u2main.obj,
C:salvosrcmem.obj,
C:salvolibkc51sfc51sdab.lib TO C:salvo ut u2 u2 RS(256) PL(68) PW(78)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: INIT
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSTCBAREA
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)

lawrencem
 
Posts: 3
Joined: Sun Sep 16, 2007 11:00 pm
Location: Oak Ridge, TN USA

Re: Silicon Labs IDE

Postby lawrencem » Tue Sep 18, 2007 6:53 am

I can't figure out where to find the exact commands used to build
the project, since I'm using the Silicon Labs IDE. I'm used to using Linux
and editors with Makefiles, so this IDE thing is totally new to me. The kit
is C8051F120DK. I have successfully built the SiLabs examples using this
kit, but I can't get the Salvo tutorials to link:-( The Init()
function appears to be defined correctly for the 8051 if SYSI is defined. I
believe that the DF(SYSI) line should do that.

Here are the build settings. First the flags for the assembler, compiler, and linker.

Assembler: c:SiLabsMCUIDEfilesC51BINa51.exe
flags: XR GEN DB EP NOMOD51
Compiler: c:SiLabsMCUIDEfilesC51BINc51.exe
flags: DB OE ID(c:salvoinc) DF(SYSI)
Linker: c:SiLabsMCUIDEfilesC51BINl51.exe
flags: RS(256) PL(68) PW(78)

Files to be Compiled:
main.c c:salvo ut u2
mem.c c:salvosrc

Files to be Linked:
main.obj c:salvo ut u2
mem.obj c:salvosrc
sfc51sdab.lib c:salvolibkc51

I used the salvocfg.h from AN-13:

#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_GLOBALS OSD
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB

From the instructions in AN-22, I found that I wasn't including main.h
from c:salvo ut u1, so I added the compiler flag ID(c:salvo ut u1). I
find it strange that I didn't get an error from that before...

So here is all of the output from the build:

Link in progress...
C:SiLabsMCUIDEfilesC51BINl51.exe @C:salvo ut u2cyglink.txt


BL51 BANKED LINKER/LOCATER V5.15 - SN: Cygnal_8051Fxxx
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004
C:salvo ut u2main.obj,
C:salvosrcmem.obj,
C:salvolibkc51sfc51sdab.lib TO C:salvo ut u2 u2 RS(256) PL(68) PW(78)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: INIT
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSTCBAREA
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: INIT
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)
ADDRESS: 019DH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTCBAREA
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)
ADDRESS: 01A7H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTCBAREA
MODULE: C:SALVOTUTTU2MAIN.OBJ (MAIN)
ADDRESS: 01B2H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 01F8H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 01FAH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 01FCH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 01FEH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 0200H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 0202H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 0204H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 0206H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 0208H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 020AH

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSTCBAREA
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTCBAREA
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)
ADDRESS: 0150H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTCBAREA
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)
ADDRESS: 0157H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)
ADDRESS: 0182H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INITTASK)
ADDRESS: 0191H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0006H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 000AH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 000CH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0012H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0019H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 001DH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0025H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0029H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 002BH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 002CH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 002EH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0036H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0040H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0046H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0048H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTIMERTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 004DH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0052H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0053H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 005BH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 005CH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 005EH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0062H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0068H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 006CH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 007CH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0086H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0088H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0096H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSELIGQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 009EH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 00A0H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (PORT8051)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSCTCBP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (PORT8051)
ADDRESS: 01C2H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (QINS)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (QINS)
ADDRESS: 00B8H

******************************************************************************
* RESTRICTED VERSION WITH 1000H BYTE CODE SIZE LIMIT; USED: 0229H BYTE (13%) *
******************************************************************************

>>
>>
>>
Program Size: data=14.0 xdata=0 code=553
LINK/LOCATE RUN COMPLETE. 70 WARNING(S), 0 ERROR(S)

lawrencem
 
Posts: 3
Joined: Sun Sep 16, 2007 11:00 pm
Location: Oak Ridge, TN USA

Re: Silicon Labs IDE

Postby aek » Tue Sep 18, 2007 7:28 am

Well, except for the first two warnings, all the others look like the linker simply isn't seeing the Salvo library.

Let me do the build in uVision and see if I can get some sort of correlation between what you're seeing and what might cause such an error.

------------------

-------
aek
aek
 
Posts: 1887
Joined: Sat Aug 26, 2000 11:00 pm

Re: Silicon Labs IDE

Postby aek » Thu Sep 20, 2007 1:24 am

Here's some info that may be useful.

I built tu5 in uVision after selecting the C8051F120. I chose tut5 because it uses the same library as the one you've been using (tu2 uses a different library).

Below are all of the batch files that uVision uses to build the application.
Target1.BAT

code:
SET C51INC=C:KeilC51INCCygnal;C:KeilC51INC
SET C51LIB=C:KeilC51LIB
SET CPU_TYPE=C8051F120
SET CPU_VENDOR=Silicon Laboratories, Inc.
SET UV2_TARGET=Target 1
SET CPU_XTAL=0x05F5E100
C:KeilC51BINC51.EXE @.MEM.__I
C:KeilC51BINC51.EXE @.ISR.__I
C:KeilC51BINC51.EXE @.MAIN.__I
C:KeilC51BINBL51.EXE @TU5LITE.LNP


MEM.__I
code:
"......srcmem.c" OPTIMIZE (9,SIZE) BROWSE INCDIR(......inc;....	u1) DEFINE (MAKE_WITH_FREE_LIB,SYSI,USE_INTERRUPTS) DEBUG OBJECTEXTEND PRINT(.mem.lst) OBJECT(.mem.obj)


ISR.__I
code:
"....	u1isr.c" OPTIMIZE (9,SIZE) BROWSE INCDIR(......inc;....	u1) DEFINE (MAKE_WITH_FREE_LIB,SYSI,USE_INTERRUPTS) DEBUG OBJECTEXTEND PRINT(.isr.lst) OBJECT(.isr.obj)


MAIN.__I
code:
"..main.c" OPTIMIZE (9,SIZE) BROWSE INCDIR(......inc;....	u1) DEFINE (MAKE_WITH_FREE_LIB,SYSI,USE_INTERRUPTS) DEBUG OBJECTEXTEND OBJECT(.main.obj)


Tu5LITE.LNP
code:
"......libkc51sfc51sdab.lib",
".mem.obj",
".isr.obj",
".main.obj"
TO "tu5lite"
IXREF
RAMSIZE(256)


For the results
code:
Build target 'Target 1'
compiling mem.c...
compiling isr.c...
compiling main.c...
linking...
Program Size: data=52.0 xdata=0 code=1024
"tu5lite" - 0 Error(s), 0 Warnings(s).

Hopefully this may point to what is wrong in your setup.

------------------

[This message has been edited by aek (edited September 20, 2007).]

-------
aek
aek
 
Posts: 1887
Joined: Sat Aug 26, 2000 11:00 pm

Re: Silicon Labs IDE

Postby aek » Tue Sep 25, 2007 5:34 am

Those symbols are all Salvo objects located in mem.c (mem.o).

Since OSTCBAREA is also a global object that is also in mem.c, it seems to me that you have a mismatch between your salvocfg.h and the library. Trouble is, your salvocfg.h looks fine ... have you placed an #error Aha! in your salvocfg.h and verified that the error is emitted when you compile the project?

Can the Keil tools you have give you a listing of the contents of the Salvo library? I want to be sure that there is not some sort of unanncouncec compatibility issue ...

------------------

-------
aek
aek
 
Posts: 1887
Joined: Sat Aug 26, 2000 11:00 pm

Re: Silicon Labs IDE

Postby aek » Tue Sep 25, 2007 5:35 am

Also, have you tried cutting-and-pasting the files I listed below and running them as a batch file in Cygwin?

------------------

-------
aek
aek
 
Posts: 1887
Joined: Sat Aug 26, 2000 11:00 pm

Re: Silicon Labs IDE

Postby lawrencem » Tue Sep 25, 2007 7:43 am

I tried tu5, but I get an identical response. I also tried the sfc51siab library, since it is built for 256 bytes of on-chip memory. From further reading of the error messages, it seems to be saying that the symbols are referenced from the sfc51sdab library, but are not found. Is there another library that needs to be linked? The symbols are:

From main.obj
OSECBAREA

From sfc51sdab.lib
OSECBAREA
OSSIGQOUTP
OSSIGQINP
OSLOSTTICKS
OSDELAYQP

Here are the messages:

Link in progress...
C:SiLabsMCUIDEfilesC51BINl51.exe @C:salvo ut u5cyglink.txt


BL51 BANKED LINKER/LOCATER V5.15 - SN: Cygnal_8051Fxxx
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004
C:salvo ut u5main.obj,
C:salvosrcmem.obj,
C:salvolibkc51sfc51sdab.lib TO C:salvo ut u5 u5 RS(256) PL(68) PW(78)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSECBAREA
MODULE: C:SALVOTUTTU5MAIN.OBJ (MAIN)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSECBAREA
MODULE: C:SALVOTUTTU5MAIN.OBJ (MAIN)
ADDRESS: 0345H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSECBAREA
MODULE: C:SALVOTUTTU5MAIN.OBJ (MAIN)
ADDRESS: 02FDH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSECBAREA
MODULE: C:SALVOTUTTU5MAIN.OBJ (MAIN)
ADDRESS: 0273H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSECBAREA
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSECBAREA
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)
ADDRESS: 0149H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSECBAREA
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)
ADDRESS: 014FH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)
ADDRESS: 017CH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)
ADDRESS: 0181H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)
ADDRESS: 0185H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (BINSEM)
ADDRESS: 018DH

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (DELAY)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (DELAY)
ADDRESS: 0245H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 036EH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 0370H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 037AH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (INIT)
ADDRESS: 037CH

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0006H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0012H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQOUTP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0019H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSSIGQINP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 001DH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0025H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSLOSTTICKS
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0029H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 002BH

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0046H

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (SCHED)
ADDRESS: 0052H

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (QINS)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSDELAYQP
MODULE: C:SALVOLIBKC51SFC51SDAB.LIB (QINS)
ADDRESS: 00B8H

******************************************************************************
* RESTRICTED VERSION WITH 1000H BYTE CODE SIZE LIMIT; USED: 03A3H BYTE (22%) *
******************************************************************************

>>
>>
>>
Program Size: data=30.0 xdata=0 code=931
LINK/LOCATE RUN COMPLETE. 38 WARNING(S), 0 ERROR(S)

lawrencem
 
Posts: 3
Joined: Sun Sep 16, 2007 11:00 pm
Location: Oak Ridge, TN USA


Return to 8051 family

Who is online

Users browsing this forum: No registered users and 1 guest

cron