Maxim Integrated Secure Microcontroller User Manual

Page 44

Advertising
background image

Secure Microcontroller User’s Guide

44 of 187

DS5001/DS5002 MCON Register
MCON, 0C6H

D7

D6

D5

D4

D3

D2

D1

D0

PA3

PA2

PA1

PA0

RG1

PES

PM

SL

RT*-*

RT*-*

RT*-*

RT*-*

RB-*

RW-0

R*-*

R*-*

R = Unrestricted Read Access, W = Unrestricted Write Access, T = Timed-access Write Only, B = Modifiable only via Bootstrap Loader, n =
Value after Reset, * = Special: see description

MCON.7-4

PA3-0

Partition Address Bits

When PM = 0, this address specifies the boundary between program and data
memory in a continuous space. These bits are timed-access protected. Cannot be
written by the application software if set to 0000b by the serial loader. If a 0000b
is written via the serial loader and the security lock is set, the partition becomes
1111b. The same occurs if write access is available and application software writes
a 0000b. In addition, these bits are set to 1111b if security lock is cleared. These
bits are set to 1111b on a no-V

LI

reset or if the security lock is cleared. They are

unaffected by any other reset.

MCON.3

RG1

Range Bit 1

One of two bits that determine the range of program space. RG0 is located in the
RPCTL register. This bit is set to 1 on a no-V

LI

reset or a clearing of the security

lock and is unaffected by any other reset. It can only be modified via the bootstrap
loader.


MCON.2

PES

Peripheral Enable Select

When this bit is set, the data space is controlled by

PE1–PE4. Peripherals are

memory mapped in 16kB blocks, and are accessed by encrypted MOVX
instructions on the bytewide bus.


MCON.1

PM

Partition Mode

When PM = 0, a partitionable, continuous memory map is invoked. When PM = 1,
one of four fixed allocations is used. This bit is set to 1 on a no-V

LI

reset and is

unaffected by any other reset. It can only be modified via the bootstrap loader.


MCON.0

SL

Security Lock

Indicates that the security lock is set when SL = 1. Cleared to 0 on a no-V

LI

power-

on reset. This bit can only be modified by the lock and unlock commands of the
bootstrap loader. This bit cannot be modified by the application software or by the
bootstrap loader write command.

Advertising