General M5211DEMO question....

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

General M5211DEMO question....

1,215 次查看
CodeDVL
Contributor I
For the stationary code for M5211DEMO  provided in CodeWarrior's IDE, what's the execution sequence after a hardware reset?
标签 (1)
0 项奖励
回复
1 回复

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