ARM OKI ML671000 User manual

1
11
1
OKI ML671000 CPU BOARD
User’s Guide (Preliminary)
Oki ARM7TDMI Emulation Kit
First Edition, February 2000
5
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛
This Technical tutorial can be found on https://www.jotrin.com

Copyright 2000 Oki Electric Industry Co., Ltd.
Notes
1. The contents of this Document are subject to change without prior notice for reasons of
product or technological improvement. Before using this Document, make sure that you have
the latest edition.
2. The operational descriptions and sample application circuits contained in this Document are
meant to illustrate the product’s standard operation and use. When using the product for an
actual application, therefore, design the circuitry and installation so as to take external
conditions into consideration.
3. Make sure that designs observe the maximum ratings, operating supply voltage range,
heat dissipation characteristics, and other guaranteed ranges. Oki Electric Industry
shall not be liable for adverse results when the product is operated outside its
guaranteed range or in any other incorrect or inappropriate fashion.
4. Use of this product or information or drawings contained in this Manual does not constitute a
warranty or a usage license for any third-party industrial rights, intellectual property rights, or
other rights. Oki Electric Industry shall therefore be in no way held responsible for violation of
such third-party rights arising from the use thereof.
5. Although every effort has been made to ensure the quality and reliability of the Product, the
nature of parts is such that there is a finite, unavoidable risk of defects or breakdown.
Equipment and system designs based on Oki Electric Industry products should therefore
ensure that such failures do not risk death, personal injury, or property damage.
6. The Product described in this Document is intended for use in the development and
evaluation of programs for controlling equipment and systems. Those contemplating use
outside this range (e.g., incorporation or attachment to actual equipment) should first contact
Oki Electric Industry Sales.
7. The product described in this Manual qualifies as strategic materials under the Foreign
Exchange and Foreign Trade Control Law of Japan. The export, in whole or in part, of this
product shall therefore require obtaining an export license from the Japanese government
under the provision of that Law.
8. Although every reasonable effort has been made to ensure the accuracy of this Manual,
please report any errors or discrepancies to your nearest Oki Electric Industry
representative.
9. The contents of this Manual shall not be copied or reproduced without the express written
permission of Oki Electric Industry.
10. MS-DOS is a registered trademark of Microsoft Corporation.
11. APM, EmbeddedICE, Multi-ICE, ARM7TDMI, and ARMPOWERED are registered
trademarks of ARM Inc.
12. UNIX is a registered trademark in the United States and other countries and is licensed by
X/Open Company Limited.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

CONTENTS
CHAPTER 1 READ ME FIRST................................................................ 1
1.1 Precaution for Safe and Proper Use ...................................................................2
1.2 Important Safety Notes.........................................................................................3
1.3 Notation..................................................................................................................5
1.4 For Further Information ........................................................................................6
1.5 Verify Package Contents ......................................................................................7
CHAPTER 2 OVERVIEW ........................................................................ 1
2.1 What is it? ..............................................................................................................2
2.2 System Components ............................................................................................4
2.3 Main Components .................................................................................................7
2.4 Main Components ...............................................................................................10
2.4.1 Angel Debugging ...........................................................................................10
2.4.2 Normal Debugging .........................................................................................11
2.4.3 Indicators (POWER & ANGEL)......................................................................12
2.5 Hardware Specifications ....................................................................................13
2.6 Operating Conditions .........................................................................................14
CHAPTER 3 SETUP AND OPERATION ................................................ 1
3.1 Switches and Settings ..........................................................................................2
3.1.1 System Reset Switch (RESET) .......................................................................3
3.1.2 Operating Mode Switch (MODE) .....................................................................4
3.1.3 Clock Selection Switch (OSCSEL) ..................................................................5
3.1.4 RS232C interface switches (RS232CSEL1 toRS232CSEL3) .........................7
3.1.5 Memory Mask Jumpers (J1 to J4) ...................................................................9
3.1.6 EFIQ and EIR0 Input Selection Jumpers (J7 and J8)....................................11
3.1.7 USB Connection Jumpers (J6 and J9) ..........................................................12
3.2 Connecting Power Supply Cable.......................................................................14
3.3 Connecting to User Application System ..........................................................17
3.4 Connecting to Host .............................................................................................20
3.4.1 Angel Mode....................................................................................................20
3.4.2 Normal Mode .................................................................................................21
3.5 Procedures...........................................................................................................24
3.5.1 Angel Debugging ...........................................................................................24
3.5.1.1 Switch Setting ................................................................................................25
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

3.5.2 Normal Debugging .........................................................................................26
3.5.2.1 Switch Setting ................................................................................................27
3.5.3 Checking Switch Settings...............................................................................27
3.5.4 Applying Power ..............................................................................................27
3.5.5 Angel Debugging............................................................................................28
3.5.6 Loading Debugger..........................................................................................28
3.5.7 Normal Debugging .........................................................................................32
3.5.8 Loading Oki ICE Server .................................................................................33
3.5.9 Loading Debugger..........................................................................................35
CHAPTER 4 USER INTERFACE ............................................................1
4.1 Overview.................................................................................................................2
4.2 User Interface.........................................................................................................3
4.2.1 User Interface Connectors (CNU1 to CNU4) ...................................................3
4.2.2 User Connector Board (USRCN) .....................................................................6
4.3 User Cable............................................................................................................10
4.4 User Application System Connector Layout ....................................................11
CHAPTER 5 NOTES ON DEBUGGING .................................................. 1
5.1 Chip Differences ....................................................................................................2
5.1.1 User Interface...................................................................................................2
5.1.2 Memory Maps ..................................................................................................4
5.2 Other Notes ............................................................................................................5
5.2.1 System Reset Switch (RESET)........................................................................5
5.2.2 User Cable .......................................................................................................5
5.2.3 External Clock ..................................................................................................5
5.3 Angel resources requirements introduce a number of restrictions on
application development under Angel. ..............................................................6
CHAPTER 6 APPENDICES .................................................................... 1
6.1 ML671000 Pin Assignments .................................................................................2
6.2 ML671000 Package Layout...................................................................................3
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
functions.
This chapter describes the procedures to be
followed upon receipt of the ML671000 CPU Board.
Verify the items described in this chapter before
applying power to the ML671000 CPU Board.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-2
1.1 Precaution for Safe and Proper Use
This User’s Guide uses various labels and icons that serve as your guides to operating
this product safely and properly so as to prevent death, personal injury, and property
damage. The following table lists these labels and their definitions.
Labels
This label indicates precautions that, if ignored
or otherwise not completely followed, could
lead to death or serious personal injury.
This label indicates precautions that, if ignored
or otherwise not completely followed, could
lead to personal injury or property damage.
Icons
A triangular icon draws your attention to the presence of a
hazard. The illustration inside the triangular frame indicates the
nature of the hazard—in this example, an electrical shock
hazard.
A circular icon with a solid background illustrates an action to
be performed. The illustration inside this circle indicates this
action—in this example, unplugging the power cord.
A circular icon with a crossbar indicates a prohibition. The
illustration inside this circle indicates the prohibited action—in
this example, disassembly.
Caution
Warning
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-3
1.2 Important Safety Notes
Please read this page before using the product.
Use only the specified voltage.
Using the wrong voltage risks fire and electrical shock.
At the first signs of smoke, an unusual smell, or other problems,
unplug the emulator and disconnect all external power cords.
Continued use risks fire and electrical shock.
Do not use the product in an environment exposing it to moisture or
high humidity.
Such exposure risks fire and electrical shock
Do not pile objects on top of the product.
Such pressure risks fore and electrical shock.
At the first signs of breakdown, immediately stop using the product,
unplug the emulator, and disconnect all external power cords.
Continued use risks fire and electrical shock.
Warning
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-4
Please read this page before using the product.
Do not use this product on an unstable or inclined base as it can fall or
overturn, producing injury.
Do not use this product in an environment exposing it to excessive
vibration, strong magnetic fields, or corrosive gases.
Such factors can loosen or even disconnect cable connectors,
producing a breakdown.
Do not use this product in an environment exposing it to temperatures
outside the specified range, direct sunlight, or excessive dust.
Such factors risk fire and breakdown.
Use only the cables and other accessories provided.
Using non-compatible parts risks fire and breakdown.
Always observe the specified order for turning equipment on and off.
Using the incorrect order risks fire and breakdown.
Do not use the cables and other accessories provided with other
systems.
Such improper usage risks fire.
Before connecting or disconnecting the cables and the accessories,
the power source for the emulator must be turned OFF.
Connections or disconnections performed while the power source is
ON risk fire and damage to the system.
Caution
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-5
1.3 Notation
This manual utilizes the following notational conventions for convenience.
!Caution !A “caution” indicates a section of the manual that
requires special attention.
!Reference !A “reference” provides information related to the
current topic and indicates the page number of a
related section of the manual.
!Application Example !An “application example” indicates an example
related to the current topic.
(note ×)“(note ×)” is a reference to a numbered note that
provides supplementary information lower on the
same page.
!Note x !“Note ×:” provides supplementary information
related to the passage marked with “(note ×).”
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-6
1.4 For Further Information
Thank you for purchasing the Oki ML671000 CPU Board.
Please direct any questions or comments regarding this product to your Oki distributor or
the nearest Oki Electric Sales Office.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-7
1.5 Verify Package Contents
Upon receiving the OKI ML671000 CPU Board, verify that the package contains all the
components listed in Table 1.
Although every effort has been made to minimize damage and eliminate mistakes,
please report any damaged or missing parts to your Oki distributor or the nearest Oki
Electric Sales Office.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-8
Packing list
Test results
Documents
Manuals
ML671000
CPU BOARD
User's Guide
Oki ML671000 CPU Board
User's Guide
(CD-R)
Hardware
ML671000 CPU BOARD
Accessories
CD-1
ARM SDT2.5
Evaluation Version
Software
Power supply
cable RS232C cable
CD-2
ML671000 CPU BOARD
Documents
Figure 1.1. Package Contents
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-9
Option
YQPACK for
QFP 128-pin
package
YQSOCKET for
QFP 128-pin
package
USRCN BOARD
User cable
NQPACK for
QFP128-pin
Package
USB cable
Figure 1.2. Oki ML671000 CPU Board Options
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-10
Hardware
ML671000
CPU BOARD
Documents
Packing list
Test results
This lists the contents of the Oki ML671000 CPU board
package. Check the contents against this list when you
first open the package.
This lists the results of testing the Oki ML671000 CPU
board at the factory.
This is the board itself.
Manuals
Oki ML671000
CPU Board
User's Guide
This CD-R contains the manual (this document) for the
Oki ML671000 CPU board.
Accessories
Power supply
cable
This cable is for connecting the Oki ML671000 CPU
board to the system power supply (5 V DC ±5%).
Software
CD-1
ARM SDT 2.5
Evaluation
Version
This CD-ROM contains a 60-day trial version of a
complete program development and debugging
environment, from Advanced RISC Machines Limited
(ARM), for the Oki ML671000 CPU board.
CD-2
Documentation
This CD-ROM contains such documentation for the Oki
ML671000 CPU board as the circuit diagrams, parts
list, User's Guide (this document), and configuration fil
e
for the Oki ICE Server.
RS232C cable This cable provides a communications link between
the Oki ML670100 CPU Board and a development
host with an IBM PC/AT-compatible serial port.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-11
These optional components are for connecting the Oki ML670100
CPU Board to the user application system.Ord from the nearest Oki
Electric Sales Office.
Options
USRCN BOARD
user cable
NQPACK for
QFP128-pin package
YQPACK for
QFP128-pin package
YQSOCKET for QFP
128-pin package
USB cable This USB cable is type A-B.
Figure 1.3. Oki ML671000 CPU Board
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 1 Read Me First
Page 1-12
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 2 OVERVIEW
This Chapter provides an overview of the Oki
ML671000 CPU Board, its components, and its
functions.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 2 OVERVIEW
Page2-2
2.1 What is it?
The Oki ML671000 CPU Board is part of an emulation kit for developers debugging and
evaluating embedded user application systems to run on the ML671000, Oki Electric's high-
performance 32-bit single-chip microcontroller.
This document distinguishes two setups for debugging user application programs.
Angel mode (Note 1): Debugging with a direct link to the ARM Software Development Toolkit
(SDT) from Advanced RISC Machines Limited (ARM)
Normal embedded mode: Debugging with a link to the SDT through a JTAG communications
interface unit (Oki Electric ADI Board or ARM Multi-ICETM)
The Oki ML671000 CPU Board contains an ML671000 emulating the target device. It
replaces, however, the internal program ROM with rewritable emulation memory (SRAM).
Figure 2.1 shows the general Board layout.
External
address bus
External
ddress bus
ML671000
Emulation memory User interface
connectors
JTAG communications
interface connector
ML671000 CPU BOARD
RS232C-interface connector x 2
Debugging interface
Serial interface
ML671000-compatible
I/O pin
USB
Interface connector
USB
Interface
Figure 2.1. Oki ML671000 CPU Board Layout
As Figure 2.1 indicates, the user interface connectors provide access to most (See Note 1) of
the evaluation chip's I/O pins (Note 2). Connecting them to the user application program with
the optional user connector Board (USRCN) and user cable permits in-place debugging.
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 2 OVERVIEW
Page2-3
!
!!
!Note 1 !
!!
!
The Oki ML671000 CPU Board's Flash memory contains the Angel debugging monitor, for
use in developing applications based on the ARM CPU. For further details on this
program, refer to the ARM Software Development Toolkit User Guide and ARM Software
Development Toolkit Reference Guide.
!
!!
!Note 2 !
!!
!
The Oki ML671000 CPU Board sometimes handles the following ML671000 built-in
peripheral ports and pins differently: P0, P1.5, P1.6, P4.4, P4.5, P4.6, P4.7, P5.2, P5.3, P5.4,
P5.6, and P5.7. For further details, see Chapter 5 "Notes on Debugging."
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛

Chapter 2 OVERVIEW
Page2-4
2.2 System Components
Figure 2.2 lists the components making up a program development support system using the
Oki ARM7TDMI Interface Unit (ADI Board).
Accessories
Oki ARM7TDMI Program
Development Support System
Hardware
Documentation
Oki ARM7TDMI Emulation Kit
Oki ML671000 CPU Board
Emulation Kit
ML671000 CPU BOARD
Oki ML671000 CPU Board
User's Guide
Power supply cable
RS232C cable
Oki ARM7TDMI Interface Unit (optional)
OKI ADI-BOARD
OKI ADI-BOARD
Hardware
Documentation
Oki ADI Board User's Manual
Accessories
Target interface cable
Parallel cable
Software
OKI-ICE Server
Software
ARM Software Development
Toolkit v2.5
Evaluation Version
Oki ML671000 CPU Board
Circuit Diagrams
Oki ML671000 CPU Board
Parts List
ML671000.cfg
User connector board(USRCN)
User cable
USB cable
NQPACK for QFP128-pin package
YQPACK for QFP128-pin package
YQSOCKET for QFP 128-pin package
Options
Figure 2.2. ARM7TDMI Program Development Support System Components
http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛
This manual suits for next models
1
Table of contents
Other ARM Computer Hardware manuals

ARM
ARM DSTREAM User instructions

ARM
ARM Cortex-A35 Product manual

ARM
ARM DSTREAM User instructions

ARM
ARM DSTREAM DS-5 User manual

ARM
ARM DSTREAM DS-5 User manual

ARM
ARM DSTREAM-ST User manual

ARM
ARM ARM966E-S Use and care manual

ARM
ARM ARM1176JZF-S Product manual

ARM
ARM DSTREAM-PT User manual

ARM
ARM PrimeCelL PL320 Product manual

ARM
ARM ARM946E-S Product manual

ARM
ARM Cordio BT4 Radio IP User manual

ARM
ARM Cortex-A76 Core Product manual

ARM
ARM ARM710T User manual

ARM
ARM DSTREAM-XT User manual

ARM
ARM MPS3 User manual

ARM
ARM DSTREAM-HT User manual

ARM
ARM Cortex-M3 DesignStart Product manual

ARM
ARM DSTREAM-HT User manual

ARM
ARM ETB11 Product manual