vector allocator at absolute address 0xfffe overlaps with sections placed in segment.asbseg183

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

vector allocator at absolute address 0xfffe overlaps with sections placed in segment.asbseg183

689 次查看
kernwang
Contributor II

Mcu is MC9S12VR , the IDE is codewarrior 5.9. after i build some code, and active "Make" operation, the IDE alarm me the error as following?

Does anyone can tell me the root cause?

Thanks very much!

149119_149119.jpgImage 1.jpg

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

506 次查看
RadekS
NXP Employee
NXP Employee

Hi Juejie,

The CW informed you that it is confused with the double definition of reset vector.

I suppose that you defined vector table in your code, include of reset vectors (e.g. POR reset vector at 0xFFFE).

In that case, please comment out the redundant definition of POR reset vector in your prm linker file. For example:

//VECTOR 0 _Startup /* reset vector: this is the default entry point for a C/C++ application. */

or you may define a shorter vector table (without POR reset vector).


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

506 次查看
kernwang
Contributor II

Thanks Radek!

As you said i mark the "//VECTOR 0 _Startup /* reset vector: this is the default entry point for a C/C++ application. */"

And make operation is OK now, but  i do not defined the POR reset. I use the initial configuration of MCU. only define the LSx .

It is query.

0 项奖励
回复