How run program automatically for MPC5554 after Reset or Power On

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

How run program automatically for MPC5554 after Reset or Power On

ソリューションへジャンプ
2,128件の閲覧回数
Bahus
Contributor I
I work with Wind River Workbench 2.6

I does:
    1. Load program in Internal Flash (0x00004000)
    2. Write RCHW (0x065a) at 0x00004000, because main() placed 0x00004030
    3. Power off
    4. Power on

Program don`t run.
Why?
How work Boot Assist Module Program?
Please help...

P.S
    The Program is correct (running on target by Workbench)
0 件の賞賛
返信
1 解決策
1,153件の閲覧回数
ronco
NXP Employee
NXP Employee
I'm not familiar with using WorkBench but I suspect you can launch the debugger and have the MPC5554 stop at the RESET vector (don't run any initialization code) then read the various registers configured by the Reset Configuration Word data to make sure these registers are indeed getting set properly.  If they are getting set properly, start stepping through your code in flash and see how far you get, but if these registers are not set properly then review your method for programming the RCHW.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,154件の閲覧回数
ronco
NXP Employee
NXP Employee
I'm not familiar with using WorkBench but I suspect you can launch the debugger and have the MPC5554 stop at the RESET vector (don't run any initialization code) then read the various registers configured by the Reset Configuration Word data to make sure these registers are indeed getting set properly.  If they are getting set properly, start stepping through your code in flash and see how far you get, but if these registers are not set properly then review your method for programming the RCHW.
0 件の賞賛
返信