How to set the enabling address for MC9S12EP100?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set the enabling address for MC9S12EP100?

ソリューションへジャンプ
1,001件の閲覧回数
TingTing
Contributor II

Hi Developer,

I am working on MC9S12EP100 chip. I want to know how to set the enabling address. Dose there several address for choice? How to set it?

Waiting for your help.
Many thanks.

BR, Shi Ting Ting

0 件の賞賛
返信
1 解決策
954件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

I am sorry a well known virus shot me down so...

Yes, it is well known as reset vector. The vector where the address of code (loaded into PC) after reset is stored. The vector table can be found at

lama_0-1609854196586.png

As you can see the start can be also different depending on reset source.

As an example for COP reset I have attached code example.

 

Best regards,

Ladislav

元の投稿で解決策を見る

4 返答(返信)
998件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

what do you mean by enabling address?

As far as I know XEP100 does no have anything in this area.

Could you please refine the question and provide more info what you want to do.

Best regards,

Ladislav

0 件の賞賛
返信
983件の閲覧回数
TingTing
Contributor II

Hi Iama,

I am still waiting for your reply.

How the CPU know which address will be load first? 

I guess, the address stored in 0xFFFE, is the one CPU will load, am I right ?

BR, Shi Ting Ting

0 件の賞賛
返信
994件の閲覧回数
TingTing
Contributor II

Hi Iama,

Thanks for your reply.

The enabling address, for example, my bootloader is locate in 0xC000, so I think the 0xC000 is the enabling address.

BR, Shi Ting Ting 

0 件の賞賛
返信
955件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

I am sorry a well known virus shot me down so...

Yes, it is well known as reset vector. The vector where the address of code (loaded into PC) after reset is stored. The vector table can be found at

lama_0-1609854196586.png

As you can see the start can be also different depending on reset source.

As an example for COP reset I have attached code example.

 

Best regards,

Ladislav