RS08 build Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RS08 build Error

1,777 次查看
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.

标签 (1)
0 项奖励
回复
3 回复数

1,656 次查看
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 项奖励
回复

1,656 次查看
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 项奖励
回复

1,656 次查看
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 项奖励
回复