You are viewing documentation for version:
Tamper options#
Tamper configuration options.
Levels, signals and filter options.
Macros#
#define
SL_SE_TAMPER_LEVEL_IGNORE 0
#define
SL_SE_TAMPER_LEVEL_INTERRUPT 1
#define
SL_SE_TAMPER_LEVEL_FILTER 2
Increment filter counter.
#define
SL_SE_TAMPER_LEVEL_RESET 4
#define
SL_SE_TAMPER_LEVEL_PERMANENTLY_ERASE_OTP 7
Erase OTP - THIS WILL MAKE THE DEVICE INOPERATIONAL!
#define
SL_SE_TAMPER_SIGNAL_RESERVED_1 0x0
#define
SL_SE_TAMPER_SIGNAL_FILTER_COUNTER 0x1
Filter counter exceeds threshold.
#define
SL_SE_TAMPER_SIGNAL_WATCHDOG 0x2
#define
SL_SE_TAMPER_SIGNAL_RESERVED_2 0x3
#define
SL_SE_TAMPER_SIGNAL_SE_RAM_ECC_2 0x4
#define
SL_SE_TAMPER_SIGNAL_SE_HARDFAULT 0x5
#define
SL_SE_TAMPER_SIGNAL_RESERVED_3 0x6
#define
SL_SE_TAMPER_SIGNAL_SE_SOFTWARE_ASSERTION 0x7
SE software triggers an assert.
#define
SL_SE_TAMPER_SIGNAL_SE_SECURE_BOOT_FAILED 0x8
Secure boot of SE firmware failed.
#define
SL_SE_TAMPER_SIGNAL_USER_SECURE_BOOT_FAILED 0x9
Secure boot of user code failed.
#define
SL_SE_TAMPER_SIGNAL_MAILBOX_AUTHORIZATION_ERROR 0xA
Unauthorised command received over the Mailbox interface.
#define
SL_SE_TAMPER_SIGNAL_DCI_AUTHORIZATION_ERROR 0xB
Unauthorised command received over the DCI interface.
#define
SL_SE_TAMPER_SIGNAL_FLASH_INTEGRITY_ERROR 0xC
Flash content couldn't be properly authenticated.
#define
SL_SE_TAMPER_SIGNAL_RESERVED_4 0xD
#define
SL_SE_TAMPER_SIGNAL_SELFTEST_FAILED 0xE
Integrity error of internal storage is detected.
#define
SL_SE_TAMPER_SIGNAL_TRNG_MONITOR 0xF
TRNG monitor detected lack of entropy.
#define
SL_SE_TAMPER_SIGNAL_SECURE_LOCK_ERROR 0x10
Debug lock internal logic check failed.
#define
SL_SE_TAMPER_ATAMPDET_EMPGD 0x11
Electromagnetic pulse glitch detector.
#define
SL_SE_TAMPER_ATAMPDET_SUPGD 0x12
#define
SL_SE_TAMPER_SE_ICACHE_ERROR 0x13
#define
SL_SE_TAMPER_SIGNAL_SE_RAM_ECC_1 0x14
#define
SL_SE_TAMPER_SIGNAL_BOD 0x15
Brown-out-detector threshold alert.
#define
SL_SE_TAMPER_SIGNAL_TEMPERATURE_SENSOR 0x16
On-device temperature sensor.
#define
SL_SE_TAMPER_SIGNAL_DPLL_LOCK_FAIL_LOW 0x17
#define
SL_SE_TAMPER_SIGNAL_DPLL_LOCK_FAIL_HIGH 0x18
#define
SL_SE_TAMPER_SIGNAL_PRS0 0x19
#define
SL_SE_TAMPER_SIGNAL_PRS1 0x1a
#define
SL_SE_TAMPER_SIGNAL_PRS2 0x1b
#define
SL_SE_TAMPER_SIGNAL_PRS3 0x1c
#define
SL_SE_TAMPER_SIGNAL_PRS4 0x1d
#define
SL_SE_TAMPER_SIGNAL_PRS5 0x1e
#define
SL_SE_TAMPER_SIGNAL_PRS6 0x1f
#define
SL_SE_TAMPER_SIGNAL_NUM_SIGNALS 0x20
Number of tamper signals.
#define
SL_SE_TAMPER_FILTER_PERIOD_32MS 0x0
#define
SL_SE_TAMPER_FILTER_PERIOD_64MS 0x1
#define
SL_SE_TAMPER_FILTER_PERIOD_128MS 0x2
#define
SL_SE_TAMPER_FILTER_PERIOD_256MS 0x3
#define
SL_SE_TAMPER_FILTER_PERIOD_512MS 0x4
#define
SL_SE_TAMPER_FILTER_PERIOD_1S 0x5
#define
SL_SE_TAMPER_FILTER_PERIOD_2S 0x6
#define
SL_SE_TAMPER_FILTER_PERIOD_4S 0x7
#define
SL_SE_TAMPER_FILTER_PERIOD_8S 0x8
#define
SL_SE_TAMPER_FILTER_PERIOD_16S 0x9
#define
SL_SE_TAMPER_FILTER_PERIOD_33S 0xA
#define
SL_SE_TAMPER_FILTER_PERIOD_1MIN 0xB
#define
SL_SE_TAMPER_FILTER_PERIOD_2MIN 0xC
#define
SL_SE_TAMPER_FILTER_PERIOD_4MIN 0xD
#define
SL_SE_TAMPER_FILTER_PERIOD_9MIN 0xE
#define
SL_SE_TAMPER_FILTER_PERIOD_18MIN 0xF
#define
SL_SE_TAMPER_FILTER_PERIOD_35MIN 0x10
#define
SL_SE_TAMPER_FILTER_PERIOD_1H 0x11
#define
SL_SE_TAMPER_FILTER_PERIOD_2H 0x12
#define
SL_SE_TAMPER_FILTER_PERIOD_5H 0x13
#define
SL_SE_TAMPER_FILTER_PERIOD_9H 0x14
#define
SL_SE_TAMPER_FILTER_PERIOD_19H 0x15
#define
SL_SE_TAMPER_FILTER_PERIOD_2DAYS 0x16
#define
SL_SE_TAMPER_FILTER_PERIOD_3DAYS 0x17
#define
SL_SE_TAMPER_FILTER_PERIOD_6DAYS 0x18
#define
SL_SE_TAMPER_FILTER_PERIOD_12DAYS 0x19
#define
SL_SE_TAMPER_FILTER_PERIOD_25DAYS 0x1A
#define
SL_SE_TAMPER_FILTER_PERIOD_50DAYS 0x1B
#define
SL_SE_TAMPER_FILTER_PERIOD_100DAYS 0x1C
#define
SL_SE_TAMPER_FILTER_PERIOD_199DAYS 0x1D
#define
SL_SE_TAMPER_FILTER_PERIOD_398DAYS 0x1E
#define
SL_SE_TAMPER_FILTER_PERIOD_795DAYS 0x1F
#define
SL_SE_TAMPER_FILTER_THRESHOLD_2 0x7
#define
SL_SE_TAMPER_FILTER_THRESHOLD_4 0x6
#define
SL_SE_TAMPER_FILTER_THRESHOLD_8 0x5
#define
SL_SE_TAMPER_FILTER_THRESHOLD_16 0x4
#define
SL_SE_TAMPER_FILTER_THRESHOLD_32 0x3
#define
SL_SE_TAMPER_FILTER_THRESHOLD_64 0x2
#define
SL_SE_TAMPER_FILTER_THRESHOLD_128 0x1
#define
SL_SE_TAMPER_FILTER_THRESHOLD_256 0x0
#define
SL_SE_TAMPER_FLAG_DGLITCH_ALWAYS_ON (1UL << 1)
#define
SL_SE_TAMPER_FLAG_KEEP_TAMPER_ALIVE_DURING_SLEEP (1UL << 2)