How to execute code from flash after reset?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to execute code from flash after reset?

2,703 次查看
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 回复

764 次查看
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 项奖励
回复