Motorola M68EZ328ADS user manual Operation Modes, LED Indicators, Operation Mode Setting

Page 19

Freescale Semiconductor, Inc.

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Freescale Semiconductor, Inc.

Hardware Description and Board Operation

3.4 OPERATION MODES

M68EZ328ADS v2.0 supports three operation modes of MC68EZ328: EMU Mode, Normal

Mode and BootstrapARCHIVEDModeBY. SelectionFREESCALEof theseSEMICONDUCTOR,operation modesINCis .controlled2005 by DIP switch S2-8. Operation mode has to be selected before resetting the system. Mode is not allowed to change during normal running. Table 3-3shows the operation mode configuration.

Table 3-3. Operation Mode Setting

DIP Switch S2-4

DIP Switch S2-5

Operation Mode

ON

OFF

EMU

 

 

 

OFF

OFF

Normal

 

 

 

ON

ON

Bootstrap

 

 

 

OFF

ON

Bootstrap

 

 

 

Normal Mode - After power up or system reset in this mode, CSA0 is default to cover the whole memory map except MC68EZ328 internal registers and EMU space. Also, as reset vector fetch is at the beginning of CSA0 space, CSA0 should be connected to the boot ROM in which the first two words are reset vectors.

Bootstrap Mode - When this mode is selected, the DragonBall-EZ will start its embedded bootloader. User can use this mode to do simple debugging or reprogram the flash memo- ries. For detailed bootstrap mode operation, please refer MC68EZ328 user’s manual.

EMU Mode - When this mode is selected, the reset vectors are generated internally by the ICE module of MC68EZ328. The first instruction fetch is at $FFFC0020. Therefore, in EMU mode the debug monitor of MC68EZ328ADS v2.0 is located beginning at $FFFC0020. EMUCS is always running in 8-bit data bus mode covering the address space from $FFFC0000 to $FFFD0000

3.5 LED INDICATORS

There are four LED indicators on the ADS which function as shown in Table 3-4.

Table 3-4. Function of LED Indicators

Reference #

Color

Name

Function

LED3

Yellow

PD0

Status of PD0

 

 

 

 

LED4

Yellow

PD1

Status of PD1

 

 

 

 

LED1

Red

Heart Beat

Blinking heart beat indicates the system is "alive"

 

 

 

 

LED2

Green

Power

Power is applied to the system with right polarity

 

 

 

 

The LED3 is connected to a counter. The counter is toggled by address line A1.

MOTOROLAM68EZ328ADS v2.0 USER’S MANUAL3-18

For More Information On This Product,

Go to: www.freescale.com

Image 19
Contents Preliminary Freescale Semiconductor, IncTable of Contents Programming On-board Flash Memory Appendix aComparison of M68EZ328ADS Version 1.x Resistive Touch Panel OperationIii M68EZ328ADS v2.0 USER’S Manual List of Illustrations List of Tables Section General Information FeaturesIntroduction Technical Support 1.4.1 M68EZ328ADS Related DocumentationDebugger Equipments Required Section Quick Installation GuideInstallation Procedure OverviewM68EZ328ADS v2.0 Key Component Layout DIP Switch Options for SDS monitor Default DIP Switch Options for Metrowerks 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 Section Hardware Description and Board Operation M68EZ328ADS v2.0 Functional Block DiagramDIP Switch pack S2 Setting Control SwitchesDIP Switches DIP Switch pack S1 SettingOperation Modes LED IndicatorsOperation Mode Setting Function of LED IndicatorsFlash Memory M68VZ328ADS v2.0 Default Memory MapMemory Memory MapInterface of EMU ROM EMU ROMMC68EZ328 CSD1 EDO DramMC68VZ328 Uart and IrdaLCD Interface LCD and Touch Panel InterfaceTouch Panel Interface Signal Assignment for Touch Panel ControllerSingle Tone Generator Expansion ConnectorsLogic Analyzer Interface Pin Assignments of P4 Power SupplyGND VEE Software Table A-2. Software Change for using M68EZ328ADSAppendix a Comparison of M68EZ328ADS Version 1.X HardwareFreescale Semiconductor, Inc General Concepts of Resistive Panels Appendix B Resistive Touch Panel OperationDetermination of X,Y Position Elements for Programming the Flash Appendix C Programming ON-BOARD Flash MemoryOffset Address of ROM Image MethodExecuting Program Command Sequence NOW Echo Program EnableError PollingFinish Txdrdy ProgramVerifiy NOV EchoError Echo BootstrapEND Figure C-2. Flash Program Algorithm Freescale Semiconductor, Inc Appendix D Monitor Initialization Code Initialization Code of Metrowerks Monitor RESET.SMonitor Initialization Code Freescale Semiconductor, Inc Lcxp Reset OptionsLxmax Lymax#$08,ICEMCR #$9,PGSEL#MONSTACKTOP,A7 #0,RTCWDInitialization Code of SDS Monitor MONITOR.H Equ M328BASE+$150 PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC Baseout Addressing OptionsDevice Options BaseinStoplevel AcrvalIrqmask Interrupt Behavior OptionsMonstacktop UsrresetResethard #$7,ICEMSR#0,PCSEL #$0000,GRPBASED#0,PCPDEN Other Definitions BASEIN+OFF6BASEIN+OFF7 ACREndmARCHIVED by Freescale SEMICONDUCTOR, INC Freescale Semiconductor, Inc M68EZ328ADS Appendix E SchematicsM68EZ328ADS By Freescale SEMICONDUCTOR, INC Memory LCD Screen IncUart Ports FreescaleIrDA Reset Circuit Misc Logic Analyzer Connectors Test pin & VME connector