AN1827 Freescale Semiconductor / Motorola, AN1827 Datasheet - Page 40

no-image

AN1827

Manufacturer Part Number
AN1827
Description
Programming and Erasing FLASH Memory on the MC68HC908AS60
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
Load:
No_Error:
************************************************************************************
*****
************************************************************************************
$INCLUDE
************************************************************************************
*****
************************************************************************************
************************************************************************************
************************************************************************************
*
*
*
************************************************************************************
* File Name: Prog_er.var
*
* Current Revision: 1.0
* Current Release Level: RP
* Current Revision Release Date: 9/6/99
*
* Current Release Written By: Kim Sparks
*
*
* Assembled Under: CASM08 (P&E Micro Inc.)
*
* Project Folder Name: FLASH_2TS
*
* Part Family Software Routine Works With: HC08
*
* RAM Used (Bytes):
*
40
clrh
ldx
stx
decx
bne
jsr
cbeqa
bra
bra
org
fdb
Programming and Erasing FLASH 2TS Memory on the MC68HC908AS60
#8
data-1,X
Load
Prog8Bytes
#0,No_Error
*
*
"prog_er.srt"
reset
Start
Freescale Semiconductor, Inc.
11
For More Information On This Product,
Subroutine Body Includes Section
Motorola Systems Engineering - Austin, TX
Go to: www.freescale.com
Vectors
Copyright (c) Motorola 1999
; programmed. Must be XXX0 or XXX8
;Fill the RAM buffer, data, with values
; to program into FLASH.
; (ie. 01,02,03,04,05,06,07,08)
;Program the 8 data bytes
;Check if a programming error occurred
; **Programming failed**
; Take appropriate action
; **Programming successful**
; End of program
;Prog8Bytes, WriteFLCR and Delay
; subroutines
Ver.: 3.06 SLD
MOTOROLA
AN1827
*****
*****
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*

Related parts for AN1827