Pumpkin, Inc.

Pumpkin User Forums

Problem When Using OS_Delay().......

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®).

Problem When Using OS_Delay().......

Postby aek » Fri Oct 17, 2003 1:04 am

What does your salvocfg.h look like?

My guess is that you have set OSLIBRARY_CONFIG to OSM or OSD, but you need to set it to OSA in order to us sfp42cab.lib ...

The error message occurs because the init module in the library expects to see two queue pointers (OSsigQin|outP) for doing events, but Salvo's mem.c (where the pointers are located) wasn't compiled for events because of the way your salvocfg.h is set up ...

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

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

Re: Problem When Using OS_Delay().......

Postby RobinJacob » Fri Oct 17, 2003 9:08 am

When I try to build my own application with OS_Delay....I get the following dump. I use PIC16F628 Processor.

Deleting intermediary files... done.
Executing: "C:HT-PICBINPICC.EXE" -C -E"Inverter.cce" "Inverter.C" -O"Inverter.obj" -Q -MPLAB -16F628

This compiler will expire in 4 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Executing: "C:HT-PICBINPICC.EXE" -C -E"mem.cce" "mem.c" -O"mem.obj" -Q -MPLAB -16F628

This compiler will expire in 4 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Executing: "C:HT-PICBINPICC.EXE" -E"Inverter.lde" "C:InverterInverter.obj" "C:Invertermem.obj" "C:salvolibhtpiccsfp42cab.lib" -Q -MPLAB -16F628 -O"Inverter.hex"

This compiler will expire in 4 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Error[000] : undefined symbols:
Error[000] : _OSsigQoutP (C:salvolibhtpiccsfp42cab.lib: init.obj)
Error[000] : _OSsigQinP (C:salvolibhtpiccsfp42cab.lib: init.obj)
Error[000] C:salvolibhtpiccsfp42cab.lib(init.obj) 13 : Fixup overflow in expression (loc 0xBA4 (0xB90+20), size 1, value 0x80)
Error[000] C:salvolibhtpiccsfp42cab.lib(init.obj) 13 : Fixup overflow in expression (loc 0xBA6 (0xB90+22), size 1, value 0x80)
Error[000] C:salvolibhtpiccsfp42cab.lib(sched.obj) 17 : Fixup overflow in expression (loc 0xECA (0xEC2+8), size 1, value 0x80)
Error[000] C:salvolibhtpiccsfp42cab.lib(sched.obj) 17 : Fixup overflow in expression (loc 0xED0 (0xEC2+14), size 1, value 0x80)
Error[000] C:salvolibhtpiccsfp42cab.lib(sched.obj) 17 : Fixup overflow in expression (loc 0xEDC (0xEC2+26), size 1, value 0x80)
Error[000] C:salvolibhtpiccsfp42cab.lib(sched.obj) 17 : Fixup overflow in expression (loc 0xF0C (0xEC2+74), size 1, value 0x80)
Error[000] C:salvolibhtpiccsfp42cab.lib(sched.obj) 17 : Fixup overflow in expression (loc 0xF10 (0xEC2+78), size 1, value 0x80)
BUILD FAILED: Wed Oct 01 22:31:05 2003


RobinJacob
 
Posts: 5
Joined: Thu Oct 16, 2003 11:00 pm
Location: Delhi,Delhi,India


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 5 guests

cron