MK12DX256VLK5 POR problem

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

MK12DX256VLK5 POR problem

366 次查看
larrydemuth
Contributor III

I'm using the above micro and it doesn't seem to come out of reset on a power up. I can load and debug code using JTAG (JTAG reset works). But when I power cycle the board the micro seems stuck in reset. The board has a reset button connected to RESET_b and this will reset the micro and everything is fine. What would cause the micro to not come out of POR on power up?

I've been using other Kinetis micros for many (many) years and never had this problem. I'm stumped!

Vcc = 2.9V so should be high enough.

0 项奖励
回复
1 回复

332 次查看
larrydemuth
Contributor III

Never mind, I found the problem. PTA4 (NMI) was being used as an input from another IC, and the pin was low on power up, causing an NMI interrupt. I set last word in the CFM PROT to 0xfffff9fe to disable NMI and EZPORT, it was 0xfffffffe.

The board now boots on power up.

0 项奖励
回复