AN2183 Freescale Semiconductor / Motorola, AN2183 Datasheet - Page 31

no-image

AN2183

Manufacturer Part Number
AN2183
Description
Using FLASH as EEPROM on the MC68HC908GP32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;********************************************************************************************
.set
;*
;*
init_config2:
init_config1:
init_stack:
;*****
;*
init_scc1:
init_scc2:
init_scc3:
init_scbr:
;*
;*
buffer:
;*
;*
Start:
;
;
;
AN2183
MOTOROLA
Microcontroller Peripheral Equates
Global Variables
Power-on Reset
Initialize the CGM for 7.3728 MHz bus speed from 32.768 kHz crystal.
death may occur.
intended or unauthorized application, Buyer shall indemnify and hold Motorola and
its officers, employees, subsidiaries, affiliates, and distributors harmless against
all claims, costs, damages, and expenses, and reasonable attorney fees arising out
of, directly or indirectly, any claim of personal injury or death associated with
such unintended or unauthorized use, even if such claim alleges that Motorola was
negligent regarding the design or manufacture of the part.
Motorola and the Motorola logo are registered trademarks of Motorola Ltd.
simulate
nolist
include "gp32.equ"
list
Serial Communications Interface (SCI)
include "flashee.equ"
org
org
sta
mov
mov
ldhx
txs
ldhx
jsr
equ
equ
equ
equ
equ
equ
equ
ram_start
ds
$9000
copctl
#init_config2,config2
#init_config1,config1
#init_stack+1
#bus7372800
PLLset
*************************************************************************
***********************************************************************
Should Buyer purchase or use Motorola products for any such
%00000001
%00000001
ram_last
%01000000
%00001100
%00000000
%00000000
64
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
*****************************************************
; enable simulation situational assembly
; include microcontroller definitions file
; initial Configuration Register 2
; initial Configuration Register 1
; initialize stack pointer to last RAM location
; initial SCI Control Register 1
; initial SCI Control Register 2
; initial SCI Control Register 3
; initial SCI Baud Rate Register
; include FlashEE paramters file
; generic input data buffer
; clear the COP counter
; initialize Configuration Register 2
; initialize Configuration Register 1
; initialize
;
; point to 7.372800 MHz parameters
; change bus speed
the stack pointer
Application Note
eetest.asm
31
*
*
*
*
*
*
*
*
*
*

Related parts for AN2183