Motorola M68HC11EVBU User Manual

Universal evaluation board
Hide thumbs Also See for M68HC11EVBU:
Table of Contents

Advertisement

M68HC11EVBU/D
REV 3
April 1997
M68HC11EVBU
UNIVERSAL EVALUATION BOARD
USER'S MANUAL
Information contained in this document applies to
REVision (B) M68HC11EVBU Universal Evaluation Boards.
© MOTOROLA Inc. 1990, 1997; All Rights Reserved

Advertisement

Table of Contents
loading

Summary of Contents for Motorola M68HC11EVBU

  • Page 1 M68HC11EVBU/D REV 3 April 1997 M68HC11EVBU UNIVERSAL EVALUATION BOARD USER’S MANUAL Information contained in this document applies to REVision (B) M68HC11EVBU Universal Evaluation Boards. © MOTOROLA Inc. 1990, 1997; All Rights Reserved...
  • Page 2 The computer program stored in the Read Only Memory of the device contains material copyrighted by Motorola Inc., first published 1990, and may be used only under a license such as the License For Computer Programs (Article 14) contained in Motorola’s Terms and Conditions...
  • Page 3 PREFACE Unless otherwise specified, all address references are in hexadecimal throughout this manual. An asterisk (*) following the signal name denotes that the signal is true or valid when the signal is low.
  • Page 5: Table Of Contents

    2.6 INSTALLATION INSTRUCTIONS................... 2-20 2.6.1 Power Supply – EVBU Interconnection..............2-20 2.6.2 Terminal – EVBU Interconnection................2-22 2.6.3 External Equipment – MCU Interconnection ............. 2-25 2.6.4 Wire-Wrap Area – MCU Interconnection ..............2-25 2.6.5 MCU A/D Converter Circuitry Modifications............2-28 M68HC11EVBU/D...
  • Page 6 4.6.11 Memory Modify....................... 4-24 4.6.12 Move Memory ......................4-26 4.6.13 Proceed/Continue...................... 4-27 4.6.14 Register Modify/Display..................4-28 4.6.15 Stop at Address ......................4-29 4.6.16 Trace ......................... 4-30 4.6.17 Transparent Mode..................... 4-31 4.6.18 Verify........................4-32 4.6.19 Transfer Data Bootstrap Mode ................. 4-33 M68HC11EVBU/D...
  • Page 7 6.1 INTRODUCTION ......................... 6-1 6.2 CONNECTOR SIGNAL DESCRIPTIONS ................6-1 6.3 PARTS LIST.......................... 6-6 6.4 DIAGRAMS .......................... 6-8 APPENDIX A S-RECORD INFORMATION A-1. INTRODUCTION........................1 A-2 S-RECORD CONTENT......................1 A-3 S-RECORD TYPES .........................2 A-4 S-RECORD CREATION ......................3 A-5 S-RECORD EXAMPLE ......................3 M68HC11EVBU/D...
  • Page 8 6-1. Input Power Connector (P1) Pin Assignments..............6-1 6-2. Terminal I/O Port Connector (P2) Pin Assignments............6-2 6-3. Battery Backup Connector (P3) Pin Assignments..............6-3 6-4. MCU I/O Port Connectors (P4 and P5) Pin Assignments............ 6-3 6-5. EVBU Parts List........................6-6 viii M68HC11EVBU/D...
  • Page 9: Chapter 1 General Information

    • Host computer downloading capability • MC68HC11 MCU based debugging/evaluating circuitry • MC68HC68T1 real-time clock + RAM with serial interface peripheral circuitry • RS-232C compatible terminal I/O port • Wire-wrap area for custom interfacing • Single (+5 Vdc) input power source requirements M68HC11EVBU/D...
  • Page 10: Specifications

    The EVBU and a monitor/debugging program called BUFFALO (Bit User Fast Friendly Aid to Logical Operations) demonstrate the capabilities of this MCU. The monitor program is contained in MCU ROM. The debugging/evaluation operation lets you debug user code under control of the BUFFALO monitor program. M68HC11EVBU/D...
  • Page 11: Equipment Required

    There are two ways to assemble user code: use the line assembler in the BUFFALO monitor program or assemble code on a host computer and then download the code to the EVBU user RAM via an Motorola S-records. The monitor program is then used to debug the assembled user code.
  • Page 12: Customer Support

    GENERAL INFORMATION CUSTOMER SUPPORT For information about a Motorola distributor or sales office near you call: AUSTRALIA, Melbourne – (61-3)887-0711 JAPAN, Fukuoka – 81-92-725-7583 Sydney – 61(2)906-3855 Gotanda – 81-3-5487-8311 Nagoya – 81-52-232-3500 BRAZIL, Sao Paulo – 55(11)815-4200 Osaka – 81-6-305-1802 CANADA, B.
  • Page 13: Chapter 2 Hardware Preparation And Installation

    P2 on the EVBU. An external battery may be connected to P3 on the EVBU for battery backup purposes. Connectors P4 and P5 are used to connect the EVBU to the wire-wrap area or other user-supplied equipment. Switch S1 lets you reset the EVBU. M68HC11EVBU/D...
  • Page 14: Mcu Mode Select

    • MCU Mode Select (J3 and J4) • MCU Clock Reconfiguration (J5 and J6) • Trace Enable (J7) • SCI Reconfiguration (J8 and J9) • SPI Reconfiguration (J10 thru J12) • Real-Time Clock INT* (J14) • TxD Reconfiguration (J15) M68HC11EVBU/D...
  • Page 15: Evbu Connector, Switch, And Jumper Header Location Diagram

    HARDWARE PREPARATION AND INSTALLATION WIRE-WRAP AREA DENOTES FABRICATED JUMPER INSTALLED ON JUMPER HEADER. DENOTES JUMPER HEADER SUPPLIED. DENOTES CUT-TRACE SHORT ON PCB SOLDER SIDE. DENOTES FEED-THRU HOLES ONLY. DENOTES FEED-THRU HOLES ONLY. Figure 2-1. EVBU Connector, Switch, and Jumper Header Location Diagram M68HC11EVBU/D...
  • Page 16: Input Power Select Header (J1)

    +14.0 Vdc) to the input power connector P1. To utilize this secondary power source, install an MC78L05C voltage regulator at location U1 (shown below). After installing the voltage regulator, move the fabricated jumper on pins 1 and 2 of jumper header J1 to pins 2 and 3. MC78L05C (TOP PCB VIEW) M68HC11EVBU/D...
  • Page 17: Program Execution Select Header (J2)

    PE0 line, the BUFFALO monitor will gain control after a reset operation. For additional EEPROM jump operation information, described above, refer to EVBU monitor program (lines 0162 and 0163) of the listing stored on the EVBU diskette (see file buf32.asm). M68HC11EVBU/D...
  • Page 18: Mcu Mode Select Headers (J3 And J4)

    J4 to return the EVBU to the factory configuration (single-chip mode). Jumper header J3 does not contain a cut trace short. MODB MODA Cut-Trace Short NOTE If J4 cut-trace short is cut, you must install a user-supplied fabricated jumper on J4 to return it to the factory configuration. M68HC11EVBU/D...
  • Page 19 J3 and J4. For expanded- multiplexed and special-test modes of operation, additional peripheral circuitry must be implemented on the EVBU wire-wrap area to support the expanded modes. The EVBU can be reconfigured for the special-bootstrap mode of operation without additional peripheral circuitry. M68HC11EVBU/D...
  • Page 20: Mcu Clock Reconfiguration Headers (J5 And J6)

    For special applications using the MCU EXTAL and XTAL signals in a target system environment or EVBU wire-wrap area, install fabricated jumpers on jumper headers J5 and J6. When jumpers are installed, both EXTAL and XTAL signals are routed to the MCU I/O port connectors P4 and P5. M68HC11EVBU/D...
  • Page 21: Trace Enable Header (J7)

    BUFFALO monitor commands are not available. BUFFALO commands which will not function without a jumper installed on J7 are: proceed (P), stop at address (STOPAT), and trace (T) commands. Refer to the schematic diagram (Figure 6-2) located in Chapter 6 for PA3/OC5 signal wiring information. M68HC11EVBU/D...
  • Page 22: Sci Reconfiguration Headers (J8 And J9)

    J8 and J9 to the factory configuration install user supplied fabricated jumpers on the J8 and J9. Refer to the schematic diagram (Figure 6-2) located in Chapter 6 for PD0/RXD and PD1/TXD signal wiring information. 2-10 M68HC11EVBU/D...
  • Page 23: Spi Reconfiguration Headers (J10 Thru J13)

    J10 through J13 to the factory configuration install user supplied fabricated jumpers on jumper headers J10 through J13. Refer to the schematic diagram (Figure 6-2) located in Chapter 6 for PD4/SCK, PD2/MISO, PD3/MOSI, and PD5/SS signal wiring information. M68HC11EVBU/D 2-11...
  • Page 24: Real-Time Clock Int* Header (J14)

    When connection of the MC68HC68T1 peripheral device INT* signal line to the MCU is required, you must install a (user supplied) fabricated jumper on the component side of the PCB. Refer to the schematic diagram (Figure 6-2) located in Chapter 6 for INT* and XIRQ* signal wiring information. 2-12 M68HC11EVBU/D...
  • Page 25: Txd Reconfiguration Header (J15)

    Refer to the parts list contained in Chapter 6 for jumper header J15 component description. Refer to the schematic diagram (Figure 6-2) located in Chapter 6 for TxD signal wiring information. M68HC11EVBU/D 2-13...
  • Page 26: Real-Time Clock, Ram, Serial Interface Peripheral

    • Full clock features – seconds, minutes, hours (AM/PM), day-of-week, date, month, year (0-99), auto leap year • 32 word by 8-bit RAM • Direct interface to Motorola serial peripheral interface (SPI) • Minimum time-keeping voltage 2.2 V • Burst mode for reading/writing successive addresses in clock or RAM •...
  • Page 27: Diode Jumpers (D1-D4)

    D4 1N4148 diode, jumper wire, or resistor (application dependent) A user-supplied +3.0 Vdc @ 25 µA battery is connected to the EVBU battery connector P3 (feed-thru holes designated + and -) for battery backup purposes as shown below. M68HC11EVBU/D 2-15...
  • Page 28: Test Points (Tp1-Tp6)

    MC68HC68T1 device. Refer to the MC68HC68T1 Real-Time Clock plus RAM with Serial Interface data sheet (MC68HC68T1/D) for additional device information pertaining to the above test point signals. Refer to the parts list contained in Chapter 6 for test points TP1-TP6 component descriptions. 2-16 M68HC11EVBU/D...
  • Page 29: Wire-Wrap Area

    P5 is user supplied. Refer to the parts list contained in Chapter 6 for connector P5 component description. As shown on the following page, connector P5 supplies the EVBU wire-wrap area with the +5 Vdc and ground (GND) power connections. M68HC11EVBU/D 2-17...
  • Page 30: Wire-Wrap Area (Top Exploded View)

    HARDWARE PREPARATION AND INSTALLATION 29 HOLES +5 VDC HOLES GROUND (GND) BUS Figure 2-2. Wire-Wrap Area (Top Exploded View) 2-18 M68HC11EVBU/D...
  • Page 31: Wire-Wrap Area (Side View)

    Connector P5 is primarily used to interface directly to the EVBU wire-wrap area. (TOP) EVBU PCB AREA EVBU WIRE-WRAP AREA WIRE-WRAP DOUBLE ROW POST WIRE-WRAP DEVICE SOCKET HEADER (USER SUPPLIED) (USER SUPPLIED) STANDOFF (USER SUPPLIED) CUSTOM WIRING (USER SUPPLIED) (BOTTOM) Figure 2-3. Wire-Wrap Area (Side View) M68HC11EVBU/D 2-19...
  • Page 32: Installation Instructions

    EVBU power supply connector P1 is shown below. The power supply cable consists of two 14-22 AWG wires that interconnect +5 Vdc and ground (GND) from the user-supplied power supply to the EVBU connector P1. 2-20 M68HC11EVBU/D...
  • Page 33 P1. To utilize this secondary power source, install an MC78L05C voltage regulator at location U1. Upon completion of the voltage regulator installation, you must reinstall the fabricated jumper on jumper header J1, from pins 1 and 2 to pins 2 and 3. M68HC11EVBU/D 2-21...
  • Page 34: Terminal - Evbu Interconnection

    PC to EVBU terminal port connector P2. SIG-GND Figure 2-4. Terminal I/O Port Connector Figure 2-5 illustrates a suitable cable assembly for connecting the EVBU to a dumb terminal. This cable assembly is made from standard mass termination ribbon cable components. 2-22 M68HC11EVBU/D...
  • Page 35: Terminal/Host Computer Cable Assembly Diagram

    2. ITT CANNON #DBSP-B25P 2. ITT CANNON #DBSP-B25S 3. ANSLEY #609•25P 3. ANSLEY #609•25S 4. WINCHESTER #49•1125P 4. WINCHESTER #49•1125S 25 PIN "D" SUBMINIATURE CONNECTOR RED WIRE NOT CONNECTED 25 PIN "D" SUBMINIATURE CONNECTOR Figure 2-5. Terminal/Host Computer Cable Assembly Diagram M68HC11EVBU/D 2-23...
  • Page 36 (shown below) may be required to match the cable to the EVBU terminal port connector. A null modem adapter is used to reverse the roles of various data and control signals to make a DTE device appear as a DCE device or vice versa. DB-25S DB-25P SIG-GND SIG-GND NULL MODEM ADAPTER 2-24 M68HC11EVBU/D...
  • Page 37: External Equipment - Mcu Interconnection

    EVBU MCU circuitry to the EVBU wire-wrap area components. For connector pin assignments and signal descriptions of the EVBU MCU I/O port connector P5, refer to Chapter 6. Refer to the parts list contained in Chapter 6 for the connector P5 component description. M68HC11EVBU/D 2-25...
  • Page 38: Mcu I/O Port Connector P4 (Evbu Top View)

    PC4 / AD4 PC3 / AD3 PC2 / AD2 PC1 / AD1 PC0 / AD0 XTAL EXTAL STRB / R/W* STRA / AS MODA / LIR* MODB / VSTBY Figure 2-6. MCU I/O Port Connector P4 (EVBU Top View) 2-26 M68HC11EVBU/D...
  • Page 39: Mcu I/O Port Connector P5 (Evbu Bottom View)

    PB6 / A14 PB7 / A15 PB4 / A12 PB5 / A13 PB2 / A10 PB3 / A11 PB0 / A8 PB1 / A9 SPARE SPARE SPARE SPARE Figure 2-7. MCU I/O Port Connector P5 (EVBU Bottom View) M68HC11EVBU/D 2-27...
  • Page 40: Mcu A/D Converter Circuitry Modifications

    VRL signal source is used (refer to the schematic diagram Figure 6-2 for additional information). The PCB default cut trace is illustrated below. PIN 51 PIN 1 PCB SOLDER SIDE Consult the MC68HC11E9 data sheet for specific information pertaining to the use of the VRL pin. 2-28 M68HC11EVBU/D...
  • Page 41: Chapter 3 Monitor Program

    <CR> on whichever device is the terminal port. When BUFFALO recognizes a carriage return from a port, that port is then used for all subsequent terminal I/O operations. The EVBU terminal device is normally connected to the SCI. M68HC11EVBU/D 3-1 1...
  • Page 42: Command Interpreter

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

    Test character in accumulator A and return with Z bit set if character is white space (space, comma, tab). $FFA6 .DCHEK Test character in accumulator A and return with Z bit set if character is delimiter (carriage return or white space). M68HC11EVBU/D 3-3 3...
  • Page 44 BUFFALO monitor program. Jump table addresses remain the same when a new version of BUFFALO is developed even though the actual addresses of the routine may change. Programs that reference routines by the jump table addresses are not required to be changed to operate on revised versions of the BUFFALO monitor program. M68HC11EVBU/D...
  • Page 45: Command Table

    This procedure may be difficult to accomplish with the M68HC11EVBU because the BUFFALO monitor is contained in ROM. However with the standard M68HC11EVB, you may change commands, as this version of the BUFFALO monitor is contained in EPROM.
  • Page 46 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 a reset is issued via switch S1, BUFFALO will not overwrite these user jump instructions so they need not be re-initialized after every reset. M68HC11EVBU/D...
  • Page 47: Chapter 4 Operating Instructions

    (when designing code) that BUFFALO uses the MCU on-chip RAM locations $0047-$00FF leaving approximately 325 bytes for the user (i.e., $0000-$0047 and $0100- $01FF). 512 bytes of EEPROM ($B600-B7FF) and approximately 325 bytes of RAM ($0000- 0047) + ($0100-$01FF) are available for user developed software. M68HC11EVBU/D...
  • Page 48: Monitor Memory Map Limitations

    $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. If a DUART is installed on the EVBU wire-wrap area and connected to the MCU, refer to the buf32.asm file on the EVBU diskette. M68HC11EVBU/D...
  • Page 49: Operating Procedures

    BUFFALO monitor one-line assembler. The second method, you assemble code on a host computer and then download it to the EVBU user RAM or EEPROM in Motorola S-record format. The monitor program is then used to debug the assembled user code.
  • Page 50 (may be shared with the 9 key on the numeric keypad on some PC keyboards), and follow instructions on the display screen. If using a Apple Macintosh, use the pull-down menu to send the file. Upon completion of the S-record transfer, the following message is displayed on the terminal display screen: done > M68HC11EVBU/D...
  • Page 51: Monitor Program

    EVBU contains no hardware to support the host related commands. (e.g., ACIA, DUART) A standard input routine controls the EVBU operation while you enter a command line. Command processing begins only after the command line has been terminated by depressing the keyboard carriage return <CR> key. M68HC11EVBU/D...
  • Page 52: 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. Pressing <CR> will repeat the most recent command. The LOAD command is an exception. M68HC11EVBU/D...
  • Page 53: 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 carriage return key <CR> key is depressed. Typical example of this explanation is: >MD F000 F100<CR> M68HC11EVBU/D...
  • Page 54: Monitor Program Commands

    Download (S-records*) via terminal port (2) 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) READ (same as MOVE) M68HC11EVBU/D...
  • Page 55 Send program to another M68HC11 via bootstrap mode (same as HELP) [<address>]/ (same as MM [<address>]) NOTES 1. On newer MC68HC11 mask sets, CONFIG can only be changed in special test or bootstrap modes of operation. 2. * Refer to Appendix A for S-record information. M68HC11EVBU/D...
  • Page 56: Assembler/Disassembler

    Arithmetic Shift Left (ASL)/Logical Shift Left (LSL) displays as ASL Arithmetic Shift Left Double (ASLD)/Logical Shift Left Double (LSLD) displays as LSLD Branch if Carry Clear (BCC)/Branch if Higher or Same (BHS) displays as BCC Branch if Carry Set (BCS)/Branch if Lower (BLO) displays as BCS 4-10 M68HC11EVBU/D...
  • Page 57 Branch offsets calculated automatically, 0106 STX $FFFF >BRA 0130<CR> address required as branch operand. 20 28 Assembler operation terminated. 0108 STX $FFFF >(CTRL)A > NOTE In the above example memory locations $0100-$0108 previously contained $FF data which disassembles to STX $FFFF. M68HC11EVBU/D 4-11...
  • Page 58 RAM or EEPROM. If an invalid address is specified, an invalid address message "rom-xxxx" is displayed on the terminal CRT (xxxx = invalid address). Examples: >BF 0100 01FF FF<CR> Fill each byte of memory from 0100 through 01FF with data pattern FF. Set location B700 to 0. >BF B700 B700 0<CR> 4-12 M68HC11EVBU/D...
  • Page 59 BR <addr1> <addr2> ... Set several breakpoints. BR - Remove all breakpoints. BR -<addr1> <addr2>... Remove <addr1> and add <addr2>. BR <addr1> – <addr2>... Add <addr1>, clear all entries, then add <addr2>. BR <addr1> -<addr2>... Add <addr1>, then remove <addr2>. M68HC11EVBU/D 4-13...
  • Page 60 Only RAM or EEPROM locations can be >BR E000<CR> breakpointed. Invalid address message. rom-E000 0000 0000 0000 0000 > Maximum of four breakpoints can be set. >BR 0105 0107 0109 0111 0113<CR> Buffer full message. Full 0105 0107 0109 0111 > 4-14 M68HC11EVBU/D...
  • Page 61: Erase All Eeprom Locations

    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: Bulk erase all MCU EEPROM locations ($B600-$B7FF). >BULK<CR> Prompt indicates erase sequence completed. > M68HC11EVBU/D 4-15...
  • Page 62 User must verify erase operation by examining EEPROM locations or the configuration register location using the MM or MD command. Example: Bulk erase all MCU EEPROM ($B600-$B7FF) and >BULKALL<CR> configuration register ($103F) locations. Prompt indicates erase sequence completed. > 4-16 M68HC11EVBU/D...
  • Page 63: Execute Subroutine

    EXAMPLE PROGRAM: for CALL, G, P, and STOPAT command examples >ASM 0100<CR> 0100 STX $FFFF >LDAA #44<CR> 86 44 0102 STX $FFFF >STAA 01FC<CR> B7 01 FC 0105 STX $FFFF >NOP<CR> 0106 STX $FFFF >NOP<CR> 0107 STX $FFFF >NOP<CR> 0108 STX $FFFF >RTS<CR> 0109 STX $FFFF >(CTRL)A M68HC11EVBU/D 4-17...
  • Page 64 OPERATING INSTRUCTIONS CALL Execute Subroutine Example: >CALL 0100<CR> Execute program subroutine. P-0100 Y-DEFE X-F4FF A-44 B-FE C-D0 S-0047 Displays register status at time RTS encountered (except P register contains original call > address or a breakpoint address if encountered). 4-18 M68HC11EVBU/D...
  • Page 65: Execute Program

    Refer to example program shown on page 4-16 and insert breakpoints at locations $0105 and $0107 for the following G command example. Example: Begin program execution at PC address location 0100. >G 0100<CR> P-0105 Y-DEFE X-F4FF A-44 B-FE C-D0 S-0047 Breakpoint encountered at 0105. > M68HC11EVBU/D 4-19...
  • Page 66: 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 M68HC11EVBU/D...
  • Page 67: Load S-Records

    Refer to paragraph 4.8 DOWNLOADING PROCEDURES for additional information pertaining to the use of the LOAD command. Refer to paragraph 4.4.2 Alternate Baud Rates for information pertaining to slower baud rates which are required when downloading directly to EEPROM. M68HC11EVBU/D 4-21...
  • Page 68 ASCII equivalents (if applicable) of the the 16 memory locations. Since not all 8-bit values correspond to a displayable ASCII character, some of the character positions at the end of a line may be blank. 4-22 M68HC11EVBU/D...
  • Page 69: Memory Display

    86 04 B7 01 FC 01 01 01 39 FF FF FF FF FF FF FF 0110 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0120 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF > M68HC11EVBU/D 4-23...
  • Page 70: Memory Modify

    If an attempt is made to change an invalid address, the invalid address message "rom" is displayed on the terminal CRT. An invalid address is any memory location which cannot be read back immediately after a change in order to verify that change. 4-24 M68HC11EVBU/D...
  • Page 71: Memory Modify

    >MM 0100<CR> Examine next location(s) using (SPACE BAR). 0100 86 04 B7 01 FC 01 Examine EEPROM location $B700. >MM B700<CR> Change data at location $B700. B700 FF 52<CR> Reexamine EEPROM location $B700. >MM B700<CR> B700 52 > M68HC11EVBU/D 4-25...
  • Page 72: 4.6.12 Move Memory

    Using the MOVE command on EEPROM locations will program EEPROM cells. No messages will be displayed on the terminal CRT upon completion of the copy/move operation, only the prompt is displayed. Example: Move data from locations $E000-$E0FF to locations >MOVE E000 E0FF 0100<CR> $0100-$01FF. > 4-26 M68HC11EVBU/D...
  • Page 73: 4.6.13 Proceed/Continue

    $0105 and $0107 (refer to example on pages 4-16 and 4-17). Example: Start execution at 0100. >G 0100<CR> P-0105 Y-DEFE X-F4FF A-44 B-FE C-D0 S-0047 Breakpoint encountered at 0105. Continue execution. >P<CR> P-0107 Y-DEFE X-F4FF A-44 B-FE C-90 S-0047 Breakpoint encountered at 0107. > M68HC11EVBU/D 4-27...
  • Page 74: Register Modify/Display

    P-0100 (SPACE BAR) Display remaining registers. Y-7982 (SPACE BAR) X-1000 (SPACE BAR) A-44 (SPACE BAR) B-70 (SPACE BAR) C-C0 (SPACE BAR) Entering a (SPACE BAR) following the stack pointer S-0047 (SPACE BAR) display will terminate RM command. > 4-28 M68HC11EVBU/D...
  • Page 75: 4.6.15 Stop At Address

    STOPAT command example. The RD command was used prior to this example to set the user PC register to $0100. Example: Execute example program until $0108 is reached. >STOPAT 0108<CR> P-0108 Y-DEFE X-F4FF A-44 B-FE C-90 S-0047 > M68HC11EVBU/D 4-29...
  • Page 76: Trace

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

    TM command can only be used if a host I/O port is installed on the EVBU wire-wrap area. Example >TM<CR> Enter transparent mode. appslab login: bill<CR> Host computer login response. Password:xxxxxxxx<CR> Host computer password. "System Message" $(CTRL)A Task completed. Enter exit command. > Exit transparent mode. M68HC11EVBU/D 4-31...
  • Page 78: Verify

    >VERIFY T<CR> Mismatch encountered. Error message displaying first address that failed to error addr E000 verify. > Refer to the downloading procedures at the end of this chapter for additional information pertaining to the use of the VERF command. 4-32 M68HC11EVBU/D...
  • Page 79: 4.6.19 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 EVBU. After using the XBOOT command the EVBU must be reset by pressing the reset switch S1 before normal communications can resume. M68HC11EVBU/D 4-33...
  • Page 80 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 EVBU operation. 4-34 M68HC11EVBU/D...
  • Page 81: Assembly/Disassembly Procedures

    2 digits specifies direct, 3 or 4 digits specifies extended). Extended addressing can be forced by padding the address operand with leading zeros. • 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. M68HC11EVBU/D 4-35...
  • Page 82 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-36 M68HC11EVBU/D...
  • Page 83: Downloading Procedures

    This portion of text describes the EVBU downloading procedures. Downloading operations allow Motorola’s S-record files to be transferred from a personal computer to the EVBU or to be verified against data in EVBU memory. S-record files are made up of data and checksum values in a special format which facilitates downloading.
  • Page 84: Apple Macintosh (With Macterminal) To Evbu

    Apple Macintosh (with MacTerminal) to EVBU 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 EVBU, perform the following steps: 1.
  • Page 85 9. Use dialog box and select applicable S-record object file. Click on: Send Motorola S-record file is now transferred to the EVBU. NOTE S-record file is not displayed during the file transfer to the EVBU. Upon completion of the S-record transfer, the following message is displayed: done >...
  • Page 86: Apple Macintosh (With Red Ryder) To Evbu

    Apple Macintosh (with Red Ryder) to EVBU 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 EVBU, perform the following steps: 1.
  • Page 87: Ibm-Pc (With Kermit) To Evbu

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

    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. (Use the ASCII transfer protocol.) Motorola S-record file is now transferred to the EVBU. Upon completion of the S-record transfer, the following message is displayed: done >...
  • Page 89: Chapter 5 Hardware Description

    This allows the memory at $D000-$FFFF to contain the BUFFALO monitor program. The monitor program uses the MCU internal RAM located at $0048-$00FF. The control registers are located at $1000-$103F. M68HC11EVBU/D...
  • Page 90: Evbu Block Diagram

    325 bytes of RAM for the user (i.e., $0000-$0047 and $0100-$01FF). 512 bytes of EEPROM are also available for user programs. RXD/PD0 RS-232C DRIVERS TXD/PD1 TERMINAL RECEIVER CONTROL PD2-PD5 REAL-TIME CLOCK, BATTERY RAM, XIRQ BACKUP SERIAL INTERFACE PE0-PE7 PD0-PD5 PC0-PC7 WIRE-WRAP AREA PB0-PB7 PA0-PB7 Figure 5-1. EVBU Block Diagram M68HC11EVBU/D...
  • Page 91: Memory

    EVBU terminal I/O port. The terminal I/O port baud rate defaults to 9600 baud via the MCU SCI. This baud rate can be changed by software by reprogramming the MCU BAUD register. The terminal I/O port is also used as a host computer I/O port for downloading Motorola S- records via BUFFALO monitor commands.
  • Page 92 HARDWARE DESCRIPTION M68HC11EVBU/D...
  • Page 93: Chapter 6 Support Information

    4. Connector signals are identified by pin number, signal mnemonic, and signal name and description. Table 6-1. Input Power Connector (P1) Pin Assignments Pin Number Signal Mnemonic Signal Name And Description +5 V +5 Vdc Power – Input voltage (+5 Vdc @ 50 mA) used by the EVBU logic circuits. Ground M68HC11EVBU/D...
  • Page 94: 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. M68HC11EVBU/D...
  • Page 95: Mcu I/O Port Connectors (P4 And P5) Pin Assignments

    MCU external data bus in the expanded multiplexed mode of operation. – EXTAL EXTERNAL CLOCK INPUT An input clock signal used to control the MCU internal clock generator. The frequency applied to this pin must be four times higher than the desired E clock rate. M68HC11EVBU/D...
  • Page 96 PA6/OC2 signals. Not connected. – PA5/OC3, PORT A (bits 5-0) General purpose I/O lines and/or timer PA4/OC4, signals. PA3/OC5, PA2/IC1, PA1/IC2, PA0/IC3 – PB7/A15 PORT B (bits 7-0) General purpose output lines. PB6/A14 PB5/A13 PB4/A12 PB3/A11 PB2/A10 PB1/A9 PB0/A8 M68HC11EVBU/D...
  • Page 97 VOLTAGE REFERENCE LOW – Input reference supply voltage (low) line for the MCU analog-to-digital (A/D) converter. VOLTAGE REFERENCE HIGH – Input reference supply voltage (high) line for the MCU A/D converter. – SPARE Spare pins (see schematic diagram). 57, 58 +5 Vdc 59, 60 Ground M68HC11EVBU/D...
  • Page 98: Parts List

    This parts list reflects the latest issue of hardware at the time of printing. Table 6-5. EVBU Parts List Reference Designation Component Description Printed Wiring Board (PWB), M68HC11EVBU C1, C10, C12-C14 Capacitor, electrolytic, 10 µF @ 63 Vdc, +/-20% C2-C4, C8, C9, C11 Capacitor, 0.1 µF @ 50 Vdc, +/-20%...
  • Page 99 Socket, 16 pin, DIP, Robinson Nugent # ICL-163-S6-TG (use with U5) Ceramic resonator, MCU, 8.0 MHz, Panasonic # EFO-GC8004A4, Fox # FSC8.00 Quartz oscillator, 32.768 Khz Fox # NC38-32.768KHz Fabricated jumper, Aptronics # 929955-00 (use with jumper headers J1, J2, and J7) M68HC11EVBU/D...
  • Page 100: Diagrams

    SUPPORT INFORMATION DIAGRAMS Figure 6-1 is the EVBU parts location diagram. Figure 6-2 is the EVBU schematic diagram. Figure 6-1. EVBU Parts Location Diagram M68HC11EVBU/D...
  • Page 101: Evbu Schematic Diagram (Sheet 1 Of 3)

    SUPPORT INFORMATION Figure 6-2. EVBU Schematic Diagram (Sheet 1 of 3) M68HC11EVBU/D...
  • Page 102 SUPPORT INFORMATION 6-10 M68HC11EVBU/D...
  • Page 103: Evbu Schematic Diagram (Sheet 2 Of 3)

    SUPPORT INFORMATION Figure 6-2. EVBU Schematic Diagram (Sheet 2 of 3) M68HC11EVBU/D 6-11...
  • Page 104 SUPPORT INFORMATION 6-12 M68HC11EVBU/D...
  • Page 105: Evbu Schematic Diagram (Sheet 3 Of 3)

    SUPPORT INFORMATION Figure 6-2. EVBU Schematic Diagram (Sheet 3 of 3) M68HC11EVBU/D 6-13...
  • Page 106 SUPPORT INFORMATION 6-14 M68HC11EVBU/D...
  • Page 107: 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. M68HC11EVBU/D...
  • Page 108: A-3 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 109: A-4 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. M68HC11EVBU/D...
  • Page 110 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 M68HC11EVBU/D...

This manual is also suitable for:

M68hc11evbdM68hc11evbu/d

Table of Contents