Table of Contents

Advertisement

Quick Links

M68HC11EVB/D
REV 2
November 1996
M68HC11EVB

EVALUATION BOARD

USER'S MANUAL
Copyright 1986, 1996 by Motorola Inc.

Advertisement

Table of Contents
loading

Summary of Contents for Motorola M68HC11EVB

  • Page 1: Evaluation Board

    M68HC11EVB/D REV 2 November 1996 M68HC11EVB EVALUATION BOARD USER'S MANUAL Copyright 1986, 1996 by Motorola Inc.
  • Page 2 The computer program stored in the Read Only Memory of the device contains material copyrighted by Motorola Inc., first published 1985, and may be used only under a license such as the License For Computer Programs (Article 14) contained in Motorola's Terms and Conditions of Sale, Rev.
  • Page 3 CAUTION Caution should be observed when programming or erasing MCU EEPROM locations. The EVB MCU configuration (CONFIG) register ROMON bit is cleared to disable MCU internal ROM, thereby allowing external EPROM containing the BUFFALO program to control EVB operations.
  • Page 4: Table Of Contents

    2.4 INSTALLATION INSTRUCTIONS ................2-7 2.4.1 Power Supply - EVB Interconnection ..............2-7 2.4.2 Terminal - EVB Interconnection ................2-8 2.4.3 Host Computer - EVB Interconnection ..............2-9 2.4.4 Target System - EVB Interconnection..............2-11 2.5 CHECKOUT PROCEDURE ..................2-14 M68HC11EVB/D...
  • Page 5 Breakpoint Set ....................4-12 4.6.4 Bulk........................4-14 4.6.5 Bulkall ........................ 4-15 4.6.6 Call........................4-16 4.6.7 EEPROM Modify Mapping................. 4-18 4.6.8 Go ........................4-19 4.6.9 Help........................4-20 4.6.10 Load ........................4-21 4.6.11 Memory Display ....................4-22 4.6.12 Memory Modify....................4-23 M68HC11EVB/D...
  • Page 6 Port Replacement Unit..................5-2 5.2.3 Memory........................ 5-4 5.2.4 Address Decoding/De-multiplexing ............... 5-4 5.2.5 RS-232C I/O Port Interface Circuits ..............5-4 CHAPTER 6 SUPPORT INFORMATION 6.1 INTRODUCTION......................6-1 6.2 CONNECTOR SIGNAL DESCRIPTIONS ..............6-1 6.3 PARTS LIST........................6-7 6.4 DIAGRAMS......................... 6-11 M68HC11EVB/D...
  • Page 7 5-1. EVB Block Diagram....................... 5-2 5-2. EVB Memory Map Diagram ................... 5-3 6-1. EVB Parts Location Diagram..................6-7 6-2. EVB Schematic Diagram (Sheet 1 of 2) ................ 6-11 6-3. EVB Schematic Diagram (Sheet 2 of 2) ................ 6-12 B-1. Single-Chip Mode Configuration..................C-2 viii M68HC11EVB/D...
  • Page 8 6-1. MCU I/O Port Connector (P1) Pin Assignments ............. 6-2 6-2. Terminal I/O Port Connector (P2) Pin Assignments ............6-4 6-3. Host I/O Port Connector (P3) Pin Assignments............... 6-5 6-4. Input Power Connector (P4) Pin Assignments..............6-6 6-5. EVB Parts List........................ 6-8 M68HC11EVB/D...
  • Page 9 CONTENTS M68HC11EVB/D...
  • Page 10: Chapter 1 General Information

    • Host computer downloading capability • MC68HC11 MCU based debugging/evaluating circuitry • MC68HC24 Port Replacement Unit (PRU) based MCU I/O expansion circuitry • MC6850 Asynchronous Communications Interface Adapter (ACIA) based terminal I/O port circuitry • RS-232C compatible terminal/host computer I/O ports M68HC11EVB/D 1-1 1...
  • Page 11: Specifications

    -40 to +85 degrees C Relative humidity 0 to 90% (non-condensing) Power requirements +5 Vdc @ 0.5 A (max) +12 Vdc @ 0.1 A (max) -12 Vdc @ 0.1 A (max) Dimensions: Width 7.062 in. (17.8 cm) Length 4.625 in. (11.75 cm) M68HC11EVB/D...
  • Page 12: General Description

    An RS-232C compatible host computer is used with the EVB to download Motorola S-records via the BUFFALO monitor commands. The Motorola S-record format was devised for the purpose of encoding programs or data files in a printable format for transportation between computer systems. The transportation process can therefore be monitored and the S-records can be easily edited.
  • Page 13: Equipment Required

    Terminal (RS-232C compatible) Host computer (RS-232C compatible) Terminal/host computer - EVB RS-232C cable assembly Target system - EVB MCU I/O port extension cable assembly 1. Refer to Chapter 2 for details. 2. Optional - not required for basic operation M68HC11EVB/D...
  • Page 14: Chapter 2 Hardware Preparation And Installation

    J1 through J7 provide these capabilities: • Reset select (J1) • Clock select (J2) • Memory select (J3 and J7) • Program execution select (J4) • Terminal baud rate select (J5) • Host port RX signal disable (J6) M68HC11EVB/D 2-1 1...
  • Page 15: Reset Select Header (J1)

    1 and 2. The EVB is factory-configured and shipped with the jumper installed as shown below. This jumper is removed from pins 1 and 2 when the EVB reset circuitry is used without target system intervention. M68HC11EVB/D...
  • Page 16: Clock Select Header (J2)

    2 and 3 as shown below. External Internal If an external TTL clock source from the target system (via MCU I/O port connector P1, pin 7) is required, the jumper is repositioned between pins 1 and 2. M68HC11EVB/D 2-3 3...
  • Page 17: Memory Select Headers (J3 And J7)

    $6000 to $7FFF. Installing a fabricated jumper on jumper header J7 causes the memory device located at location U4 to be mapped at locations $A000 to $BFFF. NOTE MCU EEPROM may be located at $B600 to $B7FF. M68HC11EVB/D...
  • Page 18: Program Execution Select Header (J4)

    $7E, $E0, and $0A, respectively. Next, remove installed jumper from jumper header J4 (removes load condition), and proceed into the A/D operation. For additional information pertaining to the EEPROM jump operation described above, refer to the buf25.asm file on the EVB diskettes. M68HC11EVB/D 2-5 5...
  • Page 19: Terminal Baud Rate Select Header (J5)

    The host (P3) I/O port is a fixed MCU SCI 9600 baud rate (non selectable). Refer to Chapter 6 EVB parts list notes for additional information pertaining to the host baud rate (crystal vs E-clock vs MCU SCI operation). M68HC11EVB/D...
  • Page 20: Host Port Rx Signal Disable Header (J6)

    -12 VDC +5 VDC +12 VDC The power supply cable simply consists of four 14-22 AWG wires that interconnect -12 VDC, GND, +5 VDC, and +12 VDC, from the user supplied power supply to the EVB connector P4. M68HC11EVB/D 2-7 7...
  • Page 21: Terminal - Evb Interconnection

    EVB terminal port connector P2, refer to Chapter 6. SIG-GND TERMINAL NOTE A dumb terminal or personal computer is always connected to the terminal I/O port but it is very common not to have any external equipment connected to the host I/O port. M68HC11EVB/D...
  • Page 22: Host Computer - Evb Interconnection

    "computing" device, while the EVB is a computing device to a terminal device even when the terminal device happens to be a personal computer such as an IBM-PC or a Macintosh computer. M68HC11EVB/D 2-9 9...
  • Page 23: Terminal/Host Computer Cable Assembly Diagram

    25 PIN "D" SUBMINIATURE CONNECTOR Figure 2-2. Terminal/Host Computer Cable Assembly Diagram The EVB can operate with only pins 2, 3, and 7 (TXD, RXD, and SIGNAL GND) connected, however; the terminal device may need the other handshake lines for proper operation. 2-10 M68HC11EVB/D...
  • Page 24: Target System - Evb Interconnection

    52-lead plastic leaded chip carrier (PLCC) plug constructed by the user. This type of plug platform mates directly with the target system MCU device socket. Uses for this type of cable assembly are in the production stages of the developed MC68HC11 MCU-based product. M68HC11EVB/D 2-11...
  • Page 25 HARDWARE PREPARATION AND INSTALLATION MODB STRA STRB EXTAL XTAL RESET* XIRQ* IRQ* MCU I/O PORT 2-12 M68HC11EVB/D...
  • Page 26: Mcu I/O Port Extension Cable Assembly Diagram

    HARDWARE PREPARATION AND INSTALLATION Figure 2-3. MCU I/O Port Extension Cable Assembly Diagram M68HC11EVB/D 2-13...
  • Page 27: Checkout Procedure

    5. Memory modify (MM) command (refer to paragraph 4.6.11) is used to change CONFIG register contents to $0D. BUFFALO monitor will respond with "rom" message. 6. Press reset switch S1. External (ext) BUFFALO monitor prompt is displayed. Proceed to Chapter 4 for complete operating instructions. 2-14 M68HC11EVB/D...
  • Page 28: Chapter 3 Monitor Program

    BUFFALO must determine if the terminal is connected to the SCI or to an external ACIA or DUART. This is accomplished by sending a sign-on message to all ports and then waiting for the user to type carriage return (RETURN) on whichever device is the terminal port. When M68HC11EVB/D 3-1 1...
  • Page 29: Command Interpreter

    This routine does not wait for a character to be received before returning (function is performed by the INCHAR subroutine). The OUTPUT routine takes the ASCII character in accumulator A and writes to the specified I/O port. This routine waits until the character is transmitted before returning. M68HC11EVB/D...
  • Page 30: Utility Subroutines

    Decrement pointer into input buffer. $FF9A .WSKIP Read input buffer until non-white-space character found. $FF9D .CHKABR Monitor input for (CTRL)X, (DELETE), or (CTRL)W requests. $FFA0 .UPCASE If character in accumulator A is lower case alpha, convert to upper case. M68HC11EVB/D 3-3 3...
  • Page 31 $FFD0 .VECINIT Used during initialization to preset indirect interrupt vector area in RAM. This routine or a similar routine should be included in a user program which is invoked by the jump to $B600 feature of BUFFALO. M68HC11EVB/D...
  • Page 32: Command Table

    MCU RAM to reside. Each vector points to a three byte field which is used as a jump table to the vector service routine. Table 3-2 lists the interrupt vectors and associated three byte field. M68HC11EVB/D 3-5 5...
  • Page 33: Interrupt Vector Jump Table

    For an example, for the IRQ vector, the following is performed: 1. Place $7E (JMP) at location $00EE. 2. Place IRQ service routine address at locations $00EF and $00F0. The following is an example where the IRQ service routine starts at $0100: $00EE JMP IRQ SERVICE M68HC11EVB/D...
  • Page 34 STOP instruction sequence to be executed. A user may replace any of the JMP STOPIT instructions with a JMP to a user written interrupt service routine. If reset is issued via switch S1, BUFFALO will not overwrite these user jump instructions so they need not be re-initialized after every reset. M68HC11EVB/D 3-7 7...
  • Page 35 MONITOR PROGRAM M68HC11EVB/D...
  • Page 36: Chapter 4 Operating Instructions

    The monitor program uses the MCU internal RAM located at $0048-$00FF. The control registers are located at $1000-$103F. The monitor program also uses Output Compare 5 (OC5) for the TRACE instruction, therefore OC5 should not be used in user routines being traced. M68HC11EVB/D 4-1 1...
  • Page 37: Monitor Memory Map Limitations

    BUFFALO supports serial I/O to a terminal and/or host via a DUART (external IC) located at $D000 in the memory map. During initialization, BUFFALO 3.2 reads and writes to location $D00C to see if a DUART is present in the system. Refer to the buf25.asm file on the EVB diskette. M68HC11EVB/D...
  • Page 38: Operating Procedures

    $DFFF). The second method is to assemble code on a host computer and then download the code to the EVB user RAM via Motorola S-records. The monitor program is then used to debug the assembled user code. Having the monitor program in EPROM external to the MCU ($E000- $FFFF) allows the user to add instructions to customize the monitor for specific requirements.
  • Page 39: Command Line Format

    CRT displays the message "Too Long". 6. Command line errors may be corrected by backspacing (CTRL-H) or by aborting the command (CTRL-X or DELETE). 7. After a command has been entered, pressing <CR> a second time will repeat the command. M68HC11EVB/D...
  • Page 40: Monitor Commands

    Command line input examples in this chapter are amplified with the following: • Bold entries are user-entered on the terminal keyboard. • Command line input is entered when the keyboard <CR> key is depressed. Typical example of this explanation is as follows: >MD F000 F100<CR> M68HC11EVB/D 4-5 5...
  • Page 41: Monitor Program Commands

    Download (S-records*) via terminal port MEMORY (same as MM) MD [<addr1> [<addr2>]] Dump memory to terminal MM [<address>] Memory modify MOVE <addr1> <addr2> [<dest>] Move memory to new location Proceed/continue from breakpoint PROCEED (same as P) (same as RM) M68HC11EVB/D...
  • Page 42 (same as HELP) [<address>]/ (same as MM [<address>]) NOTES 1. On newer mask sets of MC68HC11, CONFIG can only be changed in special test or bootstrap modes of operation. 2. * Refer to Appendix A for S-record information. M68HC11EVB/D 4-7 7...
  • Page 43 3 or 4 digits specifies extended). Extended addressing can be forced by padding the address operand with leading zeros. (d.) Relative offsets for branch instructions are computed by the assembler. Therefore the valid operand for any branch instruction is the branch-if-true address, not the relative offset. M68HC11EVB/D...
  • Page 44 Assemble the current line and then disassemble the next opcode address. (CTRL)J Assemble the current line. If there isn't a new line to assemble, then disassemble the next sequential address location. Otherwise, disassemble the next opcode address. (CTRL)A Exit the assembler mode of operation. M68HC11EVB/D 4-9 9...
  • Page 45: Assembler/Disassembler

    $FFFF Assembler operation terminated. >(CTRL)A > NOTE Above example memory locations $C000-$C008 contain $FF data which disassembles to STX $FFFF. Refer to the end of this chapter for additional operational information pertaining to the use of the assembler/disassembler. 4-10 M68HC11EVB/D...
  • Page 46: Block Fill

    If an invalid address is specified, an invalid address message "rom-xxxx" is displayed on the terminal CRT (xxxx = invalid address). EXAMPLES DESCRIPTION Fill each byte of memory from C000 through C030 with >BF C000 C030 FF<CR> data pattern FF. Set location C000 to 0. >BF C000 C000 0 M68HC11EVB/D 4-11...
  • Page 47: Breakpoint Set

    Set several breakpoints. BR <addr1> <addr2> ... Remove all breakpoints. BR - Remove <addr1> and add <addr2>. BR -<addr1> <addr2>... BR <addr1> - <addr2>... Add <addr1>, clear all entries, then add <addr2>. Add <addr1>, then remove <addr2>. BR <addr1> -<addr2>... 4-12 M68HC11EVB/D...
  • Page 48 Only RAM locations can be breakpointed. >BR E000<CR> Invalid address message. rom-E000 0000 0000 0000 0000 > >BR C005 C007 C009 C011 C013<CR>Maximum of four breakpoints can be set. Buffer full message. Full C005 C007 C009 C011 > M68HC11EVB/D 4-13...
  • Page 49: Bulk

    No erase verification message will be displayed upon completion of the bulk EEPROM erase operation. User must verify erase operation by examining EEPROM locations using the MM or MD command. EXAMPLE DESCRIPTION Bulk erase all MCU EEPROM locations ($B600-$B7FF). >BULK<CR> Prompt indicates erase sequence completed. > 4-14 M68HC11EVB/D...
  • Page 50: Bulkall

    MCU internal ROM, thereby allowing external EPROM containing the BUFFALO program to control EVB operations. EXAMPLE DESCRIPTION Bulk erase all MCU EEPROM ($B600-$B7FF) and >BULKALL<CR> configuration register ($103F) locations. Prompt indicates erase sequence completed. > M68HC11EVB/D 4-15...
  • Page 51 Example program for CALL, G, and P command examples >ASM C000<CR> C000 STX $FFFF >LDAA #44<CR> 86 44 C002 STX $FFFF >STAA C7FC<CR> B7 C7 FC C005 STX $FFFF >NOP<CR> C006 STX $FFFF >NOP<CR> C007 STX $FFFF >NOP<CR> C008 STX $FFFF >RTS<CR> C009 STX $FFFF >(CTRL)A 4-16 M68HC11EVB/D...
  • Page 52: Call

    OPERATING INSTRUCTIONS CALL CALL EXAMPLE DESCRIPTION Execute program subroutine. >CALL C000<CR> P-C000 Y-DEFE X-F4FF A-44 B-FE C-D0 S-004A Displays register status at time RTS encountered (except > P register contents). M68HC11EVB/D 4-17...
  • Page 53: Eeprom Modify Mapping

    Specify remapped EEPROM starting address. >EEMOD E800<CR> Starting address & ending address displayed. E800 EFFF Ending address automatically established via (<addr1> + 2K > bytes). >EEMOD F800 FFFF<CR> Specify remapped EEPROM starting and ending address for an XC68HC811E2 device. F800 FFFF > 4-18 M68HC11EVB/D...
  • Page 54 Refer to example program shown on page 4-15 and insert breakpoints at locations $C005 and $C007 for the following G command example. EXAMPLE DESCRIPTION Begin program execution at PC address location C000. >G C000<CR> P-C005 Y-0000-X-00CD A-44 B-FB C-D0 S-004A Breakpoint encountered at C005. > M68HC11EVB/D 4-19...
  • Page 55: Help

    RM [P, Y, X, A, B, C, or S] Register modify. T [<n>] Trace n instructions. Transparent mode (CTRL-A = exit, CTRL-B = send break). CTRL-H Backspace. CTRL-W Wait for any key. CTRL-X or DELETE Abort/cancel command. RETURN Repeat last command. > 4-20 M68HC11EVB/D...
  • Page 56: Load

    >LOAD cat trial.out<CR> cat trial.out Invalid address message. error addr E000 S-records must be downloaded into RAM. > Refer to the downloading procedures at the end of this chapter for additional information pertaining to the use of the LOAD command. M68HC11EVB/D 4-21...
  • Page 57: Memory Display

    86 04 B7 01 FC 01 01 01 39 FF FF FF FF FF FF C010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF C020 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > 4-22 M68HC11EVB/D...
  • Page 58: Memory Modify

    Examine/modify next location. (CTRL)H or ^ or - Examine/modify previous location. Examine/modify same location. <CR> Terminate MM operation. Compute branch instruction relative offset. If an invalid address is specified, the invalid address message "rom" is displayed on the terminal CRT. M68HC11EVB/D 4-23...
  • Page 59 >MM C000<CR> Examine next location(s) using (SPACE BAR). C000 55 80 C2 00 CE C4 Examine EEPROM location $B600. >MM B600<CR> Change data at location $B600. B600 73 52<CR> Reexamine EEPROM location $B600. >MM B600<CR> B600 52 > 4-24 M68HC11EVB/D...
  • Page 60: Move

    Caution should be observed when moving data into EEPROM locations. EVB MCU CONFIG register ROMON bit is cleared to disable MCU internal ROM. EXAMPLE DESCRIPTION Move data from locations $E000-$E7FF to >MOVE E000 E7FF C000<CR> locations $C000-$C7FF. > M68HC11EVB/D 4-25...
  • Page 61: Proceed/Continue

    $C005 and $C007 (refer to example on page 4-17). EXAMPLE DESCRIPTION Start execution at C000. >G C000<CR> P-C005 Y-7982 X-FF00 A-44 B-70 C-D0 S-004A Breakpoint encountered at C005. Continue execution. >P<CR> P-C007 Y-7982 X-FF00 A-44 B-70 C-C0 S-004A Breakpoint encountered at C007. > 4-26 M68HC11EVB/D...
  • Page 62: Register Modify

    P-C020 Y-DEFE X-C020 A-DF B-DE C-D0 S-0054 Display remaining registers. P-C020 (SPACE BAR) Y-DEFE (SPACE BAR) X-C020 (SPACE BAR) A-DF (SPACE BAR) B-DE (SPACE BAR) C-D0 (SPACE BAR) (SPACE BAR) entered following stack pointer S-0054 (SPACE BAR) display terminates RM command. > M68HC11EVB/D 4-27...
  • Page 63: Stop At Address

    STOPAT command example. The RD command was used prior to this example to set the user PC register to $C000. EXAMPLE DESCRIPTION Execute example program until $0108 is reached. >STOPAT 0108<CR> P-0108 Y-DEFE X-F4FF A-04 B-FE C-90 S-0047 > 4-28 M68HC11EVB/D...
  • Page 64: Trace

    P-E19F Y-FFFF X-FFFF A-04 B-FF C-19 S-0041 > T 4<CR> $E1A7 P-E1A7 Y-FFFF X-FFFF A-04 B-FF C-19 S-0041 P-E1FD Y-FFFF X-FFFF A-04 B-FF C-19 S-0043 CMPA #$30 P-E1FF Y-FFFF X-FFFF A-04 B-FF C-19 S-0043 $E223 P-E223 Y-FFFF X-FFFF A-04 B-FF C-19 S-0043 > M68HC11EVB/D 4-29...
  • Page 65: Transparent Mode

    XXXX = host computer password. Password:XXXX<CR> "System Message" Task completed. Enter exit command. $(CTRL)A Exit transparent mode. > Refer to the downloading procedures at the end of this chapter for additional information pertaining to the use of the TM command. 4-30 M68HC11EVB/D...
  • Page 66: Verify

    >VERIFY cat trial.out<CR> Mismatch encountered. cat trial.out Error message displaying first byte address. error addr E000 > Refer to the downloading procedures at the end of this chapter for additional information pertaining to the use of the LOAD command. M68HC11EVB/D 4-31...
  • Page 67: Transfer Data Bootstrap Mode

    MC68HC11 MCU device operating in the bootstrap mode. These signals appear as nonsense data to the terminal display used for normal communication with the EVB. After using the XBOOT command the EVB must be reset by pressing the reset switch S1 before normal communications can resume. 4-32 M68HC11EVB/D...
  • Page 68 CRT. The bootload process takes approximately a third of a second to finish. 7. Disconnect jumper wire installed in step d. 8. Install fabricated jumper removed in step c. 9. Press EVBU reset switch S1 to restore normal EVB operation. M68HC11EVB/D 4-33...
  • Page 69: Assembly/Disassembly Procedures

    Assemble the current line and then disassemble the next opcode address. (CTRL)J Assemble the current line. If there isn't a new line to assemble, then disassemble the next sequential address location. Otherwise, disassemble the next opcode address. (CTRL)A Exit the assembler mode of operation. 4-34 M68HC11EVB/D...
  • Page 70 Wait for empty transmit data reg. C014 TEST >BEQ C00F<CR> 27 F9 Read SCI status register. C016 BITB $80F6 >LDAA 102E<CR> B6 10 2E Extract RDRF bit from status reg. C019 BVS $C01B >ANDA #20<CR> 84 20 (continued) M68HC11EVB/D 4-35...
  • Page 71 > The routines, on the next page, are performed on the SCI program loop just assembled: NOTE Connector P1 pins 20 and 21 are connected (connects SCI transmitter to the receiver) in order to perform the following routines. 4-36 M68HC11EVB/D...
  • Page 72 C200 55 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 UU C210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Remove breakpoint. >BR -C024<CR> C004 C00A C02E 0000 (continued) M68HC11EVB/D 4-37...
  • Page 73 Display machine state after last breakpoint. C200 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 UUUUUUUUUUUUUUUU C210 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 00 UUUUUUUUUUUUUUU > 4-38 M68HC11EVB/D...
  • Page 74: Downloading Procedures

    4.8 DOWNLOADING PROCEDURES This portion of text describes the EVB downloading procedures. The downloading operation enables the user to transfer information from Motorola's EXORciser development station or a host (personal) computer to the EVB (or target system memory). Specific downloading procedures are described enabling the user to perform downloading operations with an EXORciser development station and host personal computer (PC) systems.
  • Page 75: Exorciser To Evb

    F800 > >VERIFY COPY TRIAL.LX:1,#CN<CR> VERIFY command entered. Compares S-records to RAM file. COPY TRIAL.LX:1,#CN Comparison verified. done > >VERIFY COPY TRIAL.LX:1,#CN<CR> VERIFY command entered. Verification unsuccessful. COPY TRIAL.LX:1,#CN Error address displayed. error addr F800 > 4-40 M68HC11EVB/D...
  • Page 76: Apple Macintosh (With Macterminal) To Evb

    Apple Macintosh (with MacTerminal) to EVB The MacTerminal downloading program in this application is used as a terminal emulator for the Apple Macintosh computer. To download a Motorola S-record file from the Apple Macintosh computer to the EVB, perform the following steps: 1.
  • Page 77 8. Operate pull-down File menu, and select (choose): Send File ... 9. Use dialog box and select applicable S-record object file. Click on: Send Motorola S-record file is now transferred to the EVB. NOTE S-record file will not be displayed during the file transfer to the EVB.
  • Page 78: Apple Macintosh (With Red Ryder) To Evb

    Apple Macintosh (with Red Ryder) to EVB The Red Ryder downloading program in this application is also used as a terminal emulator for the Apple Macintosh computer. To download a Motorola S-record file from the Apple Macintosh computer to the EVB, perform the following steps: 1.
  • Page 79: Ibm-Pc (With Kermit) To Evb

    EVB download command (via terminal >LOAD T<CR> port) entered. (CTRL)C Kermit-MS>PUSH<CR> The IBM Personal Computer DOS Version X.XX (C)Copyright IBM Corp 1981, 1982, 1983 Motorola S-record file name. C>TYPE (File Name) > COM1<CR> S-record downloading completed. C>EXIT<CR> Return to EVB monitor program. Kermit-MS>CONNECT<CR> >(CTRL)C Exit Kermit program.
  • Page 80: Ibm-Pc (With Procomm) To Evb

    7. Instruct PROCOMM to send the S-record file by pressing the Pg Up key on the PC, then follow PROCOMM instructions on the display screen to select the S-record file. Motorola S-record file is now transferred to the EVB. Upon completion of the S-record transfer, the following message is displayed: done >...
  • Page 81 OPERATING INSTRUCTIONS 4-46 M68HC11EVB/D...
  • Page 82: Chapter 5 Hardware Description

    The EVB allows the user to use all the features of the monitor BUFFALO program, however it should be noted that the monitor program uses the MCU on-chip RAM locations $0048-$00FF leaving only 72 bytes for the user (i.e., $0000-$0047). This should be remembered when writing code. M68HC11EVB/D...
  • Page 83: Port Replacement Unit

    (U1) is used to replace the MCU I/O ports B and C (including STRA and STRB control lines) used for single chip mode of operation. The PRU provides the required single chip mode I/O lines for target system evaluation (emulation) via the EVB MCU extension I/O port connector P1. Figure 5-1. EVB Block Diagram M68HC11EVB/D...
  • Page 84: Evb Memory Map Diagram

    $A000 NOT USED $B5FF $B600 EEPROM $B7FF $B800 NOT USED $BFFF $C000 USER RAM $DFFF $E000 MONITOR EPROM $FFFF $0000-$0032 USER RAM $0033-$0047 USER STACK POINTER $0048-$00C3 MONITOR VARIABLES $00C4-$00FF VECTOR JUMP TABLE Figure 5-2. EVB Memory Map Diagram M68HC11EVB/D...
  • Page 85: Memory

    Refer to the buf25.asm file on the EVB diskette for additional information pertaining to the ONSCI subroutine. The host I/O port is provided for downloading Motorola S-records via the BUFFALO monitor commands. When using the host I/O port, either by executing the HOST or LOAD commands, The target system Serial Communications Interface (SCI) is switched to the host I/O port via the MC74HC4066 digital switch device (U7) and MC74HC74 latch device (U11).
  • Page 86: Chapter 6 Support Information

    Connector P4 interconnects an external power supply to the EVB. Pin assignments for the above connectors (P1 through P4) are identified in Tables 6-1 through 6- 4, respectively. Connector signals are identified by pin number, signal mnemonic, and signal name and description. M68HC11EVB/D 6-1 1...
  • Page 87: Mcu I/O Port Connector (P1) Pin Assignments

    PORT C (bits 0-7) - General purpose I/O lines. RESET* RESET - An active low bi-directional control line used to initialize the MCU. XIRQ* X INTERRUPT REQUEST - An active low input line used to request asynchronous non-maskable interrupts to the MCU. M68HC11EVB/D...
  • Page 88 VOLTAGE REFERENCE LOW - Input reference supply voltage (low) line for the MCU analog-to-digital (A/D) converter. Used to increase accuracy of the A/D conversion. VOLTAGE REFERENCE HIGH - Input reference supply voltage (high) line. Same purpose as pin 51. 53-60 Not connected. M68HC11EVB/D 6-3 3...
  • Page 89: Terminal I/O Port Connector (P2) Pin Assignments

    (carrier) signal has been detected. This pin is connected to both CTS pin 5 and DSR pin 6. 9-19 Not connected. DATA TERMINAL READY - An input line used to indicate an on-line/in-service/active status. 21-25 Not connected. M68HC11EVB/D...
  • Page 90: Host I/O Port Connector (P3) Pin Assignments

    DATA CARRIER DETECT - An output signal used to indicate an acceptable received line (carrier) signal has been detected. This pin is connected to DSR pin 6. 9-19 Not connected. DATA TERMINAL READY - An input line used to indicate an on-line/in-service/active status. 21-25 Not connected. M68HC11EVB/D 6-5 5...
  • Page 91: Input Power Connector (P4) Pin Assignments

    GROUND +5 V +5 Vdc Power - Input voltage (+5 Vdc @ 0.5 A) used by the EVB logic circuits. +12 V +12 Vdc Power - Input voltage (+12 Vdc @ 0.1 A) used by the EVB logic circuits. M68HC11EVB/D...
  • Page 92: Parts List

    (Figure 6-1) that is associated with the parts list table. This parts list reflects the latest issue of hardware at the time of printing. Figure 6-1. EVB Parts Location Diagram M68HC11EVB/D 6-7 7...
  • Page 93: Evb Parts List

    SUPPORT INFORMATION Table 6-5. EVB Parts List Reference Designation Component Description Printed Wiring Board (PWB) M68HC11EVB C1-C5, C8-C11, C13, C14, C17, C18 Capacitor, 0.1 uF @ 50 Vdc, +/-20% C6, C7, C16 Capacitor, 24 pF @ 50 Vdc, +/-20% Capacitor, 1.0 uF @ 50 Vdc, +/-20%...
  • Page 94 I.C., MC74HC74, D-type flip-flop I.C., MC74HC14, inverter I.C., MC74HC4040, binary ripple counter I.C., MC1489P, RS-232C receiver Voltage detector, 3.80-4.20 Vdc, Motorola #MC34064P or Seiko # S-8054HN Socket, PC mount, 44 pin, PLCC, AMP # 821-551-1 (use with M68HC11EVB/D 6-9 9...
  • Page 95 24 pF capacitors (C6 and C7) and 10M ohm resistor (R5) values. 3. 8 MHz crystal obtains 2 MHz E-clock/9600 baud MCU SCI operation. 4 MHz crystal obtains 1 MHz E-clock/4800 baud MCU SCI operation. 6-10 M68HC11EVB/D...
  • Page 96: Diagrams

    SUPPORT INFORMATION 6.4 DIAGRAMS Figure 6-2 is the EVB schematic diagram. Figure 6-2. EVB Schematic Diagram (Sheet 1 of 2) M68HC11EVB/D 6-11...
  • Page 97: Evb Schematic Diagram (Sheet 2 Of 2)

    SUPPORT INFORMATION Figure 6-3. EVB Schematic Diagram (Sheet 2 of 2) 6-12 M68HC11EVB/D...
  • Page 98: Appendix A S-Record Information

    28 (56 printable characters in the S-record). Checksum The least significant byte of the one's complement of the sum of the values represented by the pairs of characters making up the record length, address, and the code/data fields. M68HC11EVB/D...
  • Page 99: S-Record Types

    A.3 S-RECORD TYPES Eight types of S-records have been defined to accommodate the several needs of the encoding, transportation, and decoding functions. The various Motorola upload, download, and other record transportation control programs, as well as cross assemblers, linkers, and other file- creating or debugging programs, utilize only those S-records which serve the purpose of the program.
  • Page 100: S-Record Creation

    S-record type S1, indicating a code/data record to be loaded/verified at a 2-byte address. Hexadecimal 13 (decimal 19), indicating 19 character pairs, representing 19 bytes of binary data, follow. Four-character 2-byte address field; hexadecimal address 0000, indicates location where the following data is to be loaded. M68HC11EVB/D...
  • Page 101 TYPE LENGTH ADDRESS CODE/DATA CHECKSUM ••• ••• 0101 0011 0011 0001 0011 0001 0011 0011 0011 0000 0011 0000 0011 0000 0011 0000 0011 0010 0011 1000 0011 0101 0100 0110 ••• 0011 0010 0100 0001 M68HC11EVB/D...
  • Page 102: Appendix Bapplications

    BUFFALO can be used with the MC68HC11 MCU in the single-chip mode as shown in Figure C- 1. The only terminal interface is through the SCI port. Internally there are 54 bytes of RAM starting at $0000, and 512 bytes internal EEPROM which can be used for developing user programs. M68HC11EVB/D B-1 1...
  • Page 103: B-1. Single-Chip Mode Configuration

    APPLICATIONS Figure B-1. Single-Chip Mode Configuration M68HC11EVB/D...

Table of Contents