KEAZ64 Disable NMI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KEAZ64 Disable NMI

1,056件の閲覧回数
1915135412
Contributor I

could i disable the NMI interrupt  after system reset ,before into the main function.

like change the flash data or something else.

thanks.

0 件の賞賛
返信
1 返信

1,051件の閲覧回数
bobpaddock
Senior Contributor IV

By definition Non Maskable Interrupts can not be disabled at run time.

Many parts do have a Flash configuration option byte that will either disable NMI completely before executing code or turn it into an alternative function such as enabling the bootloader.

Regardless of that, any NMI pin must not be asserted at reset or allowed to float.
There can be timing races in some parts that cause the NMI to happen before anything else.