background image

1

1

1

1

OKI ML670100 CPU BOARD

User’s Guide 

(Preliminary)

Oki ARM7TDMI Emulation Kit

First Edition, February 2000

5

Содержание ML670100

Страница 1: ...1 1 1 1 OKI ML670100 CPU BOARD User s Guide Preliminary Oki ARM7TDMI Emulation Kit First Edition February 2000 5...

Страница 2: ...e 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 product...

Страница 3: ...ns 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...

Страница 4: ...nterface 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...

Страница 5: ...pter 1 Read Me First This chapter describes the procedures to be followed upon receipt of the ML670100 CPU Board Verify the items described in this chapter before applying power to the ML670100 CPU Bo...

Страница 6: ...ndicates 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...

Страница 7: ...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 electr...

Страница 8: ...tside 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...

Страница 9: ...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 t...

Страница 10: ...rst Page 1 6 1 4 For Further Information Thank you for purchasing the Oki ML670100 CPU Board Please direct any questions or comments regarding this product to your Oki distributor or the nearest Oki E...

Страница 11: ...OKI ML670100 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...

Страница 12: ...king list Test results Documents Manuals ML670100 CPU BOARD User s Guide Oki ML670100 CPU Board User s Guide CD R Hardware ML670100 CPU BOARD Accessories CD 1 ARM SDT2 5 Evaluation Version Software Po...

Страница 13: ...Chapter 1 Read Me First Page 1 9 Figure 1 2 Oki ML670100 CPU Board Options Option YQPACK for QFP 144 pin package YQSOCKET for QFP 144 pin package USRCN BOARD User cable NQPACK for QFP144 pin Package...

Страница 14: ...y cable This cable is for connecting the Oki ML670100 CPU board to the system power supply 5 V DC 5 RS232C cable This cable provides a communications link between the Oki ML670100 CPU Board and a deve...

Страница 15: ...se 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 QFP144 pin...

Страница 16: ...Chapter 1 Read Me First Page 1 12...

Страница 17: ...Chapter 2 OVERVIEW This Chapter provides an overview of the Oki ML670100 CPU Board its components and its functions...

Страница 18: ...c ADI Board or ARM Multi ICETM The Oki ML670100 CPU Board contains an ML670100 emulating the target device It replaces however the internal program ROM with rewritable emulation memory SRAM Figure 2 1...

Страница 19: ...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 ML670100 CPU Board sometimes handles t...

Страница 20: ...lation 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...

Страница 21: ...ML670100 Oki Electric s high performance 32 bit single chip microcontroller This User s Guide sometimes refers to it simply as the Board ARM Software Development Toolkit 2 5 Evaluation Version This C...

Страница 22: ...n IBM PC AT compatible serial port USRCN Board User Cable NQPACK YQPACK and YQSOCKET These optional components are for connecting the Oki ML670100 CPU Board to the user application system It is also p...

Страница 23: ...L CNU4 CNU3 CNU4 RS232C ENA DIS IN EXT VDDSEL 1 3 EIR0 1 3 EFIQ 12 1 2 3 5 4 6 9 EFIQ EIR0 1 J2 3 1 3 1 3 1 3 J1 J4 J3 7 Figure 2 3 Oki ML670100 CPU Board Layout 1 DC connector This connector supplies...

Страница 24: ...ort pins PIO5 6 and PIO5 7 to theRS232C driver IC ENA or to the user interface connectors DIS 7 Memory mask jumpers J1 to J4 These jumpers control ML670100 read write access to external memory SRAM an...

Страница 25: ...is connects ML670100 pins to the user application system 12 ICE interface connector CNJ This connects to a JTAG communications interface unit Oki Electric ADI Board or ARM Multi ICETM for debugging in...

Страница 26: ...lopment host Figure 2 4 shows this configuration Figure 2 4 Angel Debugging Configuration For the related procedures see Section 3 6 Procedures User application system A V Oki ML670100 CPUBoard power...

Страница 27: ...Debugging Configuration For the related procedures see Section 3 5 Procedures User application system A V Oki ML670100 CPU board power supply 5 V DC 5 1 A ML670100 CPU BOARD OKI ADI BOARD ARM Softwar...

Страница 28: ...tatus For the locations see Figure 2 3 in Section 2 3 above These LEDs have the following meanings POWER green This LED indicates the status of the Oki ML670100 CPU Board s power supply It lights when...

Страница 29: ...eripherals Most ML670100 pins See Note 2 RS232C interface One connectorRS232C User interface One connectors CNU1 to CNU4 JTAG communications interface One connecting to Oki Electric ADI Board or ARM M...

Страница 30: ...g Conditions Item Description System input power voltage rating DC 5V 5 DC 5V Maximum current drain 0 8 A Environmental conditions Operating temperature 5 to 35 C Operating humidity 40 to 60 Note that...

Страница 31: ...Chapter 3 Setup and Operation This Chapter describes the procedures for setting up and operating the Oki ML670100 CPU Board...

Страница 32: ...CPU BOARD MTU 11037 POWER ANGEL RESET 5 0V CNJ CNU2 EX PC N VREFSEL SYSTEM USER OSCSEL SYSTEM USER MODE ANGEL NORMAL CNU4 CN U3 CNU4 RS232C ENA DIS IN EXT VDDSEL 1 3 EIR0 1 3 EFIQ EFIQ EIR0 1 J2 3 1 3...

Страница 33: ...push button switch Either type initializes the ML670100 on the Board Do not press this switch during normal operation however as it also resets the JTAG communications interface unit Oki Electric ADI...

Страница 34: ...igure 3 4 shows the related circuitry Figure 3 4 Operating Mode Switch MODE Circuits Note The NORMAL position of this switch disconnects all PIO8 pins except PIO8 2 from the user interface connectors...

Страница 35: ...pin to the 6 MHz clock signal from the built in oscillator circuit It also drives the ML670100 FSEL and PLLEN pins at H level to quadruple the internal frequency to 24 MHz The USER position in contra...

Страница 36: ...ER_PLLEN connecting to the corresponding ML670100 pins FSEL and PLLEN Note that the ML670100 internal oscillator circuit is not available For the USER position the user application system must supply...

Страница 37: ...plication system GND Vref VDD Figure 3 7 Vref Selection Switch VREFSEL Setting this switch to its SYSTEM position connects the ML670100 Vref pin to the internal 3 3 volt power supply the USER position...

Страница 38: ...ing this switch to its ENA position connects the ML670100 serial port pins PIO5 6 and PIO5 7 to the RS232C driver IC the DIS position to the corresponding user interface connector pins Figure 3 10 sho...

Страница 39: ...gel mode requires that this switch be in its ENA position so that the Board can use the ML670100 serial port pins PIO5 6 and PIO5 7 to communicate with the development host As result the user applicat...

Страница 40: ...mory Mask Jumper J1 The 3 position enables the mask blocking write access to Flash memory addresses 0x00800000 to 0x0083ffff The 1 position disables the mask permitting access Memory mask jumper J2 co...

Страница 41: ...7FFFF SRAM_nOE0 0x00000000 to 0x0007FFFF xx_nWRE xx_nRD FLASH_nWE0 0x00800000 to 0x0081FFFF FLASH_nOE0 0x00800000 to 0x0081FFFF xx_nWRE xx_nRD FLASH_nWE1 0x00820000 to 0x0083FFFF FLSAH_nOE1 0x00820000...

Страница 42: ...the buttons the EXT position connects the corresponding ML670100 pin to the corresponding user interface connector pin Figure 3 14 shows the related circuitry Figure 3 14 EIR0 and EFIQ Input Selectio...

Страница 43: ...h the power cable shown in Figure 3 15 Figure 3 15 Oki ML670100 CPU Board Power Supply Cable Supply power to the Board by connecting it with this cable to a stabilized DC power supply 5 V DC 5 Below a...

Страница 44: ...a stabilized DC power supply Connect the red banana plug to the stabilized DC power supply s plus outlet and the black one to the minus outlet Double check to make sure that the connections are not r...

Страница 45: ...ly Cable Connections 2 2 Make sure that the banana plugs go into the correct outlets Reversing the polarity leads to breakdown or fire and risks electrical shock Warning A V COM Red banana plug 5 0 V5...

Страница 46: ...ectly with the user interface connectors CNU1 to CNU4 Indirectly with the optional user connector Board USRCN and the user cable Figures 3 18 and 3 19 show the optional user connector Board USRCN and...

Страница 47: ...connecting both ends of this cable 1 Plug user connector Board USRCN connectors CNU1 to CNU4 into their counterparts on the Oki ML670100 CPU Board Figure 3 20 Connecting to User Application System 1 2...

Страница 48: ...ices POWER ANGEL RESET 5 0 V CNJ CNU2 EXP C N OKI ML670100 CPU BOARD MTU 11037 VREFSE L SYSTE M USE R OSCSE L SYSTEM USER MOD E ANGEL NORMAL CNU4 CNU3 CNU4 RS232 C EN A DI S IN EX T VDDSE L 1 3 EIR 0...

Страница 49: ...ed into the RS232C interface connector RS232C in the lower left corner of the Board Figure 3 22 RS232C Interface Connector RS232C POWER ANGEL RESET 5 0V CNJ CNU2 EXPC N OKI ML670100 CPUBOARD MTU 11037...

Страница 50: ...o the ICE interface connector CNJ in the upper right corner of the Board Figure 3 23 ICE Interface Connector CNJ Below are the procedures for connecting the components POWER ANGEL RESET 5 0V CNJ CNU2...

Страница 51: ...nnector CNJ in the upper right corner of the Board ML670100 CPU BOARD MTU 11037 POWER ANGEL RESET 5 0V CNJ CNU2 EXPC N OKI VREFSEL SYSTEM USER OSCSEL SYSTEM USER MODE ANGEL NORMAL CNU4 CNU3 CNU4 RS232...

Страница 52: ...KI ADI BOARD MTU 11009 CNX CH1 Figure 3 25 Connecting Interface Unit 2 2 For further details on connecting to the Oki Electric ADI Board or ARM Multi ICETM refer to the User s Manual included with the...

Страница 53: ...procedure For further details refer to the Toolkit package 3 5 1Angel Debugging Double check all connections shown in Figure 3 26 For further details see the preceding Section User application system...

Страница 54: ...ML670100 CPU Board RS232C cable ARM Software Development Toolkit Stabilized DC power supply 5 V DC 5 1 A Development host Windows or Unix 3 5 1 1 Switch Setting NORMAL ANGEL MODE Figure 3 27 Operatin...

Страница 55: ...User cable Oki ML670100 CPU board option User connector board USRCN Oki ML670100 CPU board option Parallel cable included with Oki ADI board Power supply cable included with Oki ML670100 CPU board Fig...

Страница 56: ...ch MODE Clock selection switch OSCSEL Vref selection switch VREFSEL Serial interface switch RS232C Memory mask jumpers J1 to J4 EIR0 and EFIQ input selection jumpers EIR0 and EFIQ 3 5 4Applying Power...

Страница 57: ...ugging The following are the procedures for Angel debugging 3 5 6Loading Debugger On the development host load the debugger The first time it starts in ARMulator software emulation mode Figure 3 30 AR...

Страница 58: ...Chapter 3 Setup and Operation Page 3 28 To change the debugger from ARMulator mode to remote debugging mode choose Configure debugger on the Options menu Figure 3 31 Configuring Debugger...

Страница 59: ...onfiguration dialog box that appears choose remote_a as the target and push the Configure button In the Remote connection dialog box that appears select Serial and then specify the port and baud rate...

Страница 60: ...nd establish the link to the Angel debugging monitor If communications are properly established a boot message similar to the following appears in debugger s console window Figure 3 33 Angel Debugger...

Страница 61: ...dures for Normal debugging The first step is to run Portmap exe on the development host running Windows Open an MS DOS box change to the directory containing the Oki ICE server software and type Portm...

Страница 62: ...t Note that the power to both the user application system and the Oki ADI board must be on Otherwise the software simply aborts when it cannot find the latter Choose Load configuration on the File men...

Страница 63: ...nd load the configuration file the next time choose Start up settings on the Settings menu to display the following dialog box select both the Start port map service and Load configuration check boxes...

Страница 64: ...Setup and Operation Page 3 34 3 5 9Loading Debugger On the development host load the debugger The first time it starts in ARMulator software emulation mode Figure 3 37 ARM Multiprocessor Debugger for...

Страница 65: ...Chapter 3 Setup and Operation Page 3 35 To change the debugger from ARMulator mode to remote debugging mode choose Configure debugger on the Options menu Figure 3 38 Configuring Debugger...

Страница 66: ...nd Operation Page 3 36 In the Debugger configuration dialog box that appears specify the target JTAG communications interface unit Oki Electric ADI Board or ARM Multi ICETM Figure 3 39 Setting Up for...

Страница 67: ...mmunications interface unit the following screen appears Figure 3 40 ARM Multiprocessor Debugger for Windows The Oki ML670100 CPU Board is now ready for remote debugging For further details on remote...

Страница 68: ...Chapter 4 User Interface This Chapter contains the procedures for connecting the Oki ML670100 CPU Board to the user application system for in place debugging of the user application program...

Страница 69: ...ce debugging Figure 4 1 outlines this relationship Figure 4 1 User Interface Equivalence Note 1 The Oki ML670100 CPU Board sometimes handles the following ML670100 built in peripheral ports and pins d...

Страница 70: ...ebugging Figure 4 2 shows the location Table 4 1 the pin assignments Figure 4 2 User Interface Connectors CNU1 to CNU4 POWER ANGEL RESET 5 0V CNJ CNU2 EXPC N OKI ML670100 CPUBOARD MTU 11037 VREFSE L S...

Страница 71: ...23 PIO0 0 3 I O 24 PIO7 3 I O 24 PIO0 1 3 I O 25 PIO7 4 I O 25 PIO0 2 3 I O 26 PIO7 5 I O 26 PIO0 3 3 I O 27 PIO7 6 I O 27 PIO0 4 3 I O 28 PIO7 7 I O 28 PIO0 5 3 I O 29 PIO8 0 2 I O 29 PIO0 6 3 I O 30...

Страница 72: ...O5 2 I O 18 RD O 18 PIO5 3 I O 19 WRE_WRL O 19 PIO5 4 I O 20 GND O 20 PIO5 5 I O 21 VDD I 21 PIO5 6 6 I O 22 PIO2 0 I O 22 PIO5 7 6 I O 23 PIO2 1 I O 23 CLKOUT O 24 PIO2 2 I O 24 GND I O 25 PIO2 3 I O...

Страница 73: ...ptional Board fits between the Oki ML670100 CPU Board and the user cable leading to the user application system Tables 4 3 and 4 4 show the pin assignments for the CNA and CNB connectors Figure 4 3 Us...

Страница 74: ...D O 62 PIO0 3 3 I O 23 VDD I 63 PIO0 4 3 I O 24 PIO7 3 I O 64 PIO0 5 3 I O 25 PIO7 4 I O 65 PIO0 6 3 I O 26 PIO7 5 I O 66 PIO0 7 3 I O 27 PIO7 6 I O 67 EFIQ I 28 PIO7 7 I O 68 EA 4 I 29 PIO8 0 2 I O 6...

Страница 75: ...57 PIO5 6 6 I O 18 RD O 58 PIO5 7 6 I O 19 WRE_WRL O 59 CLKOUT O 20 GND O 60 GND I O 21 VDD I 61 OSC0 I 22 PIO2 0 I O 62 N C 23 PIO2 1 I O 63 VDD I 24 PIO2 2 I O 64 N C 25 PIO2 3 I O 65 FSEL I 26 PIO2...

Страница 76: ...L and DBSEL up to 3 3 V with 100 k resistances and pull nEA down to GND with 100 k resistances If the EIR0 EFIQ jumper is connected to the IN side the signals from the user application system remain c...

Страница 77: ...cts the user application system to the Oki ML670100 CPU Board and user connector Board USRCN Figure 4 5 shows this cable Figure 4 5 User Cable CNB CNA 1 2 79 80 1 2 79 80 TQ SOCKET 1 144 37 72 109 108...

Страница 78: ...connector Board USRCN and user cable Figure 4 6 shows the connector layout and dimensions for the former approach Figure 4 6 User Application System Connector Layout 1 The following are the specifica...

Страница 79: ...Chapter 4 User Interface Page4 12...

Страница 80: ...Chapter 5 Notes on Debugging This Chapter contains important notes on debugging application programs with the Oki ML670100 CPU Board...

Страница 81: ...e primary functions for the following I O pins all PIO0 pins all PIO1 pins PIO2 5 and PIO2 6 The Angel mode supports neither the primary nor secondary functions for the following I O pins PIO5 6 and P...

Страница 82: ...V PLLEN FSEL OSC0 PLLEN FSEL OSC0 SYSTEM USER OSCSEL CNB Pin No 66 CNB Pin No 65 CNB Pin No 61 AVDD VREF AGND VREF CNA Pin No 6 3 3V VCOM OSC1 100 k 100 k DBSEL EA 100 k DBSEL EA CNA Pin No 10 CNA Pin...

Страница 83: ...ositions of configuration switches disconnect this protection making it the responsibility of the user application system to ensure appropriate levels The RESET pin only supports input from the user a...

Страница 84: ...to peripheral bus 1 MB Expanded peripherals connected to peripheral bus 8 MB External ROM RAM and I O 8 MB External ROM RAM and I O 16 MB External DRAM 16 MB External DRAM 16 MB 0x00000000 0x00200000...

Страница 85: ...x07ffff and 0x1000000 to 0x107ffff Note that the Angle mode reserves the top 96 KB in the second one for the Angel debugging monitor The Oki ML670100 CPU Board also adds 256 KB of Flash memory 0x80000...

Страница 86: ...ning on the development host 5 2 2User Cable Do not crimp the user cable Flexing it with excessive force can damage not only the cable but also the Oki ML670100 CPU Board itself 5 2 3External Clock Do...

Страница 87: ...following registers with the Angel debugging monitor Address Register Name 0x400004 CKCON 0x600008 IRR0 3 IRR0 4 IRR0 5 0x600012 ILCON2 0x600300 ASBUF 0x600301 ASIST 0x600302 ASICON 0x600303 ASBCON 0...

Страница 88: ...IRQ_Handler IRQ_handler is the entry address for the application program s IRQ handler This chain allows the application program s IRQ handler to pass all exceptions that it does not know how to hand...

Страница 89: ...table 5 The Angel debugging monitor uses the following exception vector table Address Description 0x0 ldr pc 0x20 RESET 0x4 ldr pc 0x24 Undefined opcode 0x8 ldr pc 0x28 SWI 0xc ldr pc 0x2c Prefetch ab...

Страница 90: ...d 4 above refer to the SDT250 User s Manual Section 9 3 2 descriptions for C handlers p 9 11 and exception handlers pp 9 39 and 9 19 6 When connecting the ML670100 CPU board to a user application syst...

Страница 91: ...Chapter 5 Notes on Debugging Page 5 12...

Страница 92: ...Chapter 6 Appendices...

Страница 93: ...129 132 128 127 PIO5 0 CSI0_SCLK GND PIO3 7 EIR 7 PIO3 6 EIR 6 PIO3 5 EIR 5 CLKOUT PIO5 7 ASI_TXD GND 100 99 98 97 96 95 94 93 92 91 90 89 108 107 106 105 104 103 102 101 VDD GND PIO2 6 CS1 PIO2 5 HB...

Страница 94: ...Chapter 6 Appendices Page 6 3 6 2 ML670100 Package Layout 17 5 23 0 0 5 17 5 23 0 2 0 0 25 Figure 6 2 ML670100 Package Layout...

Отзывы: