User`s manual

Monitor Initialization Code
D-50 M68EZ328ADS v2.0 USER’S MANUAL MOTOROLA
move.w #$07,ICEMSR ; clear level 7 interrupt
;*****************************
; Init Code for 512Kx16 Flash
;*****************************
move.w #$0400,GRPBASEA ; GROUPA BASE(FLASH), Start address=0x800000
move.w #$0189,CSA ; 2MB each, 0ws, FLASH,
;**********************************
; Init Code 4Mx16 (12/10) EDO DRAM
;**********************************
move.w #$8F00,DRAMCFG ; DRAM Memory Config Register
; Col Address = PA1-PA10; Row Address = PA11-PA22
move.w #$9667,DRAMCTL ; DRAM Control Register, 0ws
move.w #$0000,GRPBASED ; GROUPA BASE(DRAM), Start address=0x000000-
0x7FFFFF
move.w #$069F,CSD ; enable DRAM cs
;**********************************
; Init Code for EMUCS
;**********************************
move.w #$30,EMUCS ; 3ws
clr.l d0
clr.l d1
clr.l d2
clr.l d3
clr.l d4
clr.l d5
clr.l d6
clr.l d7
;**********************************************************************
;
; LCD Temp init for screen protection
;
;**********************************************************************
move.b #0,PCSEL
move.b #0,PCPDEN
move.l #$4000,LSSA
move.w #160,LXMAX
move.w #239,LYMAX
move.b #10,LVPW
move.b #$08,LPICF
move.b #$01,LPOLCF
move.b #$00,LACDRC
move.b #$02,LPXCD
move.b #$14,LRRA
move.b #$00,LPOSR
move.b #$00,LCKCON ; disable LCDC
move.b #$80,LCKCON ; enable LCDC, 0ws, 16-bit
;**********************************************************************
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005