参数资料
型号: MC68HC05G1B
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP56
封装: SDIP-56
文件页数: 12/124页
文件大小: 732K
代理商: MC68HC05G1B
MC68HC05G1
MOTOROLA
12-5
OPERATING MODES
12
12.3.1
Programming Control Register (PCR)
ELAT - EPROM Latch Control
1 (set)
EPROM address and data bus congured for programming (writes to
EPROM cause address data to be latched). EPROM is in
programming mode and cannot be read if ELAT is 1. This bit is not
able be set when no VPP voltage is applied to the VPP pin.
0 (clear) –
EPROM address and data bus congured for normal reads.
PGM - EPROM Program Command
1 (set)
Programming power switched on to EPROM array. If ELAT not = 1
then PGM = 0.
0 (clear) –
Programming power switched off to EPROM array.
12.3.2
EPROM Programming Sequence
Programming the EPROM of the MC68HC705G1 is as follows:
1) Set the ELAT bit.
2) Write the data to be programmed to the address to be programmed.
3) Set the PGM bit.
4) Delay for the appropriate amount of time.
5) Clear the PGM and the ELAT bits.
The last action may be carried out in a single CPU write operation. It is important to remember
that an external programming voltage must be applied to the VPP pin while programming, but
should be equal to VDD during normal operation.
Example shows address $2000 is programmed with $00.
CLR
PCR
;reset PCR
LDX
#$00
;load index register with 00
BSET
1,PCR
;set ELAT bit
LDA
#$00
;load data = 00 in to A
STA
$2000,X
;latch data and address
BSET
0,PCR
;program
JSR
DELAY
;call delay subroutine
CLR
PCR
;reset PCR
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$3D
ELAT
PGM
---- --00
TPG
105
相关PDF资料
PDF描述
MC68HC705JB2DW 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDSO20
MC68HC705JB2P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP20
MC68HC705JB4P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP28
MC68HC705K1CDW 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PDSO16
MC68HC705K1CP 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PDIP16
相关代理商/技术参数
参数描述
MC68HC05J1 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05J1A 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ACDW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ACP 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ADW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers