AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 58
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: 58 of 84
- Download datasheet (509Kb)
Application Note
* Current Revision Release Date: 6/21/2001
*
* Current Release Written By: Adeela Gill and Kazue Kikuchi
*
*
* Assembled Under: CASM08Z (P&E Microcomputer Systems, Inc.)
*
*
* Part Family Software Routine Works With: HC08
*
* Routine Size (Bytes):
* Stack Space Used (Bytes):
* RAM Used (Bytes):
* Global Variables Used:
* Subroutine Called:
*
* Full Functional Description Of Routine Design:
*
*
*
*
*
***************************************************************************
***************************************************************************
*****
***************************************************************************
NOLIST
$INCLUDE
$INCLUDE
LIST
***************************************************************************
*****
***************************************************************************
Start:
Data_load:
58
SSTprog.mrt is the main routine for the programming operation. It *
demonstrates an SST programming algorithm that minimizes the
amount of time needed to program a row of FLASH memory on the
MC68HC908AS60A or the MC68HC908AZ60A. One row consists of 64
consecutive bytes of FLASH memory within specified address ranges.*
org
org
mov
ldhx
lda
sta
inca
aix
cphx
bne
ldhx
sthx
lda
sta
ldhx
sthx
jsr
"H908AS60A.frk"
ram1
"SSTflash.var"
ram2
#$71,config-1
#$0000
#$1
data,x
#$1
#!64
Data_load
#data
Buffer_addr
#!64
size
#$8040
FLASH_addr
ProgRow
Ver.: 3.16
Motorola Applications Engineering - Austin, TX
Freescale Semiconductor, Inc.
For More Information On This Product,
269
4
69
FLASH_addr, Buffer_addr, data, size
ProgRow
Main Routine
Include Files
;Equates for all registers and bits in
; the MC68HC908AS60A
;RAM variable definitions
;Turn off the COP, but leave the LVI on
;Fill the RAM buffer, 64 bytes data,
; values to program into FLASH
; (ie. 01,02,03,........,3E,3F,40)
;Load Buffer_addr with the start address
; of the RAM buffer
;Set the number of bytes to program
;Load FLASH_addr with programming start
; address
;Program a row
Go to: www.freescale.com
*****
*****
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
MOTOROLA
AN2156
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