AN2398 Freescale Semiconductor / Motorola, AN2398 Datasheet - Page 20

no-image

AN2398

Manufacturer Part Number
AN2398
Description
In-Circuit Programming of FLASH Memory via the Universal Serial Bus for the MC68HC908JB8
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2398/D
SET_PROG
SET_ERASE
ERASE_ALL
SET_READ
VERIFY_CODE
GET_ICP_STATUS
;
;****************************************************************************
;*
;* Return: Acc = $AF if erase/program succeeds
;*
;*
;****************************************************************************
;
DMCR
ALIF
NAKIF
BB
MAST
DADR
DEN
DCR
DSR
RXIF
TXIF
MATCH
SRW
TXBE
DDTR
DDRR
D2ADR
PDCR
;
ICP_ADDRESS
MCU_ADDRESS
ACK_SIGNAL
NAK_SIGNAL
NOACK_SIGNAL
;
CODE_VER
CODE_PROG
CODE_ME
CODE_BE
CODE_EXIT
;
USE_USB_IPULLUP set
myCode
;
;*==========================================================
;*
;*
;*
;*==========================================================
;
20
Acc = $5F if erase/program fails
In-Circuit Programming of FLASH Memory via the USB for the MC68HC908JB8
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
XDEF
SECTION
Main Program
$81
$82
$83
$84
$87
$8F
$0016
$0007
$0006
$0005
$0004
$0017
$0007
$0018
$0019
$0007
$0006
$0005
$0004
$0001
$001A
$001B
$001C
$0069
$0036
$0034
$00AF
$005F
$005F
$005A
$0055
$00A5
$00AA
$0099
0
_Startup
Short
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
; to fix 1st version bug (000920 bruce+)
; 0 - use internal pullup
MOTOROLA

Related parts for AN2398