Pumpkin, Inc.

Pumpkin User Forums

Compiler Error - unknown FNREC type "88"

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Compiler Error - unknown FNREC type "88"

Postby michaelb » Thu Jun 03, 2010 5:19 am

Hi,

I'm trying to build a mplab project for PIC16F using the salvo RTOS. I get the following error:

Build C:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4\Test4 for device 16F877
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe

Make: The target "C:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4\mem.p1" is up to date.
Make: The target "C:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4\main.p1" is up to date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" -oTest4.cof -mTest4.map --summary=default,-psect,-class,+mem,-hex --output=default,-inhx032 mem.p1 main.p1 C:\salvo\lib\htpicc\sfp42cab.lib --chip=16F877 -IC:\salvo\src "-IC:\Program Files\HI-TECH Software\PICC\9.70\include" "-IC:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4" -IC:\salvo\inc -P --runtime=default,+clear,+init,-keep,+osccal,-download,-resetbits,+stackcall,+stackwarn,+clib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -D__DEBUG=1 --double=24 --float=24 --addrqual=ignore -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Error [375] ; . unknown FNREC type "88"

********** Build failed! **********


I'm using Salvo-lite v3.2.3, MPLAB v8.50 and Hi-TECH PIC (lite mode) for PIC10/12/16 v9.70.
The PIC I'm using is 16F877 and standard library sfp42cab.lib.

The salvocfg.h file is as follow:
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB

The main c file is as follows:
/************************************************************
SALVO Sample Program
salvotest.c

BASIC SCHEDULLING OF 2 TASKS
************************************************************/
#include <pic.h>
#include <salvo.h>

//*****************( PROTOTYPES )***************************

_OSLabel(TaskA1)
_OSLabel(TaskB1)
_OSLabel(TaskC1)


//*****************( TASKS )********************************

void TaskA(void)
{
for(;;)
{
NOP();
RB1 ^= 1;
OS_Yield(TaskA1);
}
}

void TaskB(void)
{
for(;;)
{
NOP();
RB2 ^= 1;
OS_Yield(TaskB1);
}
}

void TaskC(void)
{
for(;;)
{
NOP();
RB3 ^= 1;
OS_Yield(TaskC1);
}
}



//*****************( MAIN )*********************************

void main(void)
{
TRISB = 0x00;

OSInit();

OSCreateTask(TaskA, OSTCBP(1), 10);
OSCreateTask(TaskB, OSTCBP(2), 10);
OSCreateTask(TaskC, OSTCBP(3), 10);


for(;;)
OSSched();
}

//*****************( OS Idle )*********************************

void OSIdlingHook( void )
{
NOP();
}


I have also included the mem.c source file in the project.


I checked the error message on the Hi-Tech website and all I could find is it's an internal compiler error and to contact Hi-Tech support.

I'm checking here first in case someone has seen this before or maybe I do not have the project configured correctly.

Any help greatly appreciated.
michaelb
 
Posts: 1
Joined: Thu Jun 03, 2010 4:49 am

Re: Compiler Error - unknown FNREC type "88"

Postby nickbungus » Tue Oct 12, 2010 1:10 am

:? Hi

I'm having the same issue. Did you get it sorted? If so, how?

Thanks

Nick
nickbungus
 
Posts: 3
Joined: Tue Oct 12, 2010 1:08 am

Re: Compiler Error - unknown FNREC type "88"

Postby aek » Tue Oct 12, 2010 11:43 am

We'll only be able to resolve this once we've added support for the latest HI-TECH compilers, unfortunately.

We do not have a date for that yet.

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

Re: Compiler Error - unknown FNREC type "88"

Postby nickbungus » Wed Oct 13, 2010 2:31 am

What are the latest version(s) of the Hi-Tech Compilers that you support?
nickbungus
 
Posts: 3
Joined: Tue Oct 12, 2010 1:08 am

Re: Compiler Error - unknown FNREC type "88"

Postby aek » Thu Oct 14, 2010 11:02 am

If I'm not mistaken, it's the 8.x series of the HI-TECH compilers ...
-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Compiler Error - unknown FNREC type "88"

Postby sams_0 » Thu Nov 18, 2010 4:31 pm

Hi, I have the same error but im working with pic16f877a, do you solve it?, If you do can you tell me how.
Saludos.
sams_0
 
Posts: 4
Joined: Thu Nov 18, 2010 4:26 pm

Re: Compiler Error - unknown FNREC type "88"

Postby sams_0 » Thu Nov 18, 2010 4:45 pm

I have the same error, but im using pic16f877a dou you solve it?
sams_0
 
Posts: 4
Joined: Thu Nov 18, 2010 4:26 pm

Re: Compiler Error - unknown FNREC type "88"

Postby aek » Fri Nov 19, 2010 8:51 am

It's not the chip type that is the problem ... it's the compiler.
-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Compiler Error - unknown FNREC type "88"

Postby sams_0 » Fri Nov 19, 2010 12:43 pm

I have the same error, how can it be solved?
sams_0
 
Posts: 4
Joined: Thu Nov 18, 2010 4:26 pm

Re: Compiler Error - unknown FNREC type "88"

Postby sams_0 » Fri Nov 19, 2010 8:45 pm

aek wrote:It's not the chip type that is the problem ... it's the compiler.


how can it be solved?
sams_0
 
Posts: 4
Joined: Thu Nov 18, 2010 4:26 pm


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 3 guests

cron