Hello,
I would like to implement my own immutable interrupt handler which gets executed at any interrupt and cannot be unset. For this reason, I already locked the interrupt vector table using the command FlashProtectSet(0x0, FlashReadOnly). However, an attacker can simply bypass my protection by storing a modified interrupt vector table in Flash and then redirecting all interrupts to this table using the "Vector Table Offset" register (e.g., with the command HWREG(NVIC_VTABLE)= NEW_ADDRESS). Is there any way how I can permanently set all interrupt handlers, so that further executed command cannot unset them?
Regards