Motorola M68EVB912B32 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Cartes mères Motorola M68EVB912B32. Motorola M68EVB912B32 User`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 16
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
© Motorola, Inc., 1998 EB183 — Rev. 1.0
Order this document
by EB183/D
REV. 1.0
Motorola Semiconductor Engineering Bulletin
EB183
Erasing and Programming the FLASH EEPROM
on the MC68HC912B32
By Matt Ruff
M68HC11 and M68HC12 Applications
Austin, Texas
Introduction
This document outlines basic routines to program the FLASH EEPROM
through the background debug mode interface (BDM) using a Motorola
serial debug interface (SDIL) and the SDBUG12 (version 2.15) software
from P & E Microcomputer Systems, Inc.
One of the reasons the MC68HC912B32 device is so useful is that it
contains 32 Kbytes of embedded FLASH EEPROM. This module serves
as electrically programmable and erasable, non-volatile ROM emulation
memory, allowing for storage of program code which must be executed
frequently, must execute at high speeds, or which might need to be
upgraded in the field at a later time. Commonly used code segments,
such as standard subroutines or even operating systems, as well as
static data tables can be stored in the FLASH EEPROM.
Vue de la page 0
1 2 3 4 5 6 ... 15 16

Résumé du contenu

Page 1 - Introduction

© Motorola, Inc., 1998 EB183 — Rev. 1.0Order this documentby EB183/DREV. 1.0Motorola Semiconductor Engineering BulletinEB183Erasing and Programming th

Page 2 - FLASH EEPROM Control Block

Engineering BulletinEB183 — Rev. 1.010 MOTOROLAFigure 5. Erase Sequence FlowSTART ERASESET LATSET ERASWRITE TO ARRAYSET ENPEREADNOARRAY FAILED TO ERAS

Page 3 - 00000000

Engineering BulletinProgramming the FLASH ArrayEB183 — Rev. 1.0MOTOROLA 11Programming the FLASH ArrayThe following code segment follows the recommende

Page 4

Engineering BulletinEB183 — Rev. 1.012 MOTOROLASTART LDS #$B00 ;(Turn on your Vfp power supply to board) BRCLR FEECTL,$08,ER

Page 5 - Hardware Configuration

Engineering BulletinProgramming the FLASH ArrayEB183 — Rev. 1.0MOTOROLA 13;------------------------------------------------;--------- Error Subrou

Page 6 - Software Considerations

Engineering BulletinEB183 — Rev. 1.014 MOTOROLAFigure 6. Program Sequence FlowSTART PROGSET LATCLEAR ERASWRITE DATATO ADDRESSSET ENPEREADGET NEXTADDRE

Page 7 - Erasing the FLASH Array

Engineering BulletinConclusionEB183 — Rev. 1.0MOTOROLA 15ConclusionThis bulletin gives an overview of the basics of erasing and programmingthe FLASH a

Page 8

NON-DISCLOSURE AGREEMENT REQUIREDEngineering BulletinEB183/D© Motorola, Inc., 1998Motorola reserves the right to make changes without further notice

Page 9

Engineering BulletinEB183 — Rev. 1.02 MOTOROLAFLASH EEPROM Control BlockThe FLASH EEPROM is controlled by a 4-byte register block, which islocated at

Page 10 - Engineering Bulletin

Engineering BulletinFLASH EEPROM Control BlockEB183 — Rev. 1.0MOTOROLA 3FLASH EEPROMModuleConfigurationRegisterThe FEEMCR register (located at $00F5)

Page 11 - Programming the FLASH Array

Engineering BulletinEB183 — Rev. 1.04 MOTOROLAFLASH EEPROMControl RegisterThe FEECTL register (located at $00F7) controls the actualprogramming and er

Page 12

Engineering BulletinHardware ConfigurationEB183 — Rev. 1.0MOTOROLA 5Hardware ConfigurationSetting up theDebuggingHardwareSince programming the FLASH E

Page 13

Engineering BulletinEB183 — Rev. 1.06 MOTOROLASoftware ConsiderationsUsing SDBUG12 to manipulate the FLASH EEPROM requires somespecial considerations.

Page 14

Engineering BulletinErasing the FLASH ArrayEB183 — Rev. 1.0MOTOROLA 7Erasing the FLASH ArrayThis code segment follows the recommended procedure for er

Page 15 - Conclusion

Engineering BulletinEB183 — Rev. 1.08 MOTOROLASTEP2 MOVB #$06,FEECTL ;Set ERAS and set LAT in FEECTL BRCLR FEECTL,$08,ERROR ;If Vfp

Page 16

Engineering BulletinErasing the FLASH ArrayEB183 — Rev. 1.0MOTOROLA 9;------------------------------------------------;---- Read and Verify Erase su

Commentaires sur ces manuels

Pas de commentaire