Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
8XC196Kx,8XC196Jx,87C196CA microcontroller family user's manual.1995.pdf
Скачиваний:
57
Добавлен:
23.08.2013
Размер:
3.97 Mб
Скачать

8XC196Kx, Jx, CA USER’S MANUAL

16.7 ENTERING PROGRAMMING MODES

To execute programs properly, the device must have these minimum hardware connections: XTAL1 driven, unused input pins strapped, and power and grounds applied. Follow the operating conditions specified in the datasheet. Place the device into programming mode by applying VPP voltage (+12.5 V) to EA# during the rising edge of RESET#.

16.7.1 Selecting the Programming Mode

The PMODE (P0.7:4) value controls the programming mode. PMODE is sampled on the rising edge of RESET#. You must reset the device to switch programming modes. Table 16-7 lists the PMODE value for each programming mode. All other PMODE values are reserved.

Table 16-7. PMODE Values

PMODE Value

Programming Mode

(Hex)

0

Serial port programming

5Slave programming

6ROM-dump

CAuto programming

16.7.2Power-up and Power-down Sequences

When you are ready to begin programming, follow these power-up and power-down procedures.

WARNING

Failure to observe these warnings will cause permanent device damage.

Voltage must not be applied to VPP while VCC is low.

The VPP voltage must be within 1 volt of VCC while VCC is less than 4.5 volts. VPP must not go above 4.5 volts until VCC is at least 4.5 volts.

The VPP maximum voltage must not be exceeded.

EA# must reach programming voltage before VPP does so.

The PMODE pins (P0.7:4) must be in their desired states before RESET# rises.

All voltages must be within the ranges specified in the datasheet and the oscillator must be stable before RESET# rises.

The power supplies to the VCC, VPP, EA# and RESET# pins must be well regulated and free of glitches and spikes.

All VSS pins must be well grounded.

16-14

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