Freescale Semiconductor, Inc.
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
Monitor Initialization Code Freescale Semiconductor, Inc.
move.w #$07,ICEMSR | ; clear level 7 interrupt |
;*****************************
;Init CodeARCHIVEDfor 512Kx16BY FREESCALEFlash SEMICONDUCTOR, INC. 2005
;*****************************
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 = |
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, |
;**********************************************************************
For More Information On This Product,
Go to: www.freescale.com