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

668件の閲覧回数
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 返答(返信)

485件の閲覧回数
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 件の賞賛
返信

485件の閲覧回数
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 件の賞賛
返信