Motorola M68EZ328ADS user manual Control Switches, DIP Switches, DIP Switch pack S1 Setting

Page 18

Freescale Semiconductor, Inc.

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Freescale Semiconductor, Inc.

Hardware Description and Board Operation

3.2 CONTROL SWITCHES

There are two push buttons on the ADS which function as follows:

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

1.Reset Switch (SW2): When pressed, a hardware reset is generated to the MC68EZ328 processor and resumes operation.

2.Abort Switch (SW1): This switch is used to generate a level 7 interrupt to the MC68EZ328 processor for aborting normal software execution and returning control to the debug monitor.

3.3DIP SWITCHES

There are two DIP switch packs on the ADS board, S1 and S2. S1 is used to configure the memory system and operation modes. S2 is used to enable the on-board peripheral such as buzzer and touch panel controller. Table 3-1and Table 3-2show the description of each switch.

Table 3-1. DIP Switch pack S1 Setting

Switch

FUNCTION

ON

OFF

S1-1

UART Transceiver

Enable

Disable

 

 

 

 

S1-2

IrDA Module

Enable

Disable

 

 

 

 

S1-3

Buzzer

Enable

Disable

 

 

 

 

S1-4

Pen IRQ

Enable

Disable

 

 

 

 

S1-5

Chip Select of Touch Panel Controller

Enable

Disable

 

 

 

 

S1-6

Unused

 

 

 

 

 

 

S1-7

Unused

 

 

 

 

 

 

S1-8

Unused

 

 

 

 

 

 

Table 3-2. DIP Switch pack S2 Setting

Switch

FUNCTION

ON

OFF

S2-1

CSA0 - FLASH0

Connected

Disconnected

 

 

 

 

S2-2

CSA1 - FLASH1

Connected

Disconnected

 

 

 

 

S2-3

CSD0 - EDO DRAM

Connected

Disconnected

 

 

 

 

S2-4

EMU Mode

Enable

Disable

 

 

 

 

S2-5

Bootstrap Mode

Enable

Disable

 

 

 

 

S2-6

Monitor Select

SDS

Metrowerks

 

 

 

 

S2-7

Unused

 

 

 

 

 

 

S2-8

Unused

 

 

 

 

 

 

3-17M68EZ328ADS v2.0 USER’S MANUALMOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Image 18
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 Features Section General InformationIntroduction Related Documentation Technical Support 1.4.1 M68EZ328ADSDebugger 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 monitorConnecting M68EZ328ADS v2.0 to PC Installing software debuggerMetrowerks 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 InterfaceExpansion Connectors Single Tone GeneratorLogic 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 TxdrdyBootstrap Error EchoEND 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#$0000,GRPBASED #0,PCSEL#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