Pumpkin, Inc.

Pumpkin User Forums

What the....!!

For issues specific to TI's MSP430 line of ultra-low-power microcontrollers, including compilers (e.g. Quadravox AQ430), IDEs (e.g. IAR Embedded Workbench) and development tools (e.g. TI MSP-FET430 Flash Emulation Tool).

What the....!!

Postby Tamer » Wed Feb 19, 2003 3:50 am

Having followed the instructions, carefully this time, Salvo is still not very happy and will not compile the project.

I am getting the following error message:

!E sched.s(0); undefined symbol '_OSIdlingHook'

and when I click on the error message, I get a pop-up window saying....

"File "c: empsched.s" does not exit


I'm beginning to run out of time and patience with this kernel. Time is ticking much faster now than a couple of days ago when I first looked at adopting Salvo.

I really don't know what next!

Any ideas??

tamer@technologyfusion.co.uk
Tamer
 
Posts: 4
Joined: Mon Feb 17, 2003 12:00 am

Re: What the....!!

Postby Salvo Tech Support » Wed Feb 19, 2003 8:31 am

Hi Tamer.

When building applications with Salvo libraries in v3.1.0, you need to explicitly define your own OSIdlingHook() function, e.g. like this:

code:
void OSIdlingHook ( void )
{
;
}

The need to define OSIdlingHook() is noted in the Libraries chapter of the Salvo User Manual under "Library Functionality".

Recognizing that this has been a problem, we've fixed this in the v3.1.1 releases by including a default OSIdlingHook() function in the library. Salvo for MSP430 has not yet been updated to this version.

quote:
and when I click on the error message, I get a pop-up window saying....

"File "c: empsched.s" does not exit


That's because the error is associated with a library module built from source code, which Salvo Lite doesn't include.

Create an OSIdlingHook() function and you'll be good to go.

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: What the....!!

Postby Salvo Tech Support » Wed Feb 19, 2003 8:34 am

Just as a general tip on debugging ...

The Salvo tutorials build without errors. In a situation like this one, comparing what's in a (working) tutorial project and what's in a non-working project may give clues as to the build errors.

In this case, the tutorials define an OSIdlingHook() function, and that might catch your eye ...

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: What the....!!

Postby Tamer » Thu Feb 20, 2003 2:48 am

OK. ok.

I take it all back

The OSIdlingHook()
{

}

was in fact there all the time. However, it was encapsulated by a

#if defined (MAKE_WITH_TINY_LIB) || (MAKE_WITH_SE_LIB)
.
.
.
and #endif


I may have placed the preprocessor instructions there initially, in an effort, as a rookie, to resolve the teething problems I'm experiencing.

So. Now it's time to put Salvo to the test.

Thank you for the speedy tecchie support Salvo/Pumpkin.

Regards,

Tamer.

tamer@technologyfusion.co.uk
Tamer
 
Posts: 4
Joined: Mon Feb 17, 2003 12:00 am

Re: What the....!!

Postby aek » Wed Mar 05, 2003 9:44 am

Hi Tamer.

How's your test w/Salvo going?

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

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

Re: What the....!!

Postby Tamer » Thu Mar 06, 2003 2:23 am

Hi,

I'm in the process of laying out my PC Board. Once I complete it and send it off to have it made up, I will return to Salvo to investigate its' potential further.

I'll keep you posted.

Cheers.

tamer@technologyfusion.co.uk
Tamer
 
Posts: 4
Joined: Mon Feb 17, 2003 12:00 am


Return to TI's MSP430

Who is online

Users browsing this forum: No registered users and 1 guest

cron