How to execute code from flash after reset?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to execute code from flash after reset?

2,686 Views
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.
Labels (1)
0 Kudos
Reply
1 Reply

747 Views
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 Kudos
Reply