DSPRelated.com
Forums

tasks setting in DSP/BIOS-URGENT!!!!!

Started by balasubramanian vaidhyanathan September 23, 2008
Hi

I am trying to figure out how to set up tasks in DSP/BIOS. My code is as below


#include
#include
#include
#include
#include
#include
#include
#include "lab1cfg.h"

Uns counts_per_us;
void our_task();
extern LOG_Obj trace;

/* ======== main ======== */
int main()
{
LOG_printf(&trace, "Slice example started!");
counts_per_us = CLK_countspms() / 1000;
SEM_post(&sem);
return;
}
void our_task()
{
while(1)
{
SEM_pend(&sem,SYS_FOREVER);
LOG_printf(&trace,"Called once \n");
SEM_pend(&sem,SYS_FOREVER);
LOG_printf(&trace,"called twice \n");
}
}


I opened to the cdb file and opened the TSK under Scheduling and inserted a task TSK0 and connected it to function _our_task and 0 arguments and priority 1. Now when i compile this code it says it cannot link this function... What am i doing wrong... This is urgent... can you please help me in compling this code.....

balasubramanian,

There is absolutely no reason to be calling any of the semaphore functions in
this file.

If the code is trying to wait for a while, then use sleep()

Also, the 'sem' variable is not defined, so the source never compiled.
That is why it will not link

R. Williams

---------- Original Message -----------
From: balasubramanian vaidhyanathan
To: c...
Sent: Tue, 23 Sep 2008 09:05:35 -0700 (PDT)
Subject: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!

> Hi
>
> I am trying to figure out how to set up tasks in DSP/BIOS. My code
> is as below
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
>
>
> I opened to the cdb file and opened the TSK under Scheduling and
> inserted a task TSK0 and connected it to function _our_task and 0
> arguments and priority 1. Now when i compile this code it says it
> cannot link this function... What am i doing wrong... This is
> urgent... can you please help me in compling this code.....
------- End of Original Message -------
Balasubramanian-

> I am trying to figure out how to set up tasks in DSP/BIOS. My code is as below
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
> I opened to the cdb file and opened the TSK under Scheduling and inserted
> a task TSK0 and connected it to function _our_task and 0 arguments and
> priority 1. Now when i compile this code it says it cannot link this
> function... What am i doing wrong... This is urgent... can you please
> help me in compling this code.....

What is the exact error message?

-Jeff
Jeff

The error is

undefined symbol

_our_task \Debug\lab1cfg.out
lab1 was my project name... I opened the lab1.cdb file and added this function as _our_task to the TSK0 that was inserted as task to the scheduling option. It does not recognise the our_task for whatever reason.....

--- On Tue, 9/23/08, Jeff Brower wrote:
From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"
Cc: c...
Date: Tuesday, September 23, 2008, 11:54 AM

Balasubramanian-

> I am trying to figure out how to set up tasks in DSP/BIOS. My code is
as below
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
> I opened to the cdb file and opened the TSK under Scheduling and inserted
> a task TSK0 and connected it to function _our_task and 0 arguments and
> priority 1. Now when i compile this code it says it cannot link this
> function... What am i doing wrong... This is urgent... can you please
> help me in compling this code.....

What is the exact error message?

-Jeff
Here is the lab1cfg.h62 file

;; Do *not* directly modify this file. It was
;; generated by the Configuration Tool; any
;; changes risk being overwritten.
;; INPUT lab1.cdb
;; CONFIGURATION/VERSION INFORMATION
.asg "lab1.cdb", VERS$CDB
.asg ";", VERS$CDBRELATIVEPATH
.asg "lab1cfg", VERS$CFG
.asg "@(#)*** xdc-c38", VERS$TREE
;; EXTERNAL REFERENCES
.globalsegment_name
.globalHWI_unused
.globalRESERVED
.global_FXN_F_nop
.global_CLK_start6x
.globalFXN_F_nop
.globalFXN_F_zero
.globalHWI_F_dispatch
.globalCLK_F_frete
.globalCLK_F_rete
.globalCLK_F_isr
.globalCLK_A_TABBEG
.globalCLK_F_getltime
.globalCLK_F_getBIOStime
.globalCLK_F_getfhtime
.globalCLK_F_getshtime
.globalPRD_F_tick
.globalPRD_F_swi
.global_KNL_tick
.globalLNK_F_dataPump
.globalRTA_F_dispatch
.global_RTDX_Poll
.global_HSRTDX_xmt
.global_HSRTDX_rec
.globalGBL_stackbeg
.global_c_int00
.globalSWI_F_iexec
.globalSWI_F_run
.globalGBL_NULL
.global__HOOK_doCreate
.global__HOOK_doDelete
.global__HOOK_doExit
.global__HOOK_doSwitch
.global__HOOK_doReady
.globalnull
.globalIDL_F_loop
.global_KNL_run
.globalIDL_F_stub5502
.globalIDL_F_stub
.globalIDL_F_calibrate5502
.globalIDL_F_calibrate
.globalIDL_F_busy
.global_UTL_doPutc
.global_UTL_doAbort
.global_UTL_doError
.global_UTL_halt
.global_SEM_create
.global_SEM_delete
.global_SEM_pend
.global_SEM_post
.global_DGN_printFloat
.global_DGN_printHex
.global_DGN_printInt
.globalDGN_CONST
.globalDGN_RAND
.globalDGN_SINE
.globalDGN_USER
.global_DGN_FXNS
.global_DHL_notify
.global_DHL_FXNS
.global_DPI_FXNS
.global_DIO_cbStaticFxns
.global_DIO_tskStaticFxns
.global_DIO_cbDynamicFxns
.global_DIO_tskDynamicFxns
.global_DIO_init
.global_our_task
;; MODULE PARAMETERS
GBL$ .set 1
GBL_ROM .set 00H
GBL_BIGENDIAN .set 00H
GBL_USERINIT .set 00H
GBL_ENABLEINST .set 01H
GBL_CACHE .set 00H
GBL_L2CONFIGURE .set 01H
GBL_L2MODE .set 00H
GBL_L2PRIORITY .set 00H
GBL_L2MARMASK .set 00H
GBL_SUPPORTCSL .set 01H
GBL_TRCMASKVALUE .set 0dbefH
GBL_CALLCSLCFGINIT .set 01H
GBL_C641XL2PRIORITY .set 00H
GBL_L2MARMASK1 .set 00H
GBL_L2MARMASK2 .set 00H
GBL_L2MARMASK3 .set 00H
GBL_L2MARMASK4 .set 00H
GBL_L2MARMASK5 .set 00H
GBL_L2CONFIGALLOC .set 00H
GBL_L2ALLOC .set 02226H
MEM$ .set 1
MEM_gNumHeap .set 01H
OBJ$ .set 0
BUF$ .set 0
BUF_ENABLED .set 01H
CLK$ .set 1
CLK_INTBIT .set 04000H
CLK_REGS .set 01940000H
CLK_TIMERNUM .set 00H
CLK_USETIMER .set 01H
CLK_TCR .set 020H
CLK_TDDR .set 00H
CLK_TDDRHIGH .set 00H
CLK_PRD .set 0124f8H
CLK_PRDHIGH .set 01H
CLK_COUNTSPMS .set 0124f8H
CLK_COUNTSPMSHIGH .set 01H
PRD$ .set 1
PRD_SCALAR .set 04000H
RTDX$ .set 1
RTDX_USERTDX .set 01H
RTDX_USERTEXECUTION .set 00H
RTDX_BUFMEMSIZE .set 0408H
HST$ .set 1
HST_RTDX .set 01H
HST_DSM .set 00H
HST_NONE .set 00H
HST_MAXFRAMESET .set 040H
HST_MAXFRAMEALLOWED .set 0100H
HST_DSMMEMSIZE .set 0400H
HWI$ .set 1
HWI_ZEROTAB .set 01H
HWI_GENERATE_RESET_VEC .set 00H
HWI_POLARITYMASK .set 00H
HWI_INTRMULTLOW .set 0250718a4H
HWI_INTRMULTHIGH .set 082039a3H
SWI$ .set 1
TSK$ .set 1
TSK_STACKSIZE .set 0400H
TSK_PRIORITY .set 01H
TSK_SWITCHFXN .set 00H
TSK_READYFXN .set 00H
TSK_NUM_HOOKS .set 00H
IDL$ .set 1
IDL_USECLKIDLTIME .set 01H
ISRC$ .set 1
LOG$ .set 1
LOG_ENABLED .set 01H
PIP$ .set 0
PIP_gNumEmbed .set 02H
PIP_gNextId .set 00H
SEM$ .set 1
MBX$ .set 0
QUE$ .set 1
LCK$ .set 1
SIO$ .set 0
STS$ .set 1
SYS$ .set 1
GIO$ .set 0
DEV$ .set 0
UDEV$ .set 0
DGN$ .set 0
DHL$ .set 0
DHL_gChannelsAvailable .set 00H
DPI$ .set 0
HOOK$ .set 0
HOOK_KNLID .set 00H
DIO$ .set 0
DIO_STATIC .set 00H
DIO_NUMTSKBASE .set 00H
DIO_NUMSWIBASE .set 00H
DEV$NUMDEVICES .set 0


Note that it has _our_task in the list of functions. This is part of the include files.... Still i get this compile error...


regards
Bala

--- On Tue, 9/23/08, Jeff Brower wrote:

From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"
Cc: c...
Date: Tuesday, September 23, 2008, 11:54 AM

Balasubramanian-

> I am trying to figure out how to set up tasks in DSP/BIOS. My code is
as below
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
> I opened to the cdb file and opened the TSK under Scheduling and inserted
> a task TSK0 and connected it to function _our_task and 0 arguments and
> priority 1. Now when i compile this code it says it cannot link this
> function... What am i doing wrong... This is urgent... can you please
> help me in compling this code.....

What is the exact error message?

-Jeff
balasubramanian,

This could be a 'forward reference' problem.

A possible fix is to move the our_task() declaration before the
#include "lab1cfg.h"

R. Williams
---------- Original Message -----------
From: balasubramanian vaidhyanathan
To: Jeff Brower
Cc: c...
Sent: Tue, 23 Sep 2008 10:14:40 -0700 (PDT)
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!

> Jeff
>
> The error is
>
> undefined symbol
>
> _our_task \Debug\lab1cfg.out
>
> lab1 was my project name... I opened the lab1.cdb file and added this
> function as _our_task to the TSK0 that was inserted as task to the
> scheduling option. It does not recognise the our_task for whatever
> reason.....
>
> --- On Tue, 9/23/08, Jeff Brower wrote:
> From: Jeff Brower
> Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
> To: "Balasubramanian Vaidhyanathan"
> Cc: c...
> Date: Tuesday, September 23, 2008, 11:54 AM
>
> Balasubramanian-
>
> > I am trying to figure out how to set up tasks in DSP/BIOS. My code is
> as below
> >
> >
> > #include
> > #include
> > #include
> > #include
> > #include
> > #include
> > #include
> > #include "lab1cfg.h"
> >
> > Uns counts_per_us;
> > void our_task();
> > extern LOG_Obj trace;
> >
> > /* ======== main ======== */
> > int main()
> > {
> > LOG_printf(&trace, "Slice example started!");
> > counts_per_us = CLK_countspms() / 1000;
> > SEM_post(&sem);
> > return;
> > }
> > void our_task()
> > {
> > while(1)
> > {
> > SEM_pend(&sem,SYS_FOREVER);
> > LOG_printf(&trace,"Called once \n");
> > SEM_pend(&sem,SYS_FOREVER);
> > LOG_printf(&trace,"called twice \n");
> > }
> > }
> >
> >
> > I opened to the cdb file and opened the TSK under Scheduling and inserted
> > a task TSK0 and connected it to function _our_task and 0 arguments and
> > priority 1. Now when i compile this code it says it cannot link this
> > function... What am i doing wrong... This is urgent... can you please
> > help me in compling this code.....
>
> What is the exact error message?
>
> -Jeff
------- End of Original Message -------
Balasubramanian-

> Infact below is the error
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _our_task C:\CCStudio_v3.1\MyProjects\lab1\Debug\lab1cfg.obj

Richard points out that lab1cfg.obj probably didn't compile. Do you see a
lab1cfg.obj file? Does it have today's date and time? Is lab1cfg.c listed in your
source view window?

-Jeff

--- On Tue, 9/23/08, Jeff Brower wrote:

From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"
Cc: c...
Date: Tuesday, September 23, 2008, 11:54 AM

Balasubramanian-

> I am trying to figure out how to set up tasks in DSP/BIOS. My code is
as below
>
>
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
>
>
> I opened to the cdb file and opened the TSK under Scheduling and inserted
> a task TSK0 and connected it to function _our_task and 0 arguments and
> priority 1. Now when i compile this code it says it cannot link this
> function... What am i doing wrong... This is urgent... can you please
> help me in compling this code.....

What is the exact error message?

-Jeff
lab1cfg.obj got created... what i notice is this in lab1.map it says _our_task is undefined

address name
------------


0000d020 _memcpy
UNDEFED _our_task
0000cda4 _our_task__Fv
0000f52c _rtdx_buffer_state
0000f54c _rtdx_mon_state


Do you see as UNDEFED... This is what i see in the map of lab1.map...


Please let me know....

--- On Tue, 9/23/08, Jeff Brower wrote:

From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"
Cc: c...
Date: Tuesday, September 23, 2008, 12:44 PM

Balasubramanian-

> Infact below is the error
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _our_task
C:\CCStudio_v3.1\MyProjects\lab1\Debug\lab1cfg.obj

Richard points out that lab1cfg.obj probably didn't compile. Do you see a
lab1cfg.obj file? Does it have today's date and time? Is lab1cfg.c listed
in your
source view window?

-Jeff

--- On Tue, 9/23/08, Jeff Brower wrote:

From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"

Cc: c...
Date: Tuesday, September 23, 2008, 11:54 AM

Balasubramanian-

> I am trying to figure out how to set up tasks in DSP/BIOS. My
code is
as below
>
>
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
>
>
> I opened to the cdb file and opened the TSK under Scheduling and
inserted
> a task TSK0 and connected it to function _our_task and 0 arguments
and
> priority 1. Now when i compile this code it says it cannot link this
> function... What am i doing wrong... This is urgent... can you
please
> help me in compling this code.....

What is the exact error message?

-Jeff
Balasubramanian-

> lab1cfg.obj got created... what i notice is this in lab1.map it says _our_task is undefined
>
> address name
> -------- ----
>
>
> 0000d020 _memcpy
> UNDEFED _our_task
> 0000cda4 _our_task__Fv
> 0000f52c _rtdx_buffer_state
> 0000f54c _rtdx_mon_state

Does "_sem" show in the .map file? If not then you are looking at the wrong
lab1cfg.obj file.

-Jeff

--- On Tue, 9/23/08, Jeff Brower wrote:

From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"
Cc: c...
Date: Tuesday, September 23, 2008, 12:44 PM

Balasubramanian-

> Infact below is the error
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _our_task
C:\CCStudio_v3.1\MyProjects\lab1\Debug\lab1cfg.obj

Richard points out that lab1cfg.obj probably didn't compile. Do you see a
lab1cfg.obj file? Does it have today's date and time? Is lab1cfg.c listed
in your
source view window?

-Jeff

--- On Tue, 9/23/08, Jeff Brower wrote:

From: Jeff Brower
Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
To: "Balasubramanian Vaidhyanathan"

Cc: c...
Date: Tuesday, September 23, 2008, 11:54 AM

Balasubramanian-

> I am trying to figure out how to set up tasks in DSP/BIOS. My
code is
as below
>
>
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include "lab1cfg.h"
>
> Uns counts_per_us;
> void our_task();
> extern LOG_Obj trace;
>
> /* ======== main ======== */
> int main()
> {
> LOG_printf(&trace, "Slice example started!");
> counts_per_us = CLK_countspms() / 1000;
> SEM_post(&sem);
> return;
> }
> void our_task()
> {
> while(1)
> {
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"Called once \n");
> SEM_pend(&sem,SYS_FOREVER);
> LOG_printf(&trace,"called twice \n");
> }
> }
>
>
> I opened to the cdb file and opened the TSK under Scheduling and
inserted
> a task TSK0 and connected it to function _our_task and 0 arguments
and
> priority 1. Now when i compile this code it says it cannot link this
> function... What am i doing wrong... This is urgent... can you
please
> help me in compling this code.....

What is the exact error message?

-Jeff
Balasubramanian-
> I was talking of .map file and i find _sem defined with an address properly.....
>
> Did you have a look at the GUI?....

No point, your GUI is not the issue. If the .map file shows '_sem' but not
'_our_task' then you have a mismatch. Either Richard is correct -- your lab1cfg.c
file does not compile because "sem" is not declared -- or you should show where sem
is declared.

This is a basic compile/link issue. My guess is that another group did this lab
before you and somehow you've got a mix of old and new files, or a filename has been
changed, or other mismatch. Be sure to try "Build All" option.

-Jeff
> Jeff Brower wrote:
>
> Balasubramanian-
>
> > lab1cfg.obj got created... what i notice is this in lab1.map it says
> _our_task is undefined
> >
> > address name
> > -------- ----
> >
> >
> > 0000d020 _memcpy
> > UNDEFED _our_task
> > 0000cda4 _our_task__Fv
> > 0000f52c _rtdx_buffer_state
> > 0000f54c _rtdx_mon_state
>
> Does "_sem" show in the .map file? If not then you are looking at the
> wrong
> lab1cfg.obj file.
>
> -Jeff
>
> --- On Tue, 9/23/08, Jeff Brower wrote:
>
> From: Jeff Brower
> Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
> To: "Balasubramanian Vaidhyanathan"
> Cc: c...
> Date: Tuesday, September 23, 2008, 12:44 PM
>
> Balasubramanian-
>
> > Infact below is the error
> >
> > undefined first referenced
> > symbol in file
> > --------- ----------------
> > _our_task
> C:\CCStudio_v3.1\MyProjects\lab1\Debug\lab1cfg.obj
>
> Richard points out that lab1cfg.obj probably didn't compile. Do you see a
>
> lab1cfg.obj file? Does it have today's date and time? Is lab1cfg.c listed
>
> in your
> source view window?
>
> -Jeff
>
> --- On Tue, 9/23/08, Jeff Brower wrote:
>
> From: Jeff Brower
> Subject: Re: [c6x] tasks setting in DSP/BIOS-URGENT!!!!!
> To: "Balasubramanian Vaidhyanathan"
>
> Cc: c...
> Date: Tuesday, September 23, 2008, 11:54 AM
>
> Balasubramanian-
>
> > I am trying to figure out how to set up tasks in DSP/BIOS. My
> code is
> as below
> >
> >
> > #include
> > #include
> > #include
> > #include
> > #include
> > #include
> > #include
> > #include "lab1cfg.h"
> >
> > Uns counts_per_us;
> > void our_task();
> > extern LOG_Obj trace;
> >
> > /* ======== main ======== */
> > int main()
> > {
> > LOG_printf(&trace, "Slice example started!");
> > counts_per_us = CLK_countspms() / 1000;
> > SEM_post(&sem);
> > return;
> > }
> > void our_task()
> > {
> > while(1)
> > {
> > SEM_pend(&sem,SYS_FOREVER);
> > LOG_printf(&trace,"Called once \n");
> > SEM_pend(&sem,SYS_FOREVER);
> > LOG_printf(&trace,"called twice \n");
> > }
> > }
> >
> >
> > I opened to the cdb file and opened the TSK under Scheduling and
> inserted
> > a task TSK0 and connected it to function _our_task and 0 arguments
> and
> > priority 1. Now when i compile this code it says it cannot link this
> > function... What am i doing wrong... This is urgent... can you
> please
> > help me in compling this code.....
>
> What is the exact error message?
>
> -Jeff