Hello Kirillian,
CodeWarrior Project Wizard allows you to create ready-to-use project. Such project includes:
*) Stack, SDA register, Global/static variables initialization... (__startup.c, Runtime.PPCEABI.v.UC.a)
*) Initialization of HW registers: floating point, SPE, Flash, cache ... (__ppc_eabi_init.c)
*) Init external bus, Reset vector setup, Exception and INTC controller init. (MPC5xx_init.c, Exception.c, IntcInterrupts.c)
*) call main(__startup.c, Runtime.PPCEABI.v.UC.a)
These initialization routines are executed prior to calling main() so main.c doesn't contain any reference to them.
The references are often available in __startup() function which is part of Runtime library included in project by default (e.g. Runtime.PPCEABI.v.UC.a).
I'd recommend you keep all these files within the project otherwise you can get the linker errors due to missing functions.
As far as I know RAppID tool uses it's own initializations that may interfere with default CW project (Interrupt vectors, INTC controller, Flash, ...) So I assume in order to use RAppID generated source files in project generated by CodeWarrior some modifications of default project are needed.
Stanish
Message Edited by stanish on 2009-08-21 10:52 AM