- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sirs and Madams,
(1) When NMIPENDSET is set,
Specify the process in the vector table.
(2) When the time of system call,
The NMI handler code on ROM is executed.
At this time, the code is used for the operation of the non-volatile program and cannot be accessed by the user.
Is the above recognition correct?
Regards,
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MaMi_1205306,
(1) Yes, setting the NMIPENDSET bit in software will trigger an NMI exception which will, in turn, execute the NMI handler.
(2) I believe in this case you are referring to the System Call NMI exception. Please correct me if I am wrong. Yes, this exception is used for non-volatile programming operations like flash write. When this is triggered the NMI handler code in the SROM will be executed which cannot be accessed by the user.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MaMi_1205306,
(1) Yes, setting the NMIPENDSET bit in software will trigger an NMI exception which will, in turn, execute the NMI handler.
(2) I believe in this case you are referring to the System Call NMI exception. Please correct me if I am wrong. Yes, this exception is used for non-volatile programming operations like flash write. When this is triggered the NMI handler code in the SROM will be executed which cannot be accessed by the user.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rakshith M B -san,
Thank you for the detailed explanation.
As you might think, it's a System Call NMI exception.
Regards,