change mpc5746r code addr

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

change mpc5746r code addr

1,478件の閲覧回数
新股老菜
Contributor II

Hi

 Below the project. i want to start form core1 and SW  place in 0XFA0000,when i use T32 to debug,it can running .but disconnect the T32 and power on again, it can't run(can use the t32 attach function to check the core1 is resetting)

0 件の賞賛
返信
2 返答(返信)

1,363件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Your RCHW looks correct.

If you are able to boot first time and get out of BAF to your startup then its ok.

Do you disable SWT_1 or do you service it?

Because I can see from your startup that SWT_1 disable is conditioned as follow:

#if defined(DISABLE_SWT1)

It looks like enabled and not serviced SWT_1 is causing your resets.

Peter

0 件の賞賛
返信

1,363件の閲覧回数
jamesmurray
Contributor V

I had a quick look in your code.

The created ELF file has the following:

Contents of section .rchw:
 f9c000 005a0008                             .Z..            
Contents of section .cpu1_reset_vector:
 f9c014 00fa0000                             ....            
Contents of section .startup:
 fa0000 709fe405 7088c000 70780520 54640010  p...p...px. Td..

I compared to code I have and it looks ok I think?

James

0 件の賞賛
返信