Table of Contents

Advertisement

Quick Links

Freescale Semiconductor, Inc.
MCF5206eLITE
Evaluation Board
User's Manual
Rev. 2
For More Information On This Product,
Go to: www.freescale.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MCF5206eLITE and is the answer not in the manual?

Questions and answers

Summary of Contents for Freescale Semiconductor MCF5206eLITE

  • Page 1 Freescale Semiconductor, Inc. MCF5206eLITE Evaluation Board User’s Manual Rev. 2 For More Information On This Product, Go to: www.freescale.com...
  • Page 2 Freescale Semiconductor, Inc. DISCLAIMER The information in this manual has been carefully examined and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies. Furthermore, Motorola reserves the right to make changes to any product(s) herein to improve reliability, function, or design. The M5206eLITE board is not intended for use in life and/or property critical applications.
  • Page 3 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 4: Table Of Contents

    Freescale Semiconductor, Inc. TABLE OF CONTENTS CHAPTER 1 INTRODUCTION ..........................7 GENERAL HARDWARE DESCRIPTION ................... 7 SYSTEM MEMORY ..........................8 SERIAL COMMUNICATION CHANNELS ..................8 PARALLEL I/O PORTS ......................... 8 PROGRAMMABLE TIMER/COUNTER ..................... 8 SYSTEM CONFIGURATION ....................... 8 INSTALLATION AND SETUP ......................9 1.8.1.
  • Page 5 Freescale Semiconductor, Inc. 2.4.22. STEP - Step Over ST ........................ 31 2.4.23. SYMBOL - Symbol Name Management SYMBOL ..............31 2.4.24. TRACE - Trace Into TR ......................32 2.4.25. UPDBUG - Update the dBUG Image UPDBUG ..............32 2.4.26. UPUSER - Update User Code In Flash UPUSER ..............
  • Page 6 Freescale Semiconductor, Inc. TABLES 1 – JP2, CS0 ..............................12 ABLE SELECT 2 – JP1, DRAM SIMM V ......................12 ABLE OLTAGE ELECTION 3 – JP3, BDM JTAG O ......................... 13 ABLE PERATION 4 – JP4, 3.3V BDM I/F ......................13...
  • Page 7 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 8: Introduction

    INTRODUCTION TO THE M5206eLITE BOARD Freescale Semiconductor, Inc. INTRODUCTION The M5206eLITE is a versatile single board computer based on MCF5206e ColdFire® Processor. It may be used as a powerful microprocessor based controller in a variety of applications. With the addition of a terminal, it serves as a complete microcomputer system for development/evaluation, training and educational use.
  • Page 9: System Memory

    SYSTEM MEMORY Freescale Semiconductor, Inc. There is one on board Flash EEPROM (U4), which is configured in hardware to be 16-bits wide. The M5206eLITE comes with the AM29LV800BB Flash EEPROM programmed with debugger/monitor firmware(dBUG). The AM29LV800BB Flash EEPROM is 8Mbits giving a total of 1M byte (512Kx16) of Flash memory. This version of dBUG monitor only supports AM29LV800BB Flash EEPROM.
  • Page 10: Installation And Setup

    INSTALLATION AND SETUP Freescale Semiconductor, Inc. The following sections describe all the steps needed to prepare the board for operation. Please read the following sections carefully before using the board. When the board is set up for the first time, ensure that all jumpers are in the default locations.
  • Page 11: Selecting Terminal Baud Rate

    1.8.4. Selecting Terminal Baud Rate Freescale Semiconductor, Inc. The serial channel of MCF5206e that is used for serial communication has a built in timer used by the ROM MONITOR to generate the baud rate used to communicate with a terminal. It can be programmed to a number of baud rates.
  • Page 12: Figure 3 System Configuration

    Freescale Semiconductor, Inc. MBus Figure 3 System Configuration For More Information On This Product, Figure 4 Jumper and connector placement Go to: www.freescale.com...
  • Page 13: System Power-Up And Initial Operation

    SYSTEM POWER-UP AND INITIAL OPERATION Freescale Semiconductor, Inc. When the cables are connected, power may be applied to the board. After power is applied the dBUG monitor program initializes the board, then displays the power-up message on the terminal. The amount of memory present will also be displayed.
  • Page 14: Jumper Jp3 - This Jumper Selects Between Bdm & Jtag Operation Of The Mcf5206E

    1.10.3. Jumper JP3 - This jumper selects between BDM & JTAG operation of the MCF5206e Freescale Semiconductor, Inc. Table 3 – JP3, -BDM or JTAG Operation Function 1 and 2 BDM operation (default) 2 and 3 JTAG operation 1.10.4. Jumper JP4 - This jumper selects between 3.3V or 5V supply to the BDM cable As the Macraigor BDM cable, supplied as part of this evaluation kit, is a 3.3V cable, 3.3V is the default setting.
  • Page 15: What Is Dbug

    CHAPTER 2 Freescale Semiconductor, Inc. USING THE MONITOR/DEBUG FIRMWARE The M5206eLITE Computer Board has a resident firmware package that provides a self-contained programming and operating environment. The firmware, named dBUG, provides the user with monitor/debug, disassembly, program download, and I/O control functions. This Chapter is a description of the dBUG package, including the user interface and command structure.
  • Page 16: Operational Procedure

    All control registers on ColdFire® are readable only via the supervisor-programming model, and thus not accessible Freescale Semiconductor, Inc. via dBUG. User code may change these registers, but caution must be exercised as changes may render dBUG useless. A reference to “SP” actually refers to “A7”.
  • Page 17: System Initialization

    2.2.2. System Initialization Freescale Semiconductor, Inc. The act of powering up the board will initialize the system. The processor is reset and dBUG is invoked. dBUG performs the following configurations of internal resources during the initialization. The instruction cache is invalidated and disabled. The Vector Base Register, VBR, points to the Flash. However, a copy of the exception table is made at address $30000000 in FSRAM.
  • Page 18: System Operation

    2.2.3. System Operation Freescale Semiconductor, Inc. After system initialization, the terminal will display: Hard Reset FSRAM Size: 1M Copyright 1997-1999 Motorola, Inc. All Rights Reserved. ColdFire® MCF5206e EVS Debugger Vx.x.x (xxx 199x xx:xx:xx:) Enter ‘help’ for help. dBUG> and waits for a command.
  • Page 19: Dbug Command Set

    COMMAND SET Freescale Semiconductor, Inc. Table 6 lists the dBUG commands. Each of the individual commands is described in the following pages. Table 6 - dBUG Commands COMMAND DESCRIPTION SYNTAX PAGE MNEMONIC ASSEMBLE AS <addr> <instruction> BLOCK COMPARE BC<FIRST><SECOND><LENGTH>...
  • Page 20 Freescale Semiconductor, Inc. The inline assembler permits the use of case-sensitive symbols defined by equate statements and labels which are stored in the symbol table. The syntax for defining symbols and labels is as follows: Symbol equ value Symbol: equ value Symbol .equ value...
  • Page 21: Bc - Compare Blocks Of Memory Bc

    2.4.2. BC - Compare Blocks of Memory Freescale Semiconductor, Inc. Usage: BC first second length The BC command compares two contiguous blocks of memory the first block starting at address ‘first’, the second block starting at address ‘second’, both of length ‘length’. If the blocks are not identical, then the addresses of the first mismatch are displayed.
  • Page 22: Bm - Block Move Bm

    2.4.4. BM - Block Move Freescale Semiconductor, Inc. Usage: BM begin end dest The BM command moves a contiguous block of memory starting at address begin, stopping at address end, to the new address dest. The BM command copies memory as a series of bytes, and does not alter the original block.
  • Page 23: Br - Breakpoint Br

    2.4.5. BR - Breakpoint Freescale Semiconductor, Inc. Usage: BR addr <-r> <-c count> <-t trigger> The BR command inserts or removes breakpoints at address addr. The value for addr may be an absolute address specified as a hexadecimal value, or a symbol name. Count and trigger are numbers converted according to the user-defined radix, normally hexadecimal.
  • Page 24: Bs - Block Search Bs

    2.4.6. BS - Block Search Freescale Semiconductor, Inc. Usage: BS<width> begin end data The BS command searches a contiguous block of memory starting at address begin, stopping at address end, for the value data. Width modifies the size of the data that is compared during the search.
  • Page 25: Data

    2.4.7. DATA - Data Conversion D D D D D A A A A A T T T T T A A A A A Freescale Semiconductor, Inc. Usage: DATA data The DATA command displays data in both decimal and hexadecimal notation.
  • Page 26: Dl - Download Serial Dl

    2.4.9. DL - Download Serial Freescale Semiconductor, Inc. Usage: DL <offset> The DL command performs an S-record download of data obtained from the serial port. The value for offset is converted according to the user defined radix, normally hexadecimal. If offset is provided, then the destination address of each S-record is adjusted by offset. The DL command checks the destination address for validity.
  • Page 27: Gt - Execute Until A Temporary Breakpoint Gt

    2.4.11. GT - Execute Till a Temporary Breakpoint Freescale Semiconductor, Inc. Usage: GT <addr> The GT command executes the target code starting at address in PC (whatever the PC has) until a temporary breakpoint as given in the command line is reached.
  • Page 28: Irm - Internal Registers Modify Irm

    2.4.14. IRM - Internal Registers MODIFY Freescale Semiconductor, Inc. Usage: IRM module.register data This commands modifies the contents of the internal registers of different modules inside the MCF5206e. In the command line, the module refers to the module name where the register is located, register refers to the specific register needed, and data is the new value to be written into that register.
  • Page 29: Mm - Memory Modify Mm

    2.4.16. MM - Memory Modify Freescale Semiconductor, Inc. Usage: MM<width> addr <data> The MM command modifies memory at the address addr. The value for address addr may be an absolute address specified as a hexadecimal value, or a symbol name. Width modifies the size of the data that is modified. The value for data may be a symbol name, or a number converted according to the user defined radix, normally hexadecimal.
  • Page 30: Rm - Register Modify Rm

    2.4.18. RM - Register Modify Freescale Semiconductor, Inc. Usage: RM reg data The RM command modifies the contents of the register reg to data. The value for reg is the name of the register, and the value for data may be a symbol name, or it is converted according to the user defined radix, normally hexadecimal.
  • Page 31: Set - Set Configuration Set

    2.4.20. SET - Set Configuration Freescale Semiconductor, Inc. Usage: SET option <value> The SET command allows the setting of user configurable options within dBUG. The options are listed below. If the SET command is issued without option, it will show the available options and values.
  • Page 32: Step - Step Over

    2.4.22. STEP - Step Over Freescale Semiconductor, Inc. Usage: STEP The ST command can be used to “step over” a subroutine call, rather than tracing every instruction in the subroutine. The ST command sets a breakpoint one instruction beyond the current program counter and then executes the target code.
  • Page 33: Trace - Trace Into Tr

    2.4.24. TRACE - Trace Into Freescale Semiconductor, Inc. Usage: TRACE <num> The TRACE command allows single instruction execution. If num is provided, then num instructions are executed before control is handed back to dBUG. The value for num is a decimal number.
  • Page 34: Upuser

    2.4.26. UPUSER - Update User Code In Flash UPUSER UPUSER UPUSER Freescale Semiconductor, Inc. UPUSER UPUSER Usage: UPUSER <number of sectors> The UPUSER command places user code and data into space allocated for the user in Flash. There are six sectors of 128K each available as user space.
  • Page 35: Trap #15 Functions

    TRAP #15 Functions Freescale Semiconductor, Inc. An additional utility within the dBUG firmware is a function called the TRAP 15 handler. The user program to utilize various routines within the dBUG, to perform a special task, and to return control to the dBUG can call this function.
  • Page 36: In_Char

    2.5.2. IN_CHAR Freescale Semiconductor, Inc. This function (function code 0x0010) returns an input character (from terminal) to the caller. The returned character is in D1. Assembly example: move.l #$0010,d0 Select the function trap #15 Make the call, the input character is in d1.
  • Page 37: Exit_To_Dbug

    2.5.4. EXIT_TO_dBUG Freescale Semiconductor, Inc. This function (function code 0x0000) transfers the control back to the dBUG, by terminating the user code. The register context are preserved. Assembly example: move.l #$0000,d0 Select the function trap #15 Make the call, exit to dBUG.
  • Page 38: The Processor And Support Logic

    CHAPTER 3 Freescale Semiconductor, Inc. HARDWARE DESCRIPTION AND RECONFIGURATION This chapter provides a functional description of the M5206eLITE board hardware. With the description given here and the schematic diagrams provided at the end of this manual, the user can gain a good understanding of the board’s design.
  • Page 39: The Clock Circuitry

    3.1.4. The Clock Circuitry Freescale Semiconductor, Inc. The M5206eLITE uses a 54MHZ-oscillator (U9) to provide the clock to CLK pin of the processor and connector J1 for any synchronous external hardware that might require the same clock as the MCF5206e.
  • Page 40: Reset Vector Mapping

    The MCF5206e has built in logic and up to eight chip-select pins (-CS0 to -CS7) which are used to enable external Freescale Semiconductor, Inc. memory and I/O devices. In addition there are two -RAS lines for ADRAM’s. There are registers to specify the address range, type of access, and the method of -TA generation for each chip-select and -RAS pin.
  • Page 41: Wait State Generator

    In order to support the future expansion of the board, the -TA input of the processor is also connected to the Freescale Semiconductor, Inc. Processor Expansion Bus connector, J1. This allows any expansion boards to assert this line to indicate their -TA to the processor.
  • Page 42: Motorola Bus (M-Bus) Module

    3.4.2. Motorola Bus (M-Bus) Module Freescale Semiconductor, Inc. The MCF5206e has a built in M-Bus module that allows inter-chip bus interface for a number of I/O devices. It is compatible with industry-standard MBus(I C) Bus. The M5206eLITE uses this module, but it is available to the user on connectors J1 &...
  • Page 43: The Mbus/I C Connector J5

    Freescale Semiconductor, Inc. Table 9 - The J4 Connector pin assignment PIN NO. DIRECTION SIGNAL NAME 3.3V Output Clear to Send Input Request to Send Output Receive Data Input Transmit Data Signal Ground 3.6.3. The Mbus/I C Connector J5 The MCF5206e has a built-in Mbus/I C module.
  • Page 44: Table 11 - The J1 Connector Pin Assignment

    Freescale Semiconductor, Inc. Table 11 - The J1 Connector pin assignment PIN NO. SIGNAL NAME PIN NO. SIGNAL NAME BKPT DSCLK -RESET -ATA SIZ0 SIZ1 R/-W -HIZ N.C. -CS0_OFF -DREQ0 -IPL2 -IPL1 -IPL0 -BR_HW -BG_HW -CS3 -CS2 -CS1 -CS0 PST0 For More Information On This Product, Go to: www.freescale.com...
  • Page 45: Table 12 - The J2 Connector Pin Assignment

    Table 12 - The J2 Connector pin assignment Freescale Semiconductor, Inc. PIN NO. SIGNAL NAME PIN NO. SIGNAL NAME N.C. N.C. N.C. N.C. N.C. N.C. N.C. TOUT1 -JTAG N.C. N.C. N.C. N.C. N.C. N.C. N.C. TIN1 N.C. -DREQ1 N.C. N.C.
  • Page 46: The Debug Connector J3

    3.6.5. The Debug Connector J3 Freescale Semiconductor, Inc. The MCF5206e has a Background Debug Port, Real-Time Trace Support, and Real-Time Debug Support. The necessary signals are available at connector J3. Table 13 - The J3 Connector pin assignment table shows the pin assignment.
  • Page 47: The 5V Tolerant Gpio Connector J10

    3.6.6. The 5V Tolerant GPIO Connector J10 Freescale Semiconductor, Inc. Eight extra GPIO lines are made available to the user via a memory mapped MC74LCX646 device (U15). This device is controlled via chip select 3, and supports inputs at 5V or 3.3V levels and outputs at 3.3V only. The necessary signals are available at connector J10.
  • Page 48: Asynchronous Dram Simm Connections Cn1

    3.6.8. ADRAM SIMM Connections CN1 Freescale Semiconductor, Inc. All the ADRAM signals are available on 1x 72 pin connector CN1. The user may refer to the data sheets for various manufacturers SIMM’s and the schematic at the end of this manual to obtain an accurate loading capability.
  • Page 49 Notes Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 50: Appendix A Pallv16V8 Code - Palasm4

    APPENDIX A PALLV16V8 code – PALASM4 Freescale Semiconductor, Inc. TITLE U10_BUS_ARBITRATION_&_GPIO PATTERN P00001 REVISION DATE 19th January 1999 AUTHOR Pete Highton COMPANY Motorola SPS (c) 1999 CHIP U10 PALCE16V8 PIN 1 COMBINATORIAL PIN 2 COMBINATORIAL PIN 3 /BR_HW COMBINATORIAL PIN 4...
  • Page 51 Notes Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 52: Appendix B Schematics

    APPENDIX B Schematics Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 53 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 54 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 55 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 56 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 57 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 58 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 59 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 60 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 61 Notes Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...

Table of Contents