Hi,
i use a Little Assembler Program to copy a Bootloader from Flash to RAM and it works fine so far.
The question i'm asking myself: The Program starts automatically at the Reset-Vector in Flash and defines no other Interrupt Service Vector.
For me, thats's OK, because all Interrupts are disabled but what happens if a NMI appears?
For my Controller STM32F103RB, the NMI is only sourced by a so called Clock Security System.
Because i don't use it nothing happens. But what if i change the Controller some day?
Is it good Practice to handle the NMI in such a small Program or is it not neccessary?
To be sure, you need to check the SoC's manual. It might vary.