AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 60

no-image

AN2156

Manufacturer Part Number
AN2156
Description
Programming and Erasing FLASH and EEPROM Memories on the MC68HC908AS60A/AZ60A
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
*
* Description:
*
***************************************************************************
***************************************************************************
*****
***************************************************************************
FLASH_addr
Buffer_addr
data
size
times
temp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
***************************************************************************
***************************************************************************
*
* SST FLASH Memory Program & Erase Subroutines on the MC68HC908AS60A/AZ60A*
*
***************************************************************************
* File Name: SSTflash.srt
*
* Current Revision: 1.1
* Current Release Level: RP
* 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
*
* Revision History:
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
60
Module Size (Bytes):
Stack Space Used (Bytes):
RAM Used (Bytes):
Global Variable(s) Used:
Rev. 1.1
RAM variable definitions for SSTprog.mrt and SSTerase.mrt
rmb
rmb
rmb
rmb
rmb
rmb
Delay time evaluation code added
$2
$2
!64
$1
$1
$1
Ver.: 3.16
Motorola Applications Engineering - Austin, TX
Freescale Semiconductor, Inc.
For More Information On This Product,
RAM Variables
;16 bit Address of FLASH memory to erase
; or program
;16 bit Address of RAM data buffer
;64 data bytes that will be programmed
;1 byte storage of the byte number
; contained in a row
;1 byte in which the delay time will be
; determined
;1 byte temporary storage
FlashErase
ProgRow
WriteFLCR
ms_delay
FlashErase
ProgRow
WriteFLCR
ms_delay
FlashErase
ProgRow
WriteFLCR
ms_delay
FlashErase
Go to: www.freescale.com
Copyright (c) Motorola 2001
82
76
20
16
2
2
0
0
4
70
0
1
FLASH_addr
*****
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
MOTOROLA
AN2156

Related parts for AN2156