ST62T15 Encrypted Program Memory Copying needs to setup the program memory status to both OTP and rom.
Each device is available for production in user programmable versions (OTP) as well as in factory coded versions (ROM). OTP devices are shipped to customers with a default content (00h), while ROM factory coded parts contain the code supplied by the customer. This implies that OTP devices have to be configured by the customer using the Option Bytes while the ROM devices are factory-configured.
The two option bytes allow the hardware configuration of the microcontroller to be selected for MCU Code reading.
The option bytes have no address in the memory map and can be accessed only in programming mode (for example using a standard ST6 programming tool).
In masked ROM devices, the option bytes are fixed in hardware by the ROM code (see Section 11.6.2 “ROM VERSION” on page 93). It is therefore impossible to read the option bytes to faciliate the process of MCU Chip STMicroelectronic ST62T15C6 extraction. The option bytes can be only programmed once. It is not possible to change the selected options after they have been programmed.
In order to reach the power consumption value indicated in Section 10.4, the option byte must be programmed to its default value. Otherwise, an over-consumption will occur.