SlideServe
Menu
Préférences
© SlideServe · v2026

EPROM PROGRAMMING

indiya avatar
9 diapositives · 406 Views · Aug 24, 2014

EPROM PROGRAMMING. Module Objective. Learn the difference between EPROM and OTPROM. Learn how to program the EPROM. IRQ. LVI. Direct Memory Access Module (DMA). System Integration Module (SIM). Clock Generation Module (CGM). Timer Interface Module (TIM). 68HC08 CPU. RESET.

EPROM PROGRAMMING - slide 1
01 / 9EPROM PROGRAMMING
1 / 17

Télécharger la présentation

EPROM PROGRAMMING
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. EPROMPROGRAMMING

  2. Module Objective • Learn the difference between EPROM and OTPROM.Learn how to program the EPROM.

  3. IRQ LVI Direct Memory Access Module (DMA) System Integration Module (SIM) Clock Generation Module (CGM) Timer Interface Module (TIM) 68HC08 CPU RESET COP BREAK Internal Bus (IBUS) Random Access Memory (RAM) Serial Peripheral Interface (SPI) Electronically Programmable Memory (EPROM) Monitor ROM Serial Communications Interface (SCI) EPROM MODULE • EPROM • Erasable, 36 Kbytes ProgrammableOTPROM • One-Time, 36 Kbytes Programmable ROM • MCU without the quartz window can’t be erased • EPROM/OTPROM Memory Locations: • $6E00 -$FDFF

  4. READ: 0 0 0 0 0 EPMCR $FE07 EPMCPD ELAT EPGM WRITE: RESET: 0 0 0 0 0 0 0 0 EPROM/OTPROM Control Register • EPROM Control Register (EPMCR) • EPROM/OTPROM Charge Pump Disable (EPMCPD) • Used for reading EPROM at low voltage • Disable pump if MCU is operating at 2.7 V or higher 1 = Charge pump disabled 0 = Charge pump enabled • EPROM/OTPROM Latch Control (ELAT) • Latches the address and data buses for programming 1 = Buses set for EPROM/OTPROM programming 0 = Buses set for normal operation • Clearing ELAT also clears the program control bit(EPGM) • Data cannot be read when ELAT is set • EPROM/OTPROM Program Control (EPGM) • Applies IRQ1/VPP voltage to EPROM/OTPROM • ELAT must already be set to write to EPGM 1 = EPROM/OTPROM programming power switched on 0 = EPROM/OTPROM programming power swithced off

  5. EPROM/OTPROM Programming Sequence • Sequence for programming a byte of EPROM/OTPROM: 1) Apply the programming voltage to IRQ1/VPP pin2) 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 note - Clearing the ELAT bit automatically clears the EPGM • Setting the ELAT and EPGM bit with one instruction will set ELAT but clear EPGM. • EPGM must be set by a separate instruction in the programming sequemce.

  6. READ: 0 LVISTOP LVIRST LVIPWR SSREC SEC STOP COPD MOR WRITE: RESET: UNAFFECTED BY RESET Security • Mask Option Register (MOR) • EPROM/OTPROM Security bit (SEC) • Prevents reading of the EPROM/OTPROM • Writing to the MOR register has no effect 1 = EPROM/OTPROM security enabled 0 = EPROM/OTPROM security disabled

  7. Low Power • STOP mode • Charge pump returns to VDD • Exiting STOP mode • Charge pump resumes/stabilizes during oscillator start up

  8. READ: 0 0 0 0 0 EPMCR $FE07 EPMCPD ELAT EPGM WRITE: RESET: 0 0 0 0 0 0 0 0 READ: 0 LVISTOP LVIRST LVIPWR SSREC SEC STOP COPD MOR WRITE: RESET: UNAFFECTED BY RESET Summary