Motorola user manual Connecting M68EZ328ADS v2.0 to PC, Installing software debugger

Page 12

Quick Installation Guide

Freescale Semiconductor, Inc.

 

2.3.2 Connecting M68EZ328ADS v2.0 to PC

Figure 2-4shows connections among the PC, the external power supply and the M68E Z328ADS v2.0 boardARCHIVED. Use theBY followingFREESCALEstepsSEMICONDUCTOR,to complete cableINCconnections:. 2005

Host Computer

Inc.

INC. 2005

COM1 / COM2

RS232 Cable

3.0-3.3V Power Supply

Debug Port

EZ UART

M68VZ328ADS

Freescale Semiconductor,

ARCHIVED BY FREESCALE SEMICONDUCTOR,

Figure 2-4. Connecting PC to Debug Port of M68EZ328ADS v2.0

For most evaluation platforms, serial communication is the primary channel to link up PC with the target board. Both Metrowerks Codewarrior and Software Development System (SDS) debug monitor support serial communication through UART port. The procedure are as follows.

1.Connect a RS232 cable from COM port (COM1 or COM2) to connector P2 of M68EZ328ADS v2.0.

2.Connect the power supply +3V or power adaptor to the P1 of M68EZ328ADS v2.0

3.Turn on the power supply. The RED LED will flash and the GREEN LED will illuminate when power is correctly applied.

2.3.3 Installing software debugger

The following software debugger supports M68EZ328ADS v2.0:

Metrowerks Codewarrior

Single Step Development System

SLD

Metrowerks Codewarrior

A simple procedure for using Metrowerks Codewarrior Target Monitor:

2-11M68EZ328ADS v2.0 USER’S MANUALMOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Image 12
Contents Freescale Semiconductor, Inc PreliminaryTable of Contents Appendix a Comparison of M68EZ328ADS Version 1.xResistive Touch Panel Operation 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 Section Quick Installation Guide Installation ProcedureOverview 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 OperationControl Switches DIP SwitchesDIP Switch pack S1 Setting DIP Switch pack S2 SettingLED Indicators Operation Mode SettingFunction of LED Indicators Operation ModesM68VZ328ADS v2.0 Default Memory Map MemoryMemory Map 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 Table A-2. Software Change for using M68EZ328ADS Appendix a Comparison of M68EZ328ADS Version 1.XHardware 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 Program Enable ErrorPolling NOW EchoProgram VerifiyNOV Echo 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 Reset Options LxmaxLymax Lcxp#$9,PGSEL #MONSTACKTOP,A7#0,RTCWD #$08,ICEMCRInitialization Code of SDS Monitor MONITOR.H Equ M328BASE+$150 PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC Addressing Options Device OptionsBasein BaseoutAcrval IrqmaskInterrupt Behavior Options StoplevelUsrreset Resethard#$7,ICEMSR Monstacktop#$0000,GRPBASED #0,PCSEL#0,PCPDEN BASEIN+OFF6 BASEIN+OFF7ACR 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