328ADSU2.pdf

(155 KB) Pobierz
Motorola, Inc.
MC68328ADS
Application Development System
User’s Manual
Revision 2.0
August 1, 1996
This document is only
published on the web.
Wireless System Subscriber Group
MC68328ADS
Addendum to
MC68328ADS
User’s Manual, Rev 2.0
Revision Date: September 1, 1997
This addendum to the MC68328ADS User’s Manual (Rev. 2.0) provides corrections to the original text, plus
additional information not included in the original. It is recommended that you check the Motorola DragonBall
MC68328 website at
http://www.motorola.com/DragonBall
for updates to this document.
1. CHANGES IN THE ADI INTERFACE
Even though the MC68328ADS board provides both a serial interface (standard RS-232) and a Parallel
Application Development Interface (ADI) to download software from a Windows or UNIX host computer, SDS
SingleStep version 7.0 and higher no longer supports ADI downloading. If you are using SDS SingleStep
debugger version 7.0 or higher on the host, you can only download your code to the MC68328ADS board via a
serial interface.
There may be two sets of boot EPROMs that come with the board package—one set containing the SDS
Debugger Monitor for an ADI connection and another set for the serial connection. To make the serial
connection operate with the SingleStep debugger on the host, you must check the boot EPROMs on the board
to ensure that they are debugger monitor EPROMs for a
serial
connection. The set of EPROMs for a serial
interface is clearly marked
SingleStep LITE (Serial).
Any reference in the MC68328ADS User’s Manual to ADI connectivity no longer applies.
2. CORRECTIONS TO THE MANUAL
The
Memory Subsystem
features on page 1-2 should be changed to the following information:
• Memory Subsystem
t
t
256K of SRAM; upgradable to 4MB
128K of boot EPROM on board with SDS SingleStep Debugger Monitor; upgradable to 4MB
Table 1-1 on page 1-2 should be changed to the following information:
• Boot EPROM with SDS Debugger Monitor: 128KB
• SRAM: 256KB; Upgradable to 4MB
• User EPROM: Up to 4MB
This document contains information on a product under development. Motorola reserves the right to change or discontinue this product without notice.
SEMICONDUCTOR PRODUCT INFORMATION
©
1997 Motorola, Inc.All Rights Reserved.
TABLE OF CONTENTS
Section 1
general information
1.1
1.2
1.3
Introduction ................................................................................................... 1-1
M68328ADS Features .................................................................................. 1-1
Specification.................................................................................................. 1-2
Section 2
Hardware Preparation and installation
2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.2
2.2.1
2.2.2
2.3
2.3.1
2.3.2
2.3.3
2.4
Hardware Preparation................................................................................... 2-1
Power Supply.............................................................................................. 2-1
Control switches and indicators .................................................................. 2-2
Host to M68328ADS serial connection ....................................................... 2-2
Host to M68328ADS parallel connection .................................................... 2-2
Installation..................................................................................................... 2-3
Getting started with serial data transfer using RS232................................. 2-4
Getting started with parallel data transfer using ADI card........................... 2-5
Optional Configuration for M68328ADS........................................................ 2-6
Connect LCD Panel to the M68328ADS..................................................... 2-6
Connect Touch Panel to the M68328ADS .................................................. 2-7
Connect Logic Analyzer to the M68328ADS .............................................. 2-7
Jumpers and Dip-Switch Settings for M68328ADS ...................................... 2-8
Section 3
Functional description
3.1
3.1.1
3.1.2
3.1.3
3.2
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
Memory Subsystem ...................................................................................... 3-1
Memory Map ............................................................................................... 3-1
EPROM Interface........................................................................................ 3-1
SRAM Interface .......................................................................................... 3-3
Reset and Abort Circuit................................................................................. 3-3
PCMCIA 1.0 Interface ................................................................................... 3-4
PCMCIA Card Write Protect Signal (WP) ................................................... 3-5
PCMCIA Card Detect Signal 1 & 2 (CD1,CD2)........................................... 3-5
PCMCIA Card Battery Voltage Detect 1 & 2 (BVD1 & BVD2) .................... 3-5
PCMCIA Card Busy / Ready signal (BSY/RDY) ......................................... 3-6
PCMCIA Card Enable 1& 2 (CE1, CE2) ..................................................... 3-6
PCMCIA Card Output Enable (OE)............................................................. 3-6
MOTOROLA
M68328ADS USER’S MANUAL
v
Table of Contents
3.3.7
3.3.8
3.4
3.5
3.6
3.7
3.7.1
3.8
3.8.1
3.8.2
3.8.2.1
3.8.2.2
3.8.2.3
3.9
3.9.1
3.9.2
PCMCIA Card Write Enable/Program (WE/PGM) ...................................... 3-6
PCMCIA Card Attribute Memory Select (REC)........................................... 3-6
DUART Debug Port ...................................................................................... 3-7
ADI interface ................................................................................................. 3-7
Expansion bus slots...................................................................................... 3-7
LCD subsystem ......................................................................................... 3-10
LCD Screen Format.................................................................................. 3-10
Touch/pen input subsystem........................................................................ 3-11
General Concepts of Resistive Panels ..................................................... 3-12
System Overview..................................................................................... 3-14
Signal Description................................................................................... 3-14
A/D converter interface........................................................................... 3-15
Pen Interrupt........................................................................................... 3-16
Software Techniques for Touch/pen input system...................................... 3-17
Pen Interrupt Programming Technique .................................................... 3-17
Noise Filtering........................................................................................... 3-17
Section 4
Appendix A - ADI BOARD Installation
4.1
4.1.1
4.2
4.3
4.4
INTRODUCTION .......................................................................................... 4-1
IBM-PC/XT/AT to M68328ADS Interface.................................................... 4-1
ADI Installation in IBM-PC/XT/AT ................................................................. 4-1
SUN-4 to M68328ADS Interface................................................................... 4-2
ADI Installation in the SUN-4 ........................................................................ 4-3
Section 5
Appendix B - ADI port handshake description
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.7.1
5.7.2
5.7.3
5.7.4
5.7.5
Introduction ................................................................................................... 5-1
Parallel Port Connector and Signals Description ......................................... 5-1
Operation Description ................................................................................... 5-2
ADI base address configuration.................................................................... 5-2
ADI Registers................................................................................................ 5-2
ADS Register ................................................................................................ 5-3
Handshake Description................................................................................. 5-4
Host Write to ADS Cycle ............................................................................ 5-5
ADS Write to Host Cycle ............................................................................ 5-5
ADS Interrupt to Host ................................................................................. 5-6
Arming and Addressing Groups of ADS Boards......................................... 5-7
Addressing All Boards ................................................................................ 5-8
Section 6
Appendix C - M68328ADS initialization code for SDS Boot eproms
6.1
Software Listing - Initialization code ............................................................. 6-1
Section 7
vi
M68328ADS USER’S MANUAL
MOTOROLA
Table of Contents
Appendix D- PAL CODE Listing
7.1
7.2
7.3
SOFTWARE LISTINGS - U35 PAL CODE ................................................... 7-1
SOFTWARE LISTINGS - U23 PAL CODE ................................................... 7-3
SOFTWARE LISTINGS - U44 PAL CODE ................................................... 7-4
Section 8
Appendix E- Schematics
MOTOROLA
M68328ADS USER’S MANUAL
vii
Zgłoś jeśli naruszono regulamin