PROGRAMMING THE NONVOLATILE MEMORY

16.6 PROGRAMMING MODE PINS

Figure 16-4 illustrates the signals used in programming and Table 16-6 describes them. The EA#, VPP, and PMODE pins combine to control entry into programming modes. You must configure the PMODE (P0.7:4) pins to select the desired programming mode (see Table 16-7 on page 16-13). Each programming routine configures the port 2 pins to operate as the appropriate spe- cial-function signals. Ports 3 and 4 automatically serve as the PBUS during programming.

Programming

Voltage

4

PMODE.3:0

VPP P4.7:0

EA# P3.7:0

P0.7:4 P2.7

P2.6

P2.4

P2.2

P2.1

P2.0

8XC196 Device

PBUS

PACT#

CPVER

AINC#

PROG#

PALE#

PVER

A2839-02

Figure 16-4. Pin Functions in Programming Modes

Table 16-6. Pin Descriptions

 

Special-

 

Program-

 

Port Pin

function

Type

ming

Description

 

Signal

 

Mode

 

 

 

 

 

 

P0.7:4

PMODE.3:

I

All

Programming Mode Select

 

PMODE.0

 

 

Determines the programming mode. PMODE is

 

 

 

 

 

 

 

 

sampled after a device reset and must be static

 

 

 

 

while the part is operating. (Table 16-7 on page

 

 

 

 

16-13 lists the PMODE values and programming

 

 

 

 

modes.)

 

 

 

 

 

P2.0

PVER

O

Slave

Programming Verification

 

 

 

Auto

During slave or auto programming, PVER is

 

 

 

 

 

 

 

 

updated after each programming pulse. A high

 

 

 

 

output signal indicates successful programming of a

 

 

 

 

location, while a low signal indicates a detected

 

 

 

 

error.

 

 

 

 

 

P2.1

PALE#

I

Slave

Programming ALE Input

 

 

 

 

During slave programming, a falling edge causes

 

 

 

 

the device to read a command and address from the

 

 

 

 

PBUS.

 

 

 

 

 

16-11

Page 364
Image 364
Intel 8XC196MH, 8XC196MD, 8XC196MC manual Programming Mode Pins, Special Program Port Pin