General M5211DEMO question....

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

General M5211DEMO question....

880 Views
CodeDVL
Contributor I
For the stationary code for M5211DEMO  provided in CodeWarrior's IDE, what's the execution sequence after a hardware reset?
Labels (1)
0 Kudos
1 Reply

182 Views
UK_CF_FAE
NXP Employee
NXP Employee
Hello CodeDVL,
 
Sorry that your post has been unasnswered for so  long.
To answer your question:
1) I used the M5213EVB demo that comes with CW.
2) It has 3 targets, Console-SRAM, UART-SRAM, UART-FLASH
3) I used the UART-Flash target.
4) Build code
5) Flash program the board using the inbuilt flash programmer on Tools | Flash Programmer
6) Trace code execution.
 
This yields:
HardWare Reset
-> asm_startmeup
jsr mcf5213_init
           calls mcf5213_wtm_init
           calls mcf5213_pll_init
           calls mcf5213_uart_init
           calls mcf5213_allow_interrupts
jmp main
 
 
0 Kudos