Motorola MC9S12DT128B manual Security, Securing the Microcontroller, 3 Voltage Regulator VREGEN

Models: MC9S12DT128B

1 124
Download 124 pages 36.91 Kb
Page 68
Image 68
Table 4-3 Voltage Regulator VREGEN

MC9S12DT128B Device User Guide — V01.07

Table 4-3 Voltage Regulator VREGEN

VREGEN

Description

 

 

1

Internal Voltage Regulator enabled

 

 

0

Internal Voltage Regulator disabled, VDD1,2 and

VDDPLL must be supplied externally with 2.5V

 

 

 

4.3 Security

The device will make available a security feature preventing the unauthorized read and write of the memory contents. This feature allows:

Protection of the contents of FLASH,

Protection of the contents of EEPROM,

Operation in single-chip mode, No BDM possible

Operation from external memory with internal FLASH and EEPROM disabled.

The user must be reminded that part of the security must lie with the user’s code. An extreme example would be user’s code that dumps the contents of the internal program. This code would defeat the purpose of security. At the same time the user may also wish to put a back door in the user’s program. An example of this is the user downloads a key through the SCI which allows access to a programming routine that updates parameters stored in EEPROM.

4.3.1 Securing the Microcontroller

Once the user has programmed the FLASH and EEPROM (if desired), the part can be secured by programming the security bits located in the FLASH module. These non-volatile bits will keep the part secured through resetting the part and through powering down the part.

The security byte resides in a portion of the Flash array.

Check the Flash Block User Guide for more details on the security configuration.

4.3.2 Operation of the Secured Microcontroller

4.3.2.1 Normal Single Chip Mode

This will be the most common usage of the secured part. Everything will appear the same as if the part was not secured with the exception of BDM operation. The BDM operation will be blocked.

4.3.2.2 Executing from External Memory

The user may wish to execute from external space with a secured microcontroller. This is accomplished by resetting directly into expanded mode. The internal FLASH and EEPROM will be disabled. BDM operations will be blocked.

68

http://www.xinpian.net

提供单片机解密、IC解密、芯片解密业务 010-62245566 13810019655

Page 68
Image 68
Motorola MC9S12DT128B, MC9S12DB128B manual Security, Securing the Microcontroller, Operation of the Secured Microcontroller