mpc5554 new target problem
"scuthbertf" <[email protected]> 15 Apr 2007 17:13:20 -0700
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Using latest version of RappID and CW MPC5554 I made a project that used a default 'Simple' target -- created a couple of interrupts. Program runs and tests OK after I found that latest version of RappID has a bug where IFEER register code is written 2X and not once for IFEER and once for IREER! Now I wanted to write and construct a new target to install into flash as self executing program. After creating the new target 'internal flash' I then took all the original source files and added them to the 'link order' page: these included all the src and hdr files and main.c as well as some RappID generated files such as mpc5554.h, rappid_ref.h, rappid_utils.c, handlers.s, vector_table.s, and rappid_func.s. I also added in some library files rom installDIr/PowerPC_EABI_Support/Runtime/ : MSL_C.PPCEABI.bare.E.UC.a and __ppc_eabi_init.c. The linker complained about undefined start symbol so I added in __start.c. Now I get the following warnings and errors: 1. no linker command for .uvects section -- vector_table.s shows the following: .section .uvects,4,1,6 ( a section called .uvects but what is 4,1,6? 2. FORCEACTIVE symbols bam_rchw and bam_resetvector are warnings about not found 3. 4 link errors for memcpy, memset, __init_cpp_exceptions, and __fini_cpp_exceptions Am I incorporating the correct libraries? The documentation for creating a new target/project is really bad and/or non-existant!! Any help or discussion would be great, and it would be a lot better that what I getting from support for CodeWarrior.