AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 81
AN2156
Manufacturer Part Number
AN2156
Description
Programming and Erasing FLASH and EEPROM Memories on the MC68HC908AS60A/AZ60A
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2156.pdf
(84 pages)
- Current page: 81 of 84
- Download datasheet (509Kb)
$INCLUDE
LIST
***************************************************************************
*****
***************************************************************************
Start:
***************************************************************************
*****
***************************************************************************
$INCLUDE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
***************************************************************************
***************************************************************************
*
*
*
***************************************************************************
* File Name: AutoEEPROM.var
*
* Current Revision: 1.0
* Current Release Level: RP
* Current Revision Release Date: 6/21/2000
*
* Current Release Written By: Adeela Gill and Kazue Kikuchi
AN2156
MOTOROLA
EEPROM AUTO Programming and Erasing on the MC68HC908AS60A/AZ60A
org
org
mov
lda
sta
lda
sta
sta
lda
sta
sta
lda
sta
ldhx
sthx
lda
jsr
lda
jsr
bra
ram1
"AutoEEPROM.var"
ram2
#$71,config-1
#$98
config-2
#$80
EE1DIVH
EE2DIVH
#$56
EE1DIVL
EE2DIVL
#$55
data
#$0634
EEPROM_addr
#auto_bulkerase.
AutoRoutine
#auto_byteprogram.
AutoRoutine
*
"AutoEEPROM.srt"
Subroutine Body Includes Section
Freescale Semiconductor, Inc.
For More Information On This Product,
;RAM variable definitions
;Turn off the COP, but leave the LVI on
;Select bus clock as reference clock
; source
;For setting a constant timebase of 35us
; write $80 AND $56 to EExDIVH and
; EExDIVL, respectively
; Note: If the EExDIVHNVR and EExDIVLNVR
;
;
;Write data $55 to RAM buffer
;Load EEPROM_addr with address of where
; the byte should be erased and programmed
;Select Bulk, Block or Byte Erase
;Erase the selected EEPROM size using AUTO
; Mode
;Select Byte Program
;Program one byte using AUTO Mode
Main Routine
Go to: www.freescale.com
registers are programmed with proper
values, this step is not necessary
;Auto EEPROM subroutines
Copyright (c) Motorola 2001
EEPROM AUTO Mode Assembly Source Code
*****
*****
*
*
*
*
*
*
*
*
*
*
Application Note
81
Related parts for AN2156
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola