Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
8xC196EA microcontroller user's manual.1998.pdf
Скачиваний:
52
Добавлен:
23.08.2013
Размер:
8.29 Mб
Скачать

8XC196EA USER’S MANUAL

17.4 ROM-DUMP ROUTINE AND CIRCUIT

The ROM-dump routine provides an easy way to verify the contents of the ROM array. Figure 17-2 shows a recommended circuit. Although the illustration uses an EPROM, you could use a RAM device or you could dump the ROM contents to any 16-bit parallel port.

To access the ROM-dump routine, follow the power-up sequence on page 17-5. The ROM-dump routine checks the security key, regardless of the CCR security-lock bit. If you have programmed a security key, a matching key must reside in the external memory; otherwise, the device enters an endless loop. If the security key verifies, the ROM-dump routine writes the entire ROM array to external memory.

 

 

 

 

 

VCC

 

 

20 pF

 

20 pF

 

 

 

 

XTAL1

XTAL2

 

 

100 kΩ

 

 

 

 

 

 

 

 

RESET#

 

 

 

Reset

+5.0V

VCC

 

74HC14

 

1 kΩ

 

1.0µF

VCC

10µF

 

 

 

 

 

 

VSS

 

 

 

 

 

 

 

 

 

 

READY/P5.6

 

 

 

 

 

VCC

NMI

 

 

 

 

 

 

 

 

 

 

 

EA#

 

 

 

 

 

 

VREF

RD#/P5.3

 

 

 

 

 

P12.2

 

 

 

 

 

 

P12.1

 

 

 

OE#

CE#

 

 

 

 

 

 

 

 

P1.2

 

 

A15

 

 

P12.0

P1.1

 

 

A14

 

 

ANGND

 

 

 

A13:8

 

 

 

AD13:8

 

 

 

 

PLLEN

ALE/P5.0

LE

OE#

 

 

 

P5.4

 

 

 

27(C)512

 

P5.3/RD#

AD7:0

74LS373

A7:0

O7:0

 

P5.0/ALE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

83C196EA

 

 

 

 

 

 

 

 

 

 

A4309-01

Figure 17-2. ROM-dump Circuit

17-6

Соседние файлы в предмете Электротехника