KM Family's NMI pin

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

KM Family's NMI pin

跳至解决方案
1,851 次查看
jun1
Contributor V

I am always indebted.

I use the KM Family's MKM14Z64A.

I have a question about the NMI pin.

I'm switching after reset to use the NMI pin for GPIO.
Also, because we want to disable NMI, we are programming the Flash Option Register NMI_EN = 0.

If the CPU is mounted on a board with this pin pulled down due to hardware reasons and the flash loader is transferred to RAM and executed, it will fail.

After executing all erase commands from the initial state CPU or CMSIS-DAP, it will jump to the NMI vector and runaway.

Moreover, at this time, since the secure bit is also on the secure side immediately after the entire erase, even access is not possible.

Is there any way to write successfully with the NMI pin pulled down?

In my opinion, NMI_EN of Flash Option Register is 0 if NMI is enabled and 1 is prohibited.

Thank you for your instruction.

jun

标签 (1)
0 项奖励
回复
1 解答
1,687 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi jun,

This is the way of how NMI_b working. When NMI_EN=1, NMI_b pin is enabled. When it is 0, NMI_b pin is disabled. Whatever mode you set, NMI_b should connect a pull-up resistor. If you pull down it, you'll meet many trouble.

Regards,

Jing

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,688 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi jun,

This is the way of how NMI_b working. When NMI_EN=1, NMI_b pin is enabled. When it is 0, NMI_b pin is disabled. Whatever mode you set, NMI_b should connect a pull-up resistor. If you pull down it, you'll meet many trouble.

Regards,

Jing

0 项奖励
回复