Hello
Here is how I would do it:
1- To change the .mcp file name
If you are not using Processor Expert,
Open a Window Explorer
Browse for your project directory
Just rename the .mcp file to anything you wish (make sure to keep the
extension .mcp though).
If you are using Processor Expert,
Open a Window Explorer
Browse for your project directory
Just rename the .mcp, .dsk, .pe & .G_C file to anything you wish (make
sure to use the same base name for the 3 files).
2- To change the Build Target Name
Start the IDE
Open the new project
Open the Target Settings Dialog
In the "Target Settings" Panel Change the name to anything you want.
3- To change the name of the main.c source file
Start the IDE
Open the project
Open the source file main.c in an edit window.
Select File -> Save As and change the source file name. The new source file
will automatically replace the old one in the project.
CrasyCat
Hello
Apparently you have two objects (Symbols) allocated at address 0xFFB0. I cannot tell more from the message.
To investigate what is happening here I would proceed as follows:
- Open the file .map generated in the project bin directory
- Look for a section called "OBJECT LIST SORTED BY ADDRESS" there
- Look at what is allocated at 0xFFB0. You should be able to come up with
something
I hope this helps.
CrasyCat
Hello
Could you possibly provide me with the .map file?
CrasyCat
Hello
OK as far as I can tell you are using ProcessorExpert to generate low level drivers for your application and you are using your own CAN drivers.
Am I right?
The point is that Processor Expert is initializing the whole vector table in vectors.c, so there is an overlap when you are trying to initialize CAN vectors with some other values.
In order to fix the problem do the following:
- Edit the file canhcs12.c
- Make sure that there is no vector number associated with the functions
gCan_TxIntHandler, Can_RxIntHandler, gCan_ErrIntHandler &
gCan_WuIntHandler
Change a line like:
interrupt 39 void gCan_TxIntHandler(void)
into
interrupt void gCan_TxIntHandler(void)
- For each of the interrupt source enumerated above, add an InterruptVector
Bean. Make sure to select the appropriate interrupt vector and specify the
corresponding function name.
Processor Expert will insert the address of the specified function in his vector table.
This should do it.
CrasyCat
Hello
Would need more info to understand what you are looking for.
Which processor are you targeting (HC08, HC12, Coldfire, ...)?
Which version of CodeWarrior are you using? You can retrieve that information selecting Help -> About Metrowerks Code Warrior or Help -> About Freescale CodeWarrior and pressing Installed Products button.
Are you looking for a way to change the name of the executable, generated by CodeWarrior, the name of the build target as it appears in the .mcp window or the name of the mcp (project) file?
CrasyCat