3 Appendix A: OTP Emulation Mode

After a reset, the ROM code reads the Boot Configuration Packet (BCP) either from the SRAM dedicated to OTP Emulation mode (if the BSC_CR.EMUL_EN bit is set to 1) or from the OTP matrix. It then configures the boot sequence based on the BCP information, enables/disables the monitor and configures the serial console UART.

Using an emulated OTP enables the user to test several boot configuration options, including the Secure Boot mode, without programming the OTP.

Note: On the SAM9X60, if Emulation mode is enabled, the emulation SRAM is not backed up. After a power off/on, the configuration and content are lost.
Warning: The real OTP memory matrix cannot be cleared or erased once it has been written, so proper care should be taken before writing to it.