Motorola M68EZ328ADS user manual Equ M328BASE+$150

Page 46

Freescale Semiconductor, Inc.

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Monitor Initialization Code Freescale Semiconductor, Inc.

DRAMCTL

equ

(M328BASE+$C02)

EMUCS

equ

(M328BASE+$118)

CSCTR

equ

(M328BASE+$150)

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

; PLL Registers

 

 

PLLCR

equ

(M328BASE+$200) ; Control Reg

PLLFSR

equ

(M328BASE+$202) ; Freq Select Reg

PLLTSR

equ

(M328BASE+$204) ; Test Reg

; Power Control

Registers

PCTLR

equ

(M328BASE+$206) ; Control Reg

; Interrupt Registers

 

IVR

equ

(M328BASE+$300) ; Interrupt Vector Reg

ICR

equ

(M328BASE+$302) ; Interrupt Control Reg

IMR

equ

(M328BASE+$304) ; Interrupt Mask Reg

ISR

equ

(M328BASE+$30C) ; Interrupt Status Reg

IPR

equ

(M328BASE+$310) ; Interrupt Pending Reg

; PIO Registers

 

 

 

 

; Port A Registers

PADIR

equ

(M328BASE+$400) ; Direction Reg

PADATA

equ

(M328BASE+$401) ; Data Reg

PAPUEN

equ

(M328BASE+$402) ; Pullup Enable Reg

 

 

; Port B Registers

PBDIR

equ

(M328BASE+$408) ; Direction Reg

PBDATA

equ

(M328BASE+$409) ; Data Reg

PBPUEN

equ

(M328BASE+$40A) ; Pullup Enable Reg

PBSEL

equ

(M328BASE+$40B) ; Select Reg

 

 

; Port C Registers

PCDIR

equ

(M328BASE+$410) ; Direction Reg

PCDATA

equ

(M328BASE+$411) ; Data Reg

PCPDEN

equ

(M328BASE+$412) ; Pull-down Enable Reg

PCSEL

equ

(M328BASE+$413) ; Select Reg

 

 

; Port D Registers

PDDIR

equ

(M328BASE+$418) ; Direction Reg

PDDATA

equ

(M328BASE+$419) ; Data Reg

PDPUEN

equ

(M328BASE+$41A) ; Pullup Enable Reg

PDSEL

equ

(M328BASE+$41B) ; port D select

PDPOL

equ

(M328BASE+$41C) ; Polarity Reg

PDIRQEN

equ

(M328BASE+$41D) ; IRQ Enable Reg

PDIRQEDGE

equ

(M328BASE+$41F) ; IRQ Edge Reg

 

 

; Port E Registers

PEDIR

equ

(M328BASE+$420) ; Direction Reg

PEDATA

equ

(M328BASE+$421) ; Data Reg

PEPUEN

equ

(M328BASE+$422) ; Pullup Enable Reg

PESEL

equ

(M328BASE+$423) ; Select Reg

 

 

; Port F Registers

PFDIR

equ

(M328BASE+$428) ; Direction Reg

PFDATA

equ

(M328BASE+$429) ; Data Reg

PFPUEN

equ

(M328BASE+$42A) ; Pullup Enable Reg

PFSEL

equ

(M328BASE+$42B) ; Select Reg

 

 

; Port G Registers

PGDIR

equ

(M328BASE+$430) ; Direction Reg

PGDATA

equ

(M328BASE+$431) ; Data Reg

D-45M68EZ328ADS v2.0 USER’S MANUALMOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Image 46
Contents Freescale Semiconductor, Inc PreliminaryTable of Contents Resistive Touch Panel Operation Appendix aComparison of M68EZ328ADS Version 1.x Programming On-board Flash MemoryIii M68EZ328ADS v2.0 USER’S Manual List of Illustrations List of Tables Section General Information FeaturesIntroduction Technical Support 1.4.1 M68EZ328ADS Related DocumentationDebugger Overview Section Quick Installation GuideInstallation Procedure Equipments RequiredM68EZ328ADS v2.0 Key Component Layout Default DIP Switch Options for Metrowerks monitor DIP Switch Options for SDS monitorInstalling software debugger Connecting M68EZ328ADS v2.0 to PCMetrowerks Codewarrior Select ADS68EZ328 Stationery for new project Change the connection settings in the Debug Settings Windows Debug Pop-Up Window of SDS Connection Setting inside Debug Pop-up Window of SDS M68EZ328ADS v2.0 Functional Block Diagram Section Hardware Description and Board OperationDIP Switch pack S1 Setting Control SwitchesDIP Switches DIP Switch pack S2 SettingFunction of LED Indicators LED IndicatorsOperation Mode Setting Operation ModesMemory Map M68VZ328ADS v2.0 Default Memory MapMemory Flash MemoryEMU ROM Interface of EMU ROMEDO Dram MC68EZ328 CSD1Uart and Irda MC68VZ328LCD and Touch Panel Interface LCD InterfaceSignal Assignment for Touch Panel Controller Touch Panel InterfaceSingle Tone Generator Expansion ConnectorsLogic Analyzer Interface Power Supply Pin Assignments of P4GND VEE Hardware Table A-2. Software Change for using M68EZ328ADSAppendix a Comparison of M68EZ328ADS Version 1.X SoftwareFreescale Semiconductor, Inc Appendix B Resistive Touch Panel Operation General Concepts of Resistive PanelsDetermination of X,Y Position Appendix C Programming ON-BOARD Flash Memory Elements for Programming the FlashMethod Offset Address of ROM ImageExecuting Program Command Sequence Polling Program EnableError NOW EchoNOV Echo ProgramVerifiy Finish TxdrdyError Echo BootstrapEND Figure C-2. Flash Program Algorithm Freescale Semiconductor, Inc Initialization Code of Metrowerks Monitor RESET.S Appendix D Monitor Initialization CodeMonitor Initialization Code Freescale Semiconductor, Inc Lymax Reset OptionsLxmax Lcxp#0,RTCWD #$9,PGSEL#MONSTACKTOP,A7 #$08,ICEMCRInitialization Code of SDS Monitor MONITOR.H Equ M328BASE+$150 PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC Basein Addressing OptionsDevice Options BaseoutInterrupt Behavior Options AcrvalIrqmask Stoplevel#$7,ICEMSR UsrresetResethard Monstacktop#0,PCSEL #$0000,GRPBASED#0,PCPDEN ACR BASEIN+OFF6BASEIN+OFF7 Other DefinitionsEndmARCHIVED by Freescale SEMICONDUCTOR, INC Freescale Semiconductor, Inc Appendix E Schematics M68EZ328ADSM68EZ328ADS By Freescale SEMICONDUCTOR, INC Memory Inc LCD ScreenFreescale Uart PortsIrDA Reset Circuit Misc Logic Analyzer Connectors Test pin & VME connector