How to execute code from flash after reset?

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

How to execute code from flash after reset?

2,700件の閲覧回数
Tool750
Contributor I
Hello all,
I am trying to program some code that I have written in ICC12 onto a custom pcb with a P&E multilink BDM. The processor is a MC9S12DP512. I can load the code and step through the program with Noice. How do I make it so the code will execute after I remove the BDM and reset the board? I need the board to run without the BDM attached. Thanks for any help.
ラベル(1)
0 件の賞賛
返信
1 返信

761件の閲覧回数
imajeff
Contributor III
I get the information from
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12DP512&nodeId=0162468636K100

specifically the Data Sheet (9S12DP512DGV1)
5.2 shows the Reset Vector, where you can program the address for the MCU to start executing when power is turned on.

I don't have ICC12, but hopefully you can see how to place the start address in that certain location.
0 件の賞賛
返信