RS08 build Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RS08 build Error

1,707 Views
sonchaimalaicha
Contributor I

Hi All,

I have try to recompile the code but that it show error in attachment.

Any body known, what am i wrong please advice.

 

Thanks.

Sonchai M.

Labels (1)
0 Kudos
Reply
3 Replies

1,586 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Sonchai

Looks like you have missing some file

This is a sample code?

where did you get it?

Regards

Vicente

0 Kudos
Reply

1,586 Views
sonchaimalaicha
Contributor I

Hi Vicente,

Thanks for reply.

This is not sample code. so my previous engineer write on code warrior v6.3.

So i'm try to import to new version v10.6 but complied still not success.

So If i skip the command to define : static const unsigned char JMPOpcode  @0x3FFD = 0xBC;  // Opcode of JMP extended

the compile has successful build. but still fail as below.

Capture1.PNG

Do you have any advice?

Thanks

Sonchai M.

0 Kudos
Reply

1,586 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Sonchai,

Which steps did you follow to migrate your project? The cleanest way to migrate a classic project to CodeWarrior eclipse is to create a new project in CodeWarrior 10.6 and then copy your source files to it. Here is a document that explains in detail how to do this:

http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4727.pdf

By looking at the error it seems like your project has a duplicated definition for a vector, make sure that you only declare the interrupt vectors (and reset vector) in a single place, in CodeWarrior the reset vector is defined using the below line in the *.prm file:

VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */

Let me know if it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply