KM Family's NMI pin

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

KM Family's NMI pin

Jump to solution
845 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
681 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
682 Views
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 Kudos
Reply