KM Family's NMI pin

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,855件の閲覧回数
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,691件の閲覧回数
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,692件の閲覧回数
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 件の賞賛
返信