Pumpkin, Inc.

Pumpkin User Forums

HI-TECH C hanging with Salvo

If you're having difficulty with Salvo's configuration options, post it here.

HI-TECH C hanging with Salvo

Postby Shizman » Thu Jan 15, 2009 1:17 am

quote:
Originally posted by aek:
HI-TECH C PRO for the PIC10/12/16 MCU family V9.60PL4

This compiler is not yet supported -- only the non-Pro compiler is supported.


When will the PRO compiler be supported?

Also, the non-PRO compiler means the Lite one? If so, I experienced the same problem with this one...I think.

Shizman
 
Posts: 5
Joined: Thu Jan 15, 2009 12:00 am
Location: Hamilton

Re: HI-TECH C hanging with Salvo

Postby Shizman » Thu Jan 15, 2009 1:22 am

quote:
Originally posted by Shizman:
When will the PRO compiler be supported?

Also, the non-PRO compiler means the Lite one? If so, I experienced the same problem with this one...I think.


Ok it does work. Well it gets further with the PICC Lite compiler. Now I get this:

Error [477] ; . fixup overflow in expression (location 0xDA0 (0xD9C+4), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA2 (0xD9C+6), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA4 (0xD9C+8), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA6 (0xD9C+10), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA8 (0xD9C+12), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDAA (0xD9C+14), size 1, value 0x81)
Error [477] ; . fixup overflow in expression (location 0xDAC (0xD9C+16), size 1, value 0x82)
Error [477] ; . fixup overflow in expression (location 0xDAE (0xD9C+18), size 1, value 0x83)
Error [477] ; . fixup overflow in expression (location 0xDB0 (0xD9C+20), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDB2 (0xD9C+22), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEC8 (0xEC0+8), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xECE (0xEC0+14), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xED0 (0xEC0+16), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEDA (0xEC0+26), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEDC (0xEC0+28), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEE6 (0xEC0+38), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEFC (0xEC0+60), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF0A (0xEC0+74), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF0E (0xEC0+78), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF14 (0xEC0+84), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF16 (0xEC0+86), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF18 (0xEC0+88), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF1A (0xEC0+90), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF20 (0xF1E+2), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF2C (0xF1E+14), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF36 (0xF1E+24), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF38 (0xF1E+26), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF40 (0xF1E+34), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF44 (0xF1E+38), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF5A (0xF1E+60), size 1, value 0x80)
Advisory[1] too many errors (31)

Shizman
 
Posts: 5
Joined: Thu Jan 15, 2009 12:00 am
Location: Hamilton

Re: HI-TECH C hanging with Salvo

Postby Shizman » Thu Jan 15, 2009 1:30 am

quote:
Originally posted by Shizman:
Ok it does work. Well it gets further with the PICC Lite compiler. Now I get this:

Error [477] ; . fixup overflow in expression (location 0xDA0 (0xD9C+4), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA2 (0xD9C+6), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA4 (0xD9C+8), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA6 (0xD9C+10), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA8 (0xD9C+12), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDAA (0xD9C+14), size 1, value 0x81)
Error [477] ; . fixup overflow in expression (location 0xDAC (0xD9C+16), size 1, value 0x82)
Error [477] ; . fixup overflow in expression (location 0xDAE (0xD9C+18), size 1, value 0x83)
Error [477] ; . fixup overflow in expression (location 0xDB0 (0xD9C+20), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDB2 (0xD9C+22), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEC8 (0xEC0+8), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xECE (0xEC0+14), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xED0 (0xEC0+16), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEDA (0xEC0+26), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEDC (0xEC0+28), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEE6 (0xEC0+38), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEFC (0xEC0+60), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF0A (0xEC0+74), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF0E (0xEC0+78), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF14 (0xEC0+84), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF16 (0xEC0+86), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF18 (0xEC0+88), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF1A (0xEC0+90), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF20 (0xF1E+2), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF2C (0xF1E+14), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF36 (0xF1E+24), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF38 (0xF1E+26), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF40 (0xF1E+34), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF44 (0xF1E+38), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF5A (0xF1E+60), size 1, value 0x80)
Advisory[1] too many errors (31)


Sorry to keep posting, but I think this one is more important. Before all the fixup errors, it's actually printing this:

Error [500] ; . undefined symbols:
_OSsigQinP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OScTcbP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSsigQoutP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSlostTicks (C:salvolibhtpiccsfp42cab.lib: init.obj)_OStimerTicks (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSdelayQP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSeligQP (C:salvolibhtpiccsfp42cab.lib: init.obj)

Shizman
 
Posts: 5
Joined: Thu Jan 15, 2009 12:00 am
Location: Hamilton

Re: HI-TECH C hanging with Salvo

Postby Shizman » Thu Jan 15, 2009 12:19 pm

Hi guys,

I'm using MPLAB 8.10 and have the HI-TECH C compiler installed. This compiles other projects fine until I try to do a basic Salvo project.

I turned on verbose output and see this (and then nothing...it hangs at this part):

Executing: "C:Program FilesHI-TECH SoftwarePICCPRO9.60inpicc.exe" -oSalvoTest.cof -mSalvoTest.map --summary=default,-psect,-class,+mem,-hex --output=default,-inhx032 main.p1 C:salvolibhtpiccsfp42cab.lib --chip=16F877 -IC:ProjectsPICSalvoTest -IC:salvoinc -P --runtime=default,+clear,+init,-keep,+osccal,-download,-resetbits,+stackcall,+stackwarn,+clib --opt=default,+asm,9 -v --warn=0 --double=24 -DMAKE_WITH_FREE_LIB -DSYSA -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
HI-TECH C PRO for the PIC10/12/16 MCU family V9.60PL4
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Sat, 07 Mar 2009

I have a simple main.c and main.h as well as the salvocfg.h file in my project directory. If I leave it alone, it never recovers and I have to kill the picc.exe process.

Any ideas?

Shizman
 
Posts: 5
Joined: Thu Jan 15, 2009 12:00 am
Location: Hamilton

Re: HI-TECH C hanging with Salvo

Postby aek » Thu Jan 15, 2009 12:29 pm

HI-TECH C PRO for the PIC10/12/16 MCU family V9.60PL4

This compiler is not yet supported -- only the non-Pro compiler is supported.

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

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

Re: HI-TECH C hanging with Salvo

Postby Shizman » Fri Jan 16, 2009 5:51 am

quote:
Originally posted by Shizman:
Sorry to keep posting, but I think this one is more important. Before all the fixup errors, it's actually printing this:

Error [500] ; . undefined symbols:
_OSsigQinP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OScTcbP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSsigQoutP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSlostTicks (C:salvolibhtpiccsfp42cab.lib: init.obj)_OStimerTicks (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSdelayQP (C:salvolibhtpiccsfp42cab.lib: init.obj)_OSeligQP (C:salvolibhtpiccsfp42cab.lib: init.obj)



And here's my main.c:

#include "main.h"
#include "salvo.h"

void main( void )
{
Init();

OSInit();

for (;
OSSched();
}

Shizman
 
Posts: 5
Joined: Thu Jan 15, 2009 12:00 am
Location: Hamilton

Re: HI-TECH C hanging with Salvo

Postby aek » Fri Jan 16, 2009 8:35 am

The compiler (linker, actually) is unable to extract the relevant files from the Salvo library ...

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

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

Re: HI-TECH C hanging with Salvo

Postby steve666 » Fri May 29, 2009 1:11 am

include salvosrcmem.c see app note AN-26 page 3 without mem.c you get the overflow errors

quote:
Originally posted by Shizman:
Ok it does work. Well it gets further with the PICC Lite compiler. Now I get this:

Error [477] ; . fixup overflow in expression (location 0xDA0 (0xD9C+4), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA2 (0xD9C+6), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA4 (0xD9C+8), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA6 (0xD9C+10), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDA8 (0xD9C+12), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDAA (0xD9C+14), size 1, value 0x81)
Error [477] ; . fixup overflow in expression (location 0xDAC (0xD9C+16), size 1, value 0x82)
Error [477] ; . fixup overflow in expression (location 0xDAE (0xD9C+18), size 1, value 0x83)
Error [477] ; . fixup overflow in expression (location 0xDB0 (0xD9C+20), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xDB2 (0xD9C+22), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEC8 (0xEC0+8), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xECE (0xEC0+14), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xED0 (0xEC0+16), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEDA (0xEC0+26), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEDC (0xEC0+28), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEE6 (0xEC0+38), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xEFC (0xEC0+60), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF0A (0xEC0+74), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF0E (0xEC0+78), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF14 (0xEC0+84), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF16 (0xEC0+86), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF18 (0xEC0+88), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF1A (0xEC0+90), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF20 (0xF1E+2), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF2C (0xF1E+14), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF36 (0xF1E+24), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF38 (0xF1E+26), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF40 (0xF1E+34), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF44 (0xF1E+38), size 1, value 0x80)
Error [477] ; . fixup overflow in expression (location 0xF5A (0xF1E+60), size 1, value 0x80)
Advisory[1] too many errors (31)


steve666
 
Posts: 1
Joined: Thu May 28, 2009 11:00 pm


Return to Configuration

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron