eprom 1 Fri Oct 13 13:01:

Similar documents
Freescale Semiconductor, I

AN1298. Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications. Introduction


M68HC705L4 PROGRAMMER BOARD APPLICATION NOTE

Am27C Megabit (256 K x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM V CC V SS V PP

Am27C Kilobit (8 K x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM V CC V SS V PP

Am27C Megabit (128 K x 16-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM V CC V SS V PP

DatasheetArchive.com. Request For Quotation

M68HC705E24PGMR PROGRAMMER USER'S MANUAL

MC68HC05J1A/D Rev. 1.0 HC 5 MC68HC05J1A MC68HCL05J1A MC68HSC05J1A. HCMOS Microcontroller Units TECHNICAL DATA

The pin details are given below: V cc, GND = +5V and Ground A 11 -A 0 = address lines. Fig.2.19 Intel 2716 Read Only Memory

M68HC705E6PGMR PROGRAMMER USER'S MANUAL

AN-HK-32. In-Circuit Programming of FLASH Memory in the MC68HC908GP32. nc... Freescale Semiconductor, I. PART 1 Introduction

Am27C128. Advanced Micro Devices. 128 Kilobit (16,384 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL

3. The MC6802 MICROPROCESSOR

Am27C Megabit (131,072 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM

Am27C020. Advanced Micro Devices. 2 Megabit (262,144 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL

M68EM05X4 EMULATOR MODULE USER'S MANUAL

M68HC11E Family. Data Sheet M68HC11. Microcontrollers M68HC11E/D Rev. 5 6/2003 MOTOROLA.COM/SEMICONDUCTORS

AN-HK-33. In-Circuit Programming of FLASH Memory in the MC68HC908JL3. Roger Fan Applications Engineering Microcontroller Division Hong Kong

Read and Write Cycles


timer 1 Fri Oct 13 13:00:

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

AN-HK-32. Motorola Semiconductor Application Note. In-Circuit Programming of FLASH Memory in the MC68HC908GP32. PART 1 Introduction

Am27C512. Advanced Micro Devices. 512 Kilobit (65,536 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL

DS1216B. SmartWatch/RAM 16K/64K FEATURES PIN ASSIGNMENT PIN DESCRIPTION

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

DEMO9S08SH32/SG32 Demonstration Board for Freescale MC9S08SH32/SG32

M68332EVK EVALUATION KIT USER S MANUAL

PC3 PC4 PC5 PC6 PC7 VSS VPP1 PB0 PB1 PB2 PB3 PB4 PB5

spi 1 Fri Oct 13 13:04:

SECTION 5 RESETS AND INTERRUPTS

DEMO9S08SH8/SG8 Demonstration Board for Freescale MC9S08SH8/SG8

Revision: 5/7/ E Main Suite D Pullman, WA (509) Voice and Fax. Power jack 5-9VDC. Serial Port. Parallel Port

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Digilab 2E Reference Manual

AN-HK-33. Motorola Semiconductor Application Note. In-Circuit Programming of FLASH Memory in the MC68HC908JL3. PART 1 Introduction

DS1306. Serial Alarm Real Time Clock (RTC)

Digilab 2 Reference Manual

C4 C9, C12 C18. Maxim Integrated Products 1

HC05 MC68HC05P18 MC68HC805P18. Advance Information. Freescale Semiconductor, Inc. Archived Order this document by MC68HC805P18/D Rev. 2.

Address connections Data connections Selection connections

DS1305EN. Serial Alarm Real-Time Clock

DS1216 SmartWatch RAM DS1216B/C/D/H SmartWatch ROM DS1216E/F

Processor module DCP 642

DS1238A MicroManager PIN ASSIGNMENT PIN DESCRIPTION V BAT V CCO V CC

Am28F Megabit (262,144 x 8-Bit) CMOS 12.0 Volt, Bulk Erase Flash Memory V Flash DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION

UMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)

AN1742. Programming the 68HC705J1A In-Circuit By Chris Falk CSG Product Engineering Austin, Texas. Introduction. Overview

The Freescale MC908JL16 Microcontroller

DS1305EN. Serial Alarm Real-Time Clock

Freescale Semiconductor, I

EB180. Motorola Semiconductor Engineering Bulletin. Differences between the MC68HC705B16 and the MC68HC705B16N. Freescale Semiconductor, I

AN1239. HC05 MCU Keypad Decoding Techniques Using the MC68HC705J1A. Introduction

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction

CHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution

Rapid40iXL PIC Prototyping PCB User Manual

Am29F004B. 4 Megabit (512 K x 8-Bit) CMOS 5.0 Volt-only Boot Sector Flash Memory DISTINCTIVE CHARACTERISTICS

PY291A DESCRIPTION. Windowed devices for reprogramming. EPROM Technology for reprogramming. Fully TTL Compatible Inputs and Outputs

Am28F Kilobit (32 K x 8-Bit) CMOS 12.0 Volt, Bulk Erase Flash Memory DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION

Freescale Semiconductor, Inc.

ST622x Starter Kit User Manual. for ST620x, ST621x and ST622x. Release 3.0. November Ref: DOC-E-ST622XSKUM.

Gottlieb Universal Test Board

80C31BH 80C51BH 87C51 CHMOS SINGLE-CHIP 8-BIT MICROCONTROLLER

Add a Non-Volatile Clock to the MC68HC705J1A. Some applications of using the DS1307 are:

Product Brief M68340EVS EVALUATION SYSTEM

EMERALD-MM-8P. 8-Channel Software Programmable Protocol. Serial Port PC/104 TM Module. User Manual V1.20

Am29LV040B. 4 Megabit (512 K x 8-Bit) CMOS 3.0 Volt-only, Uniform Sector 32-Pin Flash Memory DISTINCTIVE CHARACTERISTICS

FPGA Programming Technology

ericssonz LBI-38616B MAINTENANCE MANUAL FOR MTD TM SERIES AND DATA RADIO LOGIC BOARD 19D902151G3 DESCRIPTION CIRCUIT ANALYSIS TABLE OF CONTENTS

The Am29F040B is not offered for new designs. Please contact your Spansion representative for alternates.

PAS 9796/DIO ENGINEERING SPECIFICATION

MC68HC908KX8 MC68HC908KX2 MC68HC08KX8. Technical Data M68HC08. Microcontrollers. MC68HC908KX8/D Rev. 1, 2/2002

M68HC05AG/AD Rev. 3. M68HC05 Applications Guide

Hardware Version 1.0 Monitor Version 1.2. English Release October

_ V1.3. Motorola 68HC11 AE/AS POD rev. F. POD Hardware Reference

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. EECS 150 Spring 2000

Summer 2003 Lecture 18 07/09/03

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

GRANTRONICS PTY LTD. GP-AT Programmer for Atmel Flash CPUs GRANTRONICS GRANTRONICS PTY LTD

Test ROM for Zaccaria 1B1165 CPU Board

BIPOLAR PROM ADAPTER READ THIS SHEET FIRST!

TEMIC 51T (Temic) EMULATION

DEMO9S08AC60E. User s Guide. Freescale Semiconductor User s Guide. DEMO9S08AC60EUG Rev. 0.1, 11/2007

AVR-Ready1. Additional Board. Manual. MikroElektronika

GRAVITECH GROUP

CMOS Z8 OTP Microcontrollers

PRELIMINARY Prototyping Platform for the DLP-RF2 Transceiver

Galep-Adapter DIL-40 => ISP-ASYNC/SYNC Article-No.:

USING THE ACOM2 ASYCHRONOUS COMMUNICATION ADAPTER WITH MOTOROLA MICROCONTROLLERS

SAFE ST7 EVALUATION BOARD

ACR8000 Hardware Manual

University of Florida EEL 4744 Drs. Eric M. Schwartz, Karl Gugel & Tao Li Department of Electrical and Computer Engineering

Technical Reference for Micro Controller: N01B-4824-B406 for Ergo Trac Pointing Device: FID /N01B-4828-B100


DS1215. Phantom Time Chip FEATURES PIN ASSIGNMENT PIN DESCRIPTION

EASY219 / IEC CANopen Master / Slave

POD 51EH C541U 12 EA ALE PSEN XH0 XH1 XH2 XH3 XH4 XH5 XH6 XH7 XL7 XL6 XL5 XL4 XL3 XL2 XL1 XL0. Figure 1. POD 51EH C541U 12

Transcription:

eprom 1 Fri Oct 1 1:01: 1.1 Introduction SECTION EPROM/OTPROM (PROM) This section describes erasable programmable read-only memory/one-time programmable read-only memory (EPROM/OTPROM (PROM)) programming.. EPROM/OTPROM (PROM) Programming The internal PROM can be programmed efficiently using the Motorola MCHC0PGMR- programmer board, which can be purchased from a Motorola-authorized distributor. The user can program the MCU using this printed circuit board (PCB) in conjunction with an EPROM device already programmed with user code. Only standalone programming is discussed in this section. For more information concerning the MCHC0PGMR and its usages, contact your local Motorola representative for a copy of MCHC0PGMR/D1, MCHC0PGMR Programmer Board User s Manual #. Refer to Figure -1 for an EPROM programming flowchart and to Figure - for a schematic of the MCHC0PGMR PCB. To program the PROM MCU, the MCU is installed in the PCB, along with an EPROM device programmed with user code; the MCU is then subjected to a series of routines. The routines necessary to program, verify, and secure the PROM MCU are: Program and Verify PROM Verify PROM Contents (Only) Secure PROM and Verify Secure PROM and Dump (through SCI) Other board routines available to the user are: Load Program into RAM and Execute Execute Program in RAM Dump PROM Contents (Binary Upload) 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -1

eprom Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 0 The user first configures the MCU for the bootstrap mode of operations by installing a fabricated jumper across pins 1 and of the board s mode select header, J1. Next, the board s mode switches (S, S, S, and S) are set to determine the routine to be executed after the next reset, as shown in Table -1. Table -1. PROM Programming Routines Routine S S S S Program and Verify PROM Off Off Off Off Verify PROM Contents (Only) Off Off On Off Secure PROM Contents and Verify On Off On Off Secure PROM Contents and Dump On On On Off Load Program into RAM and Execute Off On Off Off Execute Program in RAM Off Off Off On Dump PROM Contents Off On On Off MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -

eprom Fri Oct 1 1:01: 1 YES NO START APPLY V PP NTRYS = 0 START AT BEGINNING OF MEMORY LAT = 1 WRITE PROM DATA PGM = 1 WAIT 1 ms PGM = 0 LAT = 0 WRITE ADDITIONAL BYTE NTRYS = NTRYS + 1 NTRYS = V PP OFF Figure -1. EPROM/OTPROM Programming Flowchart END NO YES 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -

eprom Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 + V +1 V -1 V V PP GND 0 1 P 1 P1 RXD TXD CTS DSR DCD DTR GND GND + V OFF ON OFF ON 1 U MC0 1 +1 V -1 V S1 1 1 V CC 0 V +V -V GND + V VR1 NMA01S DC-DC CONVERTER (OPTIONAL) C 0.1 µf (A) (A) (A) (A) (A1) 1 0 1 V PP PGM V CC CE A A (ENABLE) A A A1 OE +1 V -1 V U1 GND D1 1N001 PD1 PD0 D0 1 1 1 1 1 1 1 (A0) (A1) (A) (A) (A) (A) (A) (A) R1 K PA0 PA1 PA PA PA PA PA PA PB0 PB1 PB PB PB PB PB PB 0 1 1 1 1 1 1 1 V PP PD1 PD0 PA0 PA1 PA PA PA PA PB0 PB1 V DD 0 U PA 0-PIN DIP SOCKET PA V SS 0 + V + OSC1 OSC RESET IRQ TCAP C1 0 µf S NOTES: 1. The asterisk (*) denotes option T command only.. Unless otherwise specified, resistors are in ohms, ±% 1/ W; capacitors are in µf; voltages are dc.. Device type numbers shown in circuit are for reference only. Device type number varies with manufacturer. A0 A1 A A A A A A D1 D D D D D D (D0) (D1) (D) (D) (D) (D) (D) (D) V PP PB PB PB PB PB PB PD TCMP PD PD PD PD PC PC PC0 PC1 PC PC PC PC 1 1 1 A B C D E F G H I J K L M N (A) (A) (A) (A) (A1) O P Q R 0 Figure -. PROM Programming Circuit MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -

eprom Fri Oct 1 1:01: 1 A B C D E F G H I J K L + V R* 0 M N O P Q R S C pf DS* (VERF) + V (PROG) PROG DS1* R* 0 VERF (A) (A) (A) (A) (A1) (A0) R M Y1.0 MHz R K (D0) (D1) (D) (D) (D) R K 1 1 1 1 1 R K C pf PA PA PA PA PA1 PA0 PB0 PB1 PB PB PB R K (A) (A) + V R1 K R + V K PA PA V PP IRQ RESET V DD OSC1 OSC TCAP U -LEAD PLCC SOCKET PB PB PB V SS PC PC PC 1 1 0 1 (D) (D) (D) + V 1 1 0 (PROG) (VERF) J1 1 Ref. Description Device Type Notes Ground + V + 1 V 1 V V PP U1 K x -Bit EPROM, 0 1,,, U MCU 0-Pin DIP Socket 0 0 U MCU -Lead PLCC Socket U MC0 Driver/Receiver 1 1 VR1 NMA01S DC-DC Converter. 1 PC PC (A1) (A) S + V 1 J PD TCMP PD PD PD PD PD1 PD0 PC0 PC1 PC C 1.0 µf R K + V S C 0.1 µf 1 0 R K R1. K S + V PD PD PD PD PD1 PD0 (A) (A) (A) S +1 V OUT RESET S PD PD PD PD PD R1 K IRQ TCAP TCMP PB0 PB1 PB PB PB PB PB PB PA0 PA1 PA PA PA PA PA PA PC0 PC1 PC PC PC PD1 PD0 PC PC PC V SS P 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -

eprom Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 0..1 Program Register (PROG) The program register shown in Figure - is used for PROM programming. PROG $001C Read: Write: LAT Latch Enable This bit is both readable and writable. 1 = Enables PROM data and address bus latches for programming on the next byte write cycle. 0 = Latch disabled. PROM data and address buses are unlatched for normal CPU operations. PGM Program If LAT is cleared, PGM cannot be set. 1 = Enables V PP power to the PROM for programming. 0 = V PP is disabled. Bits 1 and Not used; always read zero... Preprogramming Steps Bit 1 Bit 0 Before programming the PROM using an MCHC0PGMR PCB in standalone mode, the user should ensure that: A jumper is installed on pins 1 and of mode select header J1. An EPROM is programmed with the necessary user code. The erasure window (if any) of the device to be programmed is covered. V DD of + Vdc is available on the board. V PP is available on the board. 0 0 0 0 0 LAT 0 PGM Reset: 0 0 0 0 0 0 0 0 Figure -. Program Register (PROG) CAUTION If the V PP level at the MCU exceeds +1 Vdc, then the MCHC0CA MCU device will suffer permanent damage. MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -

eprom Fri Oct 1 1:01: 1 Once the above conditions are met, the user should take the following steps before beginning programming: 1. Remove the V PP power source.. Set switch 1 in the OFF position (removes V DD ).. Place the programmed EPROM in socket U1.. Insert the erased PROM MCU device to be programmed in the proper socket: MCHC0CS or MCHC0CP in socket U (0-pin DIP), or, MCHC0CFN in socket U (-pin PLCC) with the device notch at the upper right corner of the socket.. Set switch S in the RESET position. NOTE No PROM MCU should be inserted in or removed from its board socket (U or U) while V PP (P1, slot ) or V DD (switch 1) is active on the board. 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -

eprom Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 0. PROM Programming Routines Following are the routines necessary to program, verify, and secure the PROM device, and other routines available to the user...1 Program and Verify PROM The program and verify PROM routine copies the contents of the external EPROM into the MCU PROM with direct correspondence between the addresses. Memory addresses in the MCU that are not implemented in PROM are skipped. Unprogrammed addresses in the EPROM being copied should contain $00 bytes to speed up the programming process. To run the program and verify PROM routine on the PROM MCU, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Restore the V PP power source.. Set switches S, S, S, and S in the OFF position (selects proper routine).. Set switch in the OUT position (routine is activated). The red light-emitting diode (LED) is illuminated, showing that the programming part of the routine is running. The LED goes out when programming is finished. The verification part of the routine now begins. When the green LED is illuminated, verification is successfully completed and the routine is finished.. Set switch in the RESET position. At this point, if no other MCU is to be programmed or secured, remove V PP power from the board. If another routine is to be performed on the MCU being programmed, the user can then set switches S, S, S, and S to the positions necessary to select the next routine, and begin the routine by setting switch to the OUT position. If no other routine is to be performed, remove V DD from the board and remove the MCU from the programming socket... Verify PROM Contents The verify PROM contents routine is normally run automatically after the PROM is programmed. Direct entry to this routine causes the PROM contents of the MCU to be compared to the contents of the external memory locations of the EPROM at the same addresses. To invoke the verify PROM contents routine of the MCU, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Connect V PP to V DD. MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -

eprom Fri Oct 1 1:01: 1. Set switches S, S, and S in the OFF position.. Set S in the ON position.. Set switch in the OUT position (routine is activated). The red LED is not illuminated during this routine, since no programming takes place. If verification fails, the routine halts with the failing address in the external memory bus. When the green LED is illuminated, verification is completed successfully and the routine is finished.. Set switch in the RESET position. At this point, if another routine is to be performed on the MCU being programmed, the user can set switches S, S, S, and S to the positions necessary to select the next routine, and move switch S to the OUT position to start routine. If no other routine is to be performed, remove V DD from the board and remove the MCU from the programming socket... Secure PROM The secure PROM routines are used after the PROM is successfully programmed and verified. Only the SEC bit of the OPTION register ($1FDF) is programmed, but V PP is necessary. Once this bit is programmed, PROM is secure and can be neither verified nor dumped... Secure PROM and Verify This routine is used after the PROM is programmed successfully to verify the contents of the MCU PROM against the contents of the EPROM and then to secure the PROM. To accomplish this routine, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Restore V PP power to the programming board.. Set switches S and S in the OFF position.. Set switches S and S in the ON position.. Set switch in the OUT position (routine is activated). Execution time for this routine is about one second.. Set switch in the RESET position when the routine is completed. No LED is illuminated during this routine. Note also that the end of the routine does not mean that the SEC bit was verified. To ensure that security is properly enabled, attempt to perform another verify routine. If the green LED does not light, the PROM has been secured properly. 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -

eprom Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 0.. Secure PROM and Dump This routine is used after the PROM is successfully programmed to dump the contents of the MCU PROM through the SCI (binary upload) and then to secure the PROM. To accomplish this routine, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Restore V PP power to the programming board.. Set switch S in the OFF position.. Set switches S, S, and S in the ON position.. Set switch in the OUT position (routine is activated). Execution time for this routine is about one second.. Set switch in the RESET position when the routine is completed. No LED is illuminated during this routine. Further, the end of the routine does not mean that the SEC bit was verified. To ensure that security is properly enabled, attempt to perform another verify routine. If the green LED does not light, the PROM has been secured properly... Load Program into RAM and Execute In the load program in RAM and execute routine, user programs are loaded via the SCI port and then executed. Data is loaded sequentially starting at address $000. After the last byte is loaded, control is transferred to the RAM program starting at $001. The first byte loaded is the count of the total number of bytes in the program plus the count byte. The program starts at location $001 in RAM. During initialization, the SCI is configured for eight data bits and one stop bit. The baud rate is 00 with a -MHz crystal or 00 with a -MHz crystal. To load a program into RAM and execute it, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Connect V PP to V DD.. Set switches S, S, and S in the OFF position.. Set switch S in the ON position.. Set switch in the OUT position (routine is activated). The downloaded program starts executing as soon as the last byte is received by the SCI. MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -

eprom Fri Oct 1 1:01: 1 Execution of the routine can be held off by setting the byte count in the count byte (the first byte loaded) to a value greater than the number of bytes to be loaded. After loading the last byte, the firmware waits for more data. Program execution does not begin. At this point, placing switch in the RESET position resets the MCU with the RAM data intact. Any other routine can be entered, including the one to execute the program in RAM, simply by setting switches S S as necessary to select the desired routine, then setting switch in the OUT position... Execute Program in RAM This routine allows the MCU to transfer control to a program previously loaded in RAM. This program is executed once bootstrap mode is entered, if switch S is in the ON position and switch is in the OUT position, without any firmware initialization. The program must start at location $001 to be compatible with the load program in RAM routine. To run the execute program in RAM routine, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Connect V PP to V DD.. Set switch S in the OFF position.. Switches S, S, and S can be in either position.. Set switch in the OUT position (routine is activated)... Dump PROM Contents In the dump PROM contents routine, the PROM contents are dumped sequentially to the SCI output, provided the PROM has not been secured. The first location sent is $000 and the last location sent is $1FFF. Unused locations are skipped so that no gaps exist in the data stream. The external memory address lines indicate the current location being sent. Data is sent with eight data bits and one stop bit at 00 baud with a -MHz crystal or 00 baud with a -MHz crystal. To run the dump PROM contents routine, take the following steps: 1. Set switch 1 in the ON position (restores V DD ).. Connect V PP to V DD.. Set switches S and S in the OFF position.. Set switches S and S in the ON position.. Set switch in the OUT position (routine is activated).. Once PROM dumping is complete, set switch in the RESET position. 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -

eprom 1 Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 0. Control Registers The following paragraphs describe three registers that control memory configuration, PROM security, and IRQ edge or level sensitivity; port B pullups; and non-programmable COP enable/disable...1 Option Register (Option) The option register shown in Figure - is used to select the IRQ sensitivity, enable the PROM security, and select the memory configuration. Option $1FDF Read: Write: Figure -. Option Register (Option) RAM0 Random-Access Memory Control Bit 0 1 = Maps bytes of RAM into page zero starting at address $000. Addresses from $000 to $00F are reserved. This bit can be read or written at any time, allowing memory configuration to be changed during program execution. 0 = Provides bytes of PROM at location $000 $00F. RAM1 Random-Access Memory Control Bit 1 1 = Maps bytes of RAM into page one starting at address $00. This bit can be read or written at any time, allowing memory configuration to be changed during program execution. 0 = Provides bytes of PROM at location $00. SEC Security Bit 1 Bit 0 RAM0 RAM1 0 0 SEC* IRQ 0 Reset: 0 0 0 0 * U 1 0 This bit is implemented as an EPROM cell and is not affected by reset. 1 = Security enabled. 0 = Security off; bootloader able to be enabled. IRQ Interrupt Request Pin Sensitivity = Unimplemented U = Unaffected *Implemented as an EPROM cell IRQ is set only by reset, but can be cleared by software. This bit can only be written once. 1 = IRQ pin is both negative edge- and level-sensitive. 0 = IRQ pin is negative edge-sensitive only. MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -1

eprom 1 Fri Oct 1 1:01: 1 Bits,, and 0 Not used; always read zero. Bit Unaffected by reset; reads either one or zero... Mask Option Register 1 (MOR1) MOR1 shown in Figure - is an EPROM register that enables the port B pullup devices. Data from MOR1 is latched on the rising edge of the voltage on the RESET pin. (See.. Port B Interrupts.) MOR1 $1FF0 Read: Write: Reset: Bit 1 Bit 0 PBPU PBPU PBPU PBPU PBPU PBPU PBPU1 PBPU PBPU0 Port B Pullup Enable Bits 0 These EPROM bits enable the port B pullup devices. 1 = Port B pullups enabled 0 = Port B pullups disabled NOTE PBPU0/COPC programmed to a one enables the port B pullup bit. This bit is also used to clear the non-programmable COP (MCHC0CA type). Writing to this bit to clear the COP will not affect the state of the port B pull-up (bit 0). (See.. Programmable and Non-Programmable COP Watchdog Resets.) NOTE Unaffected by reset Erased: 0 0 0 0 0 0 0 0 Figure -. Mask Option Register 1 (MOR1) When using the MCHC0CA in an MCHC0C or MCHSC0C application, program locations $1FF0 and $1FF1 to $00. PBPU0/ COPC 1 1 1 1 1 1 1 0 MCHC0CA EPROM/OTPROM (PROM) MOTOROLA -1

eprom Fri Oct 1 1:01: 1 1 1 1 1 1 1 1 0.. Mask Option Register (MOR) MOR shown in Figure - is an EPROM register that enables the non-programmable COP watchdog. Data from MOR is latched on the rising edge of the voltage on the RESET pin. (See.. Programmable and Non-Programmable COP Watchdog Resets.) MOR $1FF1 Read: Write: Reset: Figure -. Mask Option Register (MOR) OPE Non-Programmable COP Watchdog Enable This EPROM bit enables the non-programmable COP watchdog. 1 = Non-programmable COP watchdog enabled 0 = Non-programmable COP watchdog disabled. EPROM Erasing Bit 1 Bit 0 Unaffected by reset Erased: 0 0 0 0 0 0 0 0 = Unimplemented OPE The erased state of an EPROM or OTPROM byte is $00. EPROM devices can be erased by exposure to a high intensity ultraviolet (UV) light with a wavelength of Å. The recommended erasure dosage (UV intensity on a given surface area times exposure time) is 1 Ws/cm. UV lamps should be used without short-wave filters, and the EPROM device should be positioned about one inch from the UV source. OTPROM devices are shipped in an erased state. Once programmed, they cannot be erased. Electrical erasing procedures cannot be performed on either EPROM or OTPROM devices. MOTOROLA EPROM/OTPROM (PROM) MCHC0CA -