NXP Semiconductors M5253EVBE User Manual
NXP Semiconductors M5253EVBE User Manual

NXP Semiconductors M5253EVBE User Manual

Evaluation board
Table of Contents

Advertisement

Quick Links

M5253 Evaluation Board

Users Manual

Document Number: M5253EVBUM
Rev. 1
03/2007

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for NXP Semiconductors M5253EVBE

  • Page 1: Users Manual

    M5253 Evaluation Board Users Manual Document Number: M5253EVBUM Rev. 1 03/2007...
  • Page 2 How to Reach Us: Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted Home Page: hereunder to design or fabricate any integrated circuits or integrated circuits based on the information www.freescale.com in this document.
  • Page 3: Table Of Contents

    M5253EVBE Jumper Setup ........
  • Page 4 I2C Modules ............. 3-6 M5253EVBE Users Guide, Rev. 1...
  • Page 5 Debug Connector J12 ............3-9 Appendix A Evaluation Board BOM M5253EVBE Users Guide, Rev. 1 Freescale Semiconductor...
  • Page 6 M5253EVBE Users Guide, Rev. 1 Freescale Semiconductor...
  • Page 7: M5253 Evaluation Board

    General Hardware Description The M5253EVBE board provides SDRAM, Flash ROM, and RS-232 in addition to the built-in I/O functions of the MCF5253 device for programming and evaluating the attributes of the microprocessor. In addition, there is an IDE and ATA interface for connection to things like an external HDD.
  • Page 8 Figure 1-1 shows the M5253EVBE block diagram. DB-9 RS232 26-pin debug connector Debug Connector Transceiver Module DB-9 Connector Transceiver MCF5253 Oscillators: 32.768 KHz 11.2896 MHz 24 MHz GPIO Addr Data Connectors [24:1] [31:16] Flash (CS0) Headphone Audio DAC 16 bit,3.3v...
  • Page 9: System Memory

    One on-board Flash ROM (U11) is used in the system. The Am29LV160DB-XX device contains 16 Mbits of non-volatile storage (1 Mbyte x 16), giving a total of 2 Mbytes of Flash memory. The lower 256 Kbytes are used to store the M5253EVBE dBUG debugger/monitor firmware that is pre-programmed into the Flash during factory testing.
  • Page 10: Serial Communication Channels

    Seven of the GPIO lines are also available as edge-sensitive interrupt inputs. In addition, there is one dedicated input for wake-up from low-power mode. System Configuration The M5253EVBE board requires the following items for minimum system configuration: • The M5253EVBE board (provided) •...
  • Page 11 Figure 1-2 displays the minimum system configuration. dBUG> RS-232 Terminal or PC +7.0 to +14 VDC Input Power Figure 1-2 Minimum System Configuration M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 12: Installation And Setup

    Unpack the computer board from its shipping box. Save the box for storing or reshipping. Refer to the following list and verify that all the items are present. You should have received: • M5253EVBE development system (CE certified) • Sceptre 9.0 Volt, 2.7 A power supply with WS-047 and WS-048 adapters •...
  • Page 13: Selecting Terminal Baud Rate

    The board is now ready to be connected to a PC/terminal. Use the RS232 serial cable to connect the PC/terminal to the M5253EVBE PCB. The cable has a 9-pin female D-sub terminal connector at one end and a 9-pin male D-sub connector at the other end. Connect the 9-pin male connector to connector P4 on the M5253EVBE board.
  • Page 14 4. Data Terminal Ready—Input (shorted to pin 1 and 6) 5. Signal Ground 6. Data Set Ready—Output (shorted to pins 1 and 4) 7. Request to Send—Input 8. Clear to Send—Output 9. Not connected M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 15 Figure 1-4 shows the default jumper locations for the board. Figure 1-4 Default Jumper Locations M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 16: System Power-Up And Initial Operation

    Not fitted Enable XTRIM hardware feature JP10 Not fitted External 1.2V (core) supply current measurement JP11,JP13 Not fitted I2S0 5V pull-up (SDA0 and SCL0) JP12 ** Fitted External 3.3V (pad) supply current measurement M5253EVBE Users Manual, Rev. 1 1-10 Freescale Semiconductor...
  • Page 17: Using The Bdm Port

    The MCF5253 microprocessor has a built in debug module referred to as BDM (background debug module). In order to use the BDM, simply connect the 26-pin debug connector on the board (J12) to the M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 18 P&E BDM wiggler cable provided in the kit. No special setting is needed. Refer to the MCF5253 Reference Manual BDM section for additional instructions. NOTE BDM functionality and use are supported via third party developer software tools. M5253EVBE Users Manual, Rev. 1 1-12 Freescale Semiconductor...
  • Page 19: Using The Monitor/Debug Firmware

    Chapter 2 Using the Monitor/Debug Firmware The M5253EVBE single board computer has a resident firmware package that provides a self-contained programming and operating environment. The firmware, named dBUG, provides the user with monitor/debug interface, in-line assembler and disassembly, program download, register and memory manipulation, and I/O control functions.
  • Page 20: Operational Procedure

    1. Be sure the power supply is connected properly prior to power-up. 2. Make sure the terminal is connected to TERMINAL (P4) connector. 3. Turn power on to the board. Figure 2-1 shows the dBUG operational mode. M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 21: System Initialization

    After initialization, the terminal displays the following: Hard Reset DRAM Size: 8M ColdFire MCF5253 on the M5253EVB Firmware v4c.1b.1a (Built on Feb 1 2007 11:45:04) Copyright 2006 Freescale Semiconductor, Inc. Enter 'help' for help. dBUG> M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 22: Hard Reset Button

    If you did not get this response check the setup, refer to Section 1.7, “System Power-up and Initial Operation.” Other means can be used to re-initialize the M5253EVBE firmware. These means are discussed in Section 2.2.2.1, “Hard RESET Button,” Section 2.2.2.2, “ABORT Button,”...
  • Page 23: Commands

    <module.register> Internal Register Display irm module.register data Internal Register Modify lr <width> addr Loop Read lw <width> addr data Loop Write md <width> <begin> <end> Memory Display mm <width> <addr> <data> Memory Modify M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 24: Asm (Assembler)

    The statement is the assembled, and if valid, placed into memory, otherwise an error message is produced. Examples: To place a NOP instruction at address 0x0001_0000, the command is: asm 10000 nop M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 25: Bc (Block Compare)

    To fill a block of memory starting at 0x0002_0000 and ending at 0x004_0000 with a byte value of 0xAB, the command is: bf.b 20000 40000 AB To zero out the BSS section of the target code (defined by the symbols bss_start and bss_end), the command is: M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 26: Bm (Block Move)

    Each time a breakpoint is encountered during the execution of target code, the count value is compared against the trigger value. If the count value is equal to or greater than the trigger value, a breakpoint is M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 27: Bs (Block Search)

    0x0004_0002 and the next 16-bit value is read and compared. To search for the 32-bit value 0xABCD in the memory block starting at 0x0004_0000 and ending at 0x0008_0000: bs.l 40000 80000 ABCD M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 28: Dc (Data Conversion)

    To disassemble code that starts at 0x0004_0000, the command is: di 40000 To disassemble code of the C function main(), the command is: di _main 2.4.9 DL (Download Console) Usage: DL <offset> M5253EVBE Users Manual, Rev. 1 2-10 Freescale Semiconductor...
  • Page 29: Dn (Download Network)

    If an entry point address is specified in the S-record, COFF or ELF file, the program counter is set accordingly. Examples: To download an S-record file with the name “srec.out”, the command is: M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor 2-11...
  • Page 30: Go (Execute)

    When the GT command is executed, all breakpoints are inserted into the target code, and the context is switched to the target program. Control is only regained when the target code encounters a breakpoint, illegal instruction, or other exception which causes control to be handed back to dBUG. Examples: M5253EVBE Users Manual, Rev. 1 2-12 Freescale Semiconductor...
  • Page 31: Ird (Internal Register Display)

    If command is provided, then a brief listing of the syntax of the specified command is displayed. Examples: To obtain a listing of all the commands available within dBUG, the command is: help M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor 2-13...
  • Page 32: Lr (Loop Read)

    This command first aligns the starting address for the data access size, and then increments the address accordingly during the operation. Thus, for the duration of the operation, this command performs properly-aligned memory accesses. Examples: To display memory at address 0x0040_0000, the command is: md 400000 M5253EVBE Users Manual, Rev. 1 2-14 Freescale Semiconductor...
  • Page 33: Mm (Memory Modify)

    MMAP (Memory Map Display) Usage: mmap This command displays the memory map information for the M5253EVBE evaluation board. The information displayed includes the type of memory, the start and end address of the memory, and the port size of the memory. The display also includes information on how the chip-selects are used on the board.
  • Page 34: Rd (Register Display)

    The actual value will not be written to the register until target code is executed. Examples: To change register D0 on MC68000 and ColdFire to contain the value 0x1234, the command is: rm D0 1234 M5253EVBE Users Manual, Rev. 1 2-16 Freescale Semiconductor...
  • Page 35: Reset (Reset The Board And Dbug)

    Media Access Control (MAC) address (a.k.a hardware address) for the evaluation board. This should be set to a unique value, and the most significant nibble should always be even. M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor 2-17...
  • Page 36: Show (Show Configurations)

    The STEP command will work for other instructions as well, but note that if the STEP command is used with an instruction that will not return, i.e. BRA, then the temporary breakpoint may never be encountered and dBUG may never regain control. M5253EVBE Users Manual, Rev. 1 2-18 Freescale Semiconductor...
  • Page 37: Symbol (Symbol Name Management)

    The TRACE command sets bits in the processors’ supervisor registers to achieve single-instruction execution, and the target code executed. Control returns to dBUG after a single-instruction execution of the target code. This command is repeatable. M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor 2-19...
  • Page 38: Updbug (Update Dbug)

    UPDBUG (Update dBUG) Usage: UPDBUG The UPDBUG command is used to update the dBUG image in Flash. When updates to the M5253EVBE dBUG are available, the updated image is downloaded to address 0x0002_0000. The new image is placed into Flash using the UPDBUG command. The user is prompted for verification before performing the operation.
  • Page 39: Trap #15 Functions

    /* make the call */ #endif 2.5.2 IN_CHAR This function (function code 0x0010) returns an input character (from the terminal) to the caller. The returned character is in D1. Assembly example: move.l #$0010,d0 Select the function M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor 2-21...
  • Page 40: Exit_To_Dbug

    Select the function trap Make the call, exit to dBUG. C example: void board_exit_to_dbug (void) asm (“ move.l#0x0000,d0”); /* select the function */ asm (“ trap#15”); /* exit and transfer to dBUG */ M5253EVBE Users Manual, Rev. 1 2-22 Freescale Semiconductor...
  • Page 41: Hardware Description And Reconfiguration

    In this manual, an active low signal is indicated by a bar over the signal name. Processor and Support Logic This part of the chapter discusses the CPU and general support logic on the M5253EVBE board. See the MCF5253 Reference Manual for more detailed information. 3.1.1 Processor The microprocessor used on the M5253EVBE is the highly integrated ColdFire®...
  • Page 42: Hiz Signal

    3.1.4 Clock Circuitry The M5253EVBE board uses a 11.2896 MHz crystal (X2 on the schematics) to provide the clock to the processor (IC1). In addition to the 11.2896 MHz crystal, there is also a 24 MHz crystal (X4) which feeds the USB section of IC1, a 32.768 kHz crystal (X3) which feeds the RTC section of IC1 and a second...
  • Page 43: Internal Sram

    Programming two interrupt sources with the same level and priority can result in undefined operation. The M5253EVBE hardware uses INT1 to support the ABORT function using the ABORT switch (S2). This switch is used to force an interrupt (level 7, priority 3) if the user's program execution should be aborted without issuing a RESET command.
  • Page 44: Reset Vector Mapping

    SDRAMs. There are registers to specify the address range, type of access and the method of TA generation for each chip-select. These registers are programmed by the dBUG monitor to map the external memory and I/O devices. The M5253EVBE uses the following signals to select external peripherals: • CS0 to enable the Flash ROM (See Section 3.1.13, “Flash...
  • Page 45: Ta Generation

    3.1.12 SDRAM The M5253EVBE has one 64-Mbit device on the board, in a 16-bit wide data bus configuration. The MCF5253 processor supports one bank of SDRAM, which on this board is represented by SDRAM device, (U12). These are connected to the MCF5253 to provide 4Mx16 of memory.
  • Page 46: Uarts

    Start and stop signal generation and detection • Repeated start signal generation • Acknowledge bit generation and detection • Bus busy detection 3.2.4 FlexCAN Modules The MCF5253 processor’s two FlexCAN modules includes the following features: M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 47: Usb 2.0 Otg Module

    Support for operation as a standalone USB device • Support for one upstream facing port — Support for four programmable, bidirectional USB endpoints — Host mode support for direct connect of FS/LS devices. M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 48: General Purpose I/O Pins

    The MCF5253 memory bus allows connection of an IDE hard disk drive or SmartMedia flash card with a minimum of external hardware. It can interface with both an IDE device and a SmartMedia device M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 49: Ata Interface Module

    The MCF5253 processor has a Background Debug Mode (BDM) port, which supports real-time trace and real-time debug. The signals which are necessary for debug are available at connector (J12). Figure 3-1 shows the (J12) connector pin assignment. M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...
  • Page 50 BKPT Developer Reserved DSCLK Developer Reserved RESET I/O or Pad Voltage PST3 PST2 PST1 PST0 DDATA3 DDATA2 DDATA1 DDATA0 Freescale Reserved Freescale Reserved PSTCLK Core Voltage Figure 3-1 J12 Connector Pin Assignment M5253EVBE Users Manual, Rev. 1 3-10 Freescale Semiconductor...
  • Page 51 Appendix A Evaluation Board BOM Table A-1 lists the bill of materials. Table A-1 M5253EVBE Bill of Materials Description & Package Item Part Number Manufacturer Reference Type NO PART BA11 BA12 BA13 BA14 BA15 BA16 BT CP CPC ENA ENB FLGA FLGB OUTB SPARE...
  • Page 52 Table A-1 M5253EVBE Bill of Materials (Continued) Description & Package Item Part Number Manufacturer Reference Type MBRS340TRPBF International Diode, SMT D1 D2 D8 Rectifier BB132 Phillips Trans D3 D4 AA3528SGC Kingbright LED, 1206, SMT. Green D5 D6 D7 BAT754S On Semi...
  • Page 53 Table A-1 M5253EVBE Bill of Materials (Continued) Description & Package Item Part Number Manufacturer Reference Type BLM21A601S Murata BEAD (100MHz), L2 L5 L6 L7 L8 L9 L10 L11 L12 L13 1210-331K, S1210R-331K Murata 0.3uH or 0.33uh, 1210, MMS-120-01-L-SV Samtec Socket for LCD1, LDC1 is...
  • Page 54 Table A-1 M5253EVBE Bill of Materials (Continued) Description & Package Item Part Number Manufacturer Reference Type RK73B1JTTD6R8 6.8 SM res-thick film 0603 5% 1/10W Pb free RK73B1JTTD3M6 3.6M SM RES-THICK FILM 0603 5% 1/10W PB FREE RK73B1JTTD473J 47K SM RES-THICK FILM 0603 5%...
  • Page 55 Table A-1 M5253EVBE Bill of Materials (Continued) Description & Package Item Part Number Manufacturer Reference Type LM833DG On Semi IC, SMT ABL-11.2896MHZ Abracon Xtal, 11.2896 MHz, 2 PIN T.H., X1 X2 HC49US CFS206-32.768KDZF-UB Citizens Xtal, 32.768 KHz, 2 dip T.H.cyl.
  • Page 56 M5253EVBE Users Manual, Rev. 1 Freescale Semiconductor...

Table of Contents