Table 15 CPU Reset Behavior

EMPTY

ISPE

 

Boot Area

 

Start-Up Operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Device starts in IRE/

Not Empty

ISP

 

Defined

 

ERE mode from

 

 

Code Area start

 

 

 

 

 

 

 

 

 

 

address

 

 

 

 

 

 

 

 

 

 

 

Device starts in IRE/

Not Empty

ISP

 

Not

 

ERE mode from

 

Defined

 

Code Area start

 

 

 

 

 

 

 

 

 

address

 

 

 

 

 

 

 

 

 

 

 

Device starts in IRE/

Not Empty

No ISP

 

Don’t Care

 

ERE mode from

 

 

 

 

 

address 0

 

 

 

 

 

 

 

 

 

 

 

Device starts in ISP

Empty

ISP

 

Defined

 

mode from Code

 

 

 

 

 

Area start address

 

 

 

 

 

 

Empty

ISP

 

Not

 

Device starts in ISP

 

Defined

 

 

 

 

 

mode and is kept in

 

 

 

 

 

Empty

No ISP

 

Don’t Care

 

its reset state

 

 

 

 

 

 

 

RDPROT

The RDPROT field controls the global read

 

protection mechanism for the on-chip flash

 

program memory. If a majority of the three

 

RDPROT bits are clear, the flash program

 

memory is protected against read access

 

from the serial debug interface or an external

 

flash programmer. CPU read access is not af-

 

fected by the RDPROT bits. If a majority of the

 

RDPROT bits are set, read access is allowed.

WRPROT

The WRPROT field controls the global write

 

protection

mechanism

for the on-chip flash

program memory. If a majority of the three WRPROT bits are clear, the flash program memory is protected against write access from any source and read access from the se- rial debug interface. If a majority of the WR- PROT bits are set, write access is allowed.

8.5FLASH MEMORY INTERFACE REGISTERS

There is a separate interface for the program flash and data flash memories. The same set of registers exist in both in- terfaces. In most cases they are independent of each other, but in some cases the program flash interface controls the interface for both memories, as indicated in the following sections. Table 16 lists the registers.

Table 16 Flash Memory Interface Registers

Program

Data

Description

Memory

Memory

 

 

 

 

 

 

 

FMIBAR

FSMIBAR

Flash Memory

Information Block

FF F940h

FF F740h

Address Register

 

 

 

 

 

FMIBDR

FSMIBDR

Flash Memory

Information Block

FF F942h

FF F742h

Address Register

 

 

 

 

 

FM0WER

FSM0WER

Flash Memory 0

FF F944h

FF F744h

Write Enable Register

 

 

 

FM1WER

N/A

Flash Memory 1

FF F946h

Write Enable Register

 

 

 

 

FMCTRL

FSMCTRL

Flash Memory

FF F94Ch

FF F74Ch

Control Register

 

 

 

FMSTAT

FSMSTAT

Flash Memory

FF F94Eh

FF F74Eh

Status Register

 

 

 

FMPSR

FSMPSR

Flash Memory

FF F950h

FF F750h

Prescaler Register

 

 

 

FMSTART

FSMSTART

Flash Memory Start

FF F952h

FF F752h

Time Reload Register

 

 

 

FMTRAN

FSMTRAN

Flash Memory

Transition Time

FF F954h

FF F754h

Reload Register

 

 

 

 

 

FMPROG

FSMPROG

Flash Memory

Programming Time

FF F956h

FF F756h

Reload Register

 

 

 

 

 

FMPERASE

FSMPERASE

Flash Memory Page

Erase Time Reload

FF F958h

FF F758h

Register

 

 

 

 

 

FMMERASE0

FSMMERASE0

Flash Memory Module

FF F95Ah

FF F75Ah

Erase Time Reload

Register 0

 

 

 

 

 

FMEND

FSMEND

Flash Memory End

FF F95Eh

FF F75Eh

Time Reload Register

 

 

 

FMMEND

FSMMEND

Flash Memory Module

Erase End Time

FF F960h

FF F760h

Reload Register

 

 

 

 

 

FMRCV

FSMRCV

Flash Memory

Recovery Time

FF F962h

FF F762h

Reload Register

 

 

 

 

 

FMAR0

FSMAR0

Flash Memory

FF F964h

FF F764h

Auto-Read Register 0

 

 

 

FMAR1

FSMAR1

Flash Memory

FF F966h

FF F766h

Auto-Read Register 1

 

 

 

FMAR2

FSMAR2

Flash Memory

FF F968h

FF F768h

Auto-Read Register 2

 

 

 

CP3BT26

35

www.national.com

Page 35
Image 35
National CP3BT26 manual Flash Memory Interface Registers, CPU Reset Behavior, Empty Ispe, Boot Area Start-Up Operation