DSPRelated.com
Forums

Fstart file

Started by Joe McCarron September 17, 2002
Using CW 4.06. Using a sample project simple_led.mcp

Entry code is Fstart.c

In Fstart.c are variables extern char *_stack_addr, *IntVec,
*Int_Addr;

Where are these variables initially defined?
I’ve searched under my Metrowerks directory and Motorola dir (sdk
stuff) but cant find the File which defines them

Thanks
Joe



Joe McCarron wrote:

> Using CW 4.06. Using a sample project simple_led.mcp
>
> Entry code is Fstart.c
>
> In Fstart.c are variables extern char *_stack_addr, *IntVec,
> *Int_Addr;
>
> Where are these variables initially defined?
> I’ve searched under my Metrowerks directory and Motorola dir (sdk
> stuff) but cant find the File which defines them

Joe,

_stack_addr is defined in the file dsp568_heap_stack.c which can probably be
found in the simple_led project itself.

IntVec and IntAddr are defined in the file init56811.asm that can be found
in the MSL library. To find the project that creates the MSL library that
is included in your project, you can goto:

{install dir}\M56800 Support\MSL_C\DSP_56800\Project

I would recommend that you consider upgrading to R5.0 of the CW for DSP56800
toolset as the stationery and examples are much improved from R3.5 which is
what you are using. Anyways, just something to consider. If interested,
contact our sales team at about upgrade pricing.

HTH,

Ron

--
Do what you do best and let Metrowerks do the rest !!
http://www.metrowerks.com/MW/Services/SSG/default.htm

Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - - http://www.metrowerks.com