Page 1 of 1

error

PostPosted: Mon Jul 19, 2004 9:39 am
by shwesap
We have tried to compile the existing proj in tu1 as well....

gives the same errors as mentioned previously

When building an existing proj...all we doing is opening the project and trying to build it without changing any include paths or anything else..

All our objective is to try and build this for a readymade project and then check for the application we are trying to build.

Thats the reason we were trying to make our own proj .

Thanks


Re: error

PostPosted: Mon Jul 19, 2004 9:42 am
by aek
OK, which version of MPLAB are you running?

Where is Salvo installed?

Which version of Salvo do you have?

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


Re: error

PostPosted: Mon Jul 19, 2004 9:47 am
by aek
Here's the Project Window from MPLAB v5.50 for tu1lite:
code:
Project Listing
Path: C:SALVOTUTTU1SYSA
Project Name: TU1LITE.PJT
Target: TU1LITE.HEX
Tool Suite: HI-TECH PICC
Processor: PIC16F877
Development Mode: Simulator

Directories
Include: SALVOTUTTU1SYSA

Target Data
File List: main.obj;mem.obj;SFP42CMB.lib;
Option String: -E;
Build Tool: PICC Linker

Node: main.obj
Path: salvo ut u1
File List: main.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_FREE_LIB
Build Tool PICC Compiler

Node: main.c
Path: salvo ut u1
Dependency List:
salvo ut u1MAIN.H
salvo ut u1IO18C452.H
salvo ut u1REG51.H
salvo ut u18051.H
salvo ut u1MSP430X1.H
salvo ut u1IO8515V.H
salvo ut u1F2407_C.H
salvo ut u1SALVO.H

Node: mem.obj
Path: salvosrc
File List: mem.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_FREE_LIB
Build Tool PICC Compiler

Node: mem.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOPRG.H

Node: SFP42CMB.lib
Path: salvolibhtpicc

You appear to be using MPLAB v5.x -- I strongly suggest you move to MPLAB v6 if at all possible -- we no longer actively support MPLAB v5.x.

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

[This message has been edited by aek (edited July 19, 2004).]


Re: error

PostPosted: Mon Jul 19, 2004 9:55 am
by aek
BTW, if you're not using the full/registered version of PICC, or the absolute latest demo version of PICC, you need to follow this: http://www.pumpkininc.com/content/doc/appnote/an-17.pdf

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


Re: error

PostPosted: Mon Jul 19, 2004 9:56 am
by aek
And here it is for tu6pro:
code:
Project Listing
Path: C:SALVOTUTTU6SYSA
Project Name: TU6PRO.PJT
Target: TU6PRO.HEX
Tool Suite: HI-TECH PICC
Processor: PIC16F877
Development Mode: Simulator

Directories
Include: SALVOTUTTU6SYSA

Target Data
File List: main.obj;delay.obj;event.obj;init.obj;inittask.obj;mem.obj;qins.obj;sched.obj;timer.obj;util.obj;isr.obj;msg.obj;prio.obj;
Option String: -Mtu6pro.map;-E;
Build Tool: PICC Linker

Node: main.obj
Path: salvo ut u6
File List: main.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -DUSE_INTERRUPTS -Isalvo ut u1
Build Tool PICC Compiler

Node: main.c
Path: salvo ut u6
Dependency List:
salvo ut u6MAIN.H
salvo ut u6SALVO.H

Node: delay.obj
Path: salvosrc
File List: delay.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: delay.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

Node: event.obj
Path: salvosrc
File List: event.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: event.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

Node: init.obj
Path: salvosrc
File List: init.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: init.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H

Node: inittask.obj
Path: salvosrc
File List: inittask.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: inittask.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

Node: mem.obj
Path: salvosrc
File List: mem.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: mem.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOPRG.H

Node: qins.obj
Path: salvosrc
File List: qins.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: qins.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H

Node: sched.obj
Path: salvosrc
File List: sched.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: sched.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

Node: timer.obj
Path: salvosrc
File List: timer.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: timer.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H

Node: util.obj
Path: salvosrc
File List: util.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: util.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

Node: isr.obj
Path: salvo ut u1
File List: isr.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -DUSE_INTERRUPTS -Isalvo ut u1
Build Tool PICC Compiler

Node: isr.c
Path: salvo ut u1
Dependency List:
salvo ut u1ISR.H
salvo ut u1REG51.H
salvo ut u18051.H
salvo ut u1MSP430X1.H
salvo ut u1IO8515V.H
salvo ut u1F2407_C.H
salvo ut u1SALVO.H
SALVOTUTTU1AVR/SIGNAL.H

Node: msg.obj
Path: salvosrc
File List: msg.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: msg.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

Node: prio.obj
Path: salvosrc
File List: prio.c;
Option String: -O;-Zg9;-DSYSA;-E;-Isalvoinc;
Additional Options: -DMAKE_WITH_SOURCE -Isalvo ut u1
Build Tool PICC Compiler

Node: prio.c
Path: salvosrc
Dependency List:
salvosrcSALVO.H
salvosrcSALVOMCG.H
salvosrcSALVOSCG.H

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