Académique Documents
Professionnel Documents
Culture Documents
PROGRAMMING
Module Objective
EPROM MODULE
Clock
Generation
Module
(CGM)
System
Integration
Module
(SIM)
LVI
IRQ
COP
BREAK
RESET
68HC08
CPU
Timer
Interface
Module
(TIM)
Direct
Memory
Access
Module
(DMA)
Serial
Communications
Interface
(SCI)
Serial
Peripheral
Interface
(SPI)
Random
Access
Memory
(RAM)
Electronically
Programmable
Memory
(EPROM)
Monitor
ROM
EPROM
Erasable, 36 Kbytes ProgrammableOTPROM
One-Time, 36 Kbytes Programmable ROM
MCU without the quartz window cant be erased
EPROM/OTPROM Memory Locations:
$6E00 -$FDFF
RESET:
0
ELAT
EPGM
EPROM/OTPROM
Programming Sequence
Sequence for programming a byte of EPROM/OTPROM:
1) Apply the programming voltage to IRQ1/VPP pin
2) Set the ELAT bit
3) Write to any EPROM/OTPROM address
Note: writing to an invalid address prevents the programming voltage from being
applied.
4) Set the EPGM bit
5) Wait for a time, tEPGM .
6) Clear the ELAT and EPGM bits
Security
MOR
READ:
SEC
STOP
COPD
WRITE:
RESET:
UNAFFECTED BY RESET
Low Power
STOP mode
Charge pump returns to VDD
Exiting STOP mode
Charge pump resumes/stabilizes during oscillator start up
Summary
EPMCR READ:
EPMCPD
$FE07
WRITE:
RESET:
MOR
READ:
0
ELAT
EPGM
SEC
STOP
COPD
WRITE:
RESET:
UNAFFECTED BY RESET