M5407C3 Freescale Semiconductor, M5407C3 Datasheet

no-image

M5407C3

Manufacturer Part Number
M5407C3
Description
KIT EVAL FOR MCF5407 W/ETHERNET
Manufacturer
Freescale Semiconductor
Series
ColdFire®r
Type
Microprocessorr
Datasheet

Specifications of M5407C3

Contents
Module and Misc Hardware
Processor To Be Evaluated
MCF5407
Interface Type
Ethernet
For Use With/related Products
MCF5407
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Freescale Semiconductor, Inc.
M5407C3 User's Manual
M5407C3UM/D
Rev. 1.1, 8/2000

Related parts for M5407C3

M5407C3 Summary of contents

Page 1

... Freescale Semiconductor, Inc. M5407C3 User's Manual M5407C3UM/D Rev. 1.1, 8/2000 ...

Page 2

... Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer ...

Page 3

... Freescale Semiconductor, Inc. LIMITED WARRANTY Matrix Design warrants this product against defects in material and workmanship for a period of sixty (60) days from the original date of purchase. This warranty extends to the original customer only and is in lieu of all other warrants, including implied warranties of merchantability and fitness event will the seller be liable for any incidental or consequential damages ...

Page 4

... Freescale Semiconductor, Inc. This board generates, uses, and can radiate radio frequency energy and, if not installed properly, may cause interference to radio communications. As temporarily permitted by regulation, it has not been tested for compliance with the limits for class a computing devices pursuant to Subpart J of Part 15 of FCC rules, which are designed to provide reasonable protection against such interference ...

Page 5

... Connecting the Terminal ................................................................................ 1-8 1.9.7 Using a Personal Computer as a Terminal...................................................... 1-8 1.10 System Power-up and Initial Operation............................................................ 1-11 1.11 M5407C3 Jumper Setup ................................................................................... 1-11 1.12 Using The BDM Port ........................................................................................ 1-13 Using the Monitor/Debug Firmware 2.1 What Is dBUG?................................................................................................... 2-1 2.2 Operational Procedure ........................................................................................ 2-3 2 ...

Page 6

... Connectors and Expansion Bus ........................................................................ 3-11 3.6.1 Expansion Connectors - J1 and J2 ................................................................ 3-11 3.6.2 The Debug Connector J5 .............................................................................. 3-13 Configuring dBUG for Network Downloads ColdFire to ISA, IRQ7 and Reset Logic Abel Code vi CONTENTS Title Chapter 3 Appendix A Appendix B Appendix C M5407C3 User’s Manual Page Number ...

Page 7

... Freescale Semiconductor, Inc. Paragraph Number SDRAM MUX PAL Equation PRELIMINAR CONTENTS Title Appendix D Evaluation Board BOM Appendix E Schematics Appendix F Errata Contents WITHOUT NOTICE Page Number vii ...

Page 8

... Freescale Semiconductor, Inc. Paragraph Number viii PRELIMINAR CONTENTS Title M5407C3 User’s Manual WITHOUT NOTICE Page Number ...

Page 9

... Freescale Semiconductor, Inc. apps docs:ColdFire:5407:Eval Board UM NEW:5407C3UMLOF.fm Figure Number 1-1 5407 Block Diagram ..................................................................................................... 1-3 1-2 Minimum System Configuration .................................................................................. 1-6 1-3 Pin assignment for female P4 (Terminal) connector. ................................................... 1-9 1-4 Jumper Locations ........................................................................................................ 1-10 2-1 Flow Diagram of dBUG Operational Mode. ................................................................ 2-4 3-1 The J5 Connector pin assignment ............................................................................... 3-14 ...

Page 10

... Freescale Semiconductor, Inc. Figure Number x PRELIMINAR ILLUSTRATIONS Title BookTitle WITHOUT NOTICE Page Number ...

Page 11

... Power Supply Connections ........................................................................................... 1-8 1-2 Jumper Settings........................................................................................................... 1-11 1-3 Jumper Settings........................................................................................................... 1-13 1-4 Jumper Settings........................................................................................................... 1-13 2-1 dBUG Command Summary.......................................................................................... 2-7 3-1 The M5407C3 Memory Map ........................................................................................ 3-5 3-2 J1 Connector Pin Assignment..................................................................................... 3-11 3-3 J2 Connector pin assignment ...................................................................................... 3-12 D-1 MCF5407EVM_BOM ................................................................................................. D-1 PRELIMINAR 8/14/00 TABLES ...

Page 12

... Freescale Semiconductor, Inc. Table Number xii PRELIMINAR TABLES Title M5407C3 User’s Manual WITHOUT NOTICE Page Number ...

Page 13

... DRAM’s. The chip-select logic also allows programmable number of wait-states to allow the use of slower memory (refer to MCF5407 User's Manual by Freescale for detailed information about the SIM.). The M5407C3 uses four (CS[3:0]) of the eight chip selects to access the Flash ROM’s (CS0), PCI bridge chip (CS1), SRAM Chapter 1 ...

Page 14

... Therefore when using double-sided DIMMs only half of the available memory will be accessible. Since DIMMs are manufactured primarily for use in PCs the DQM signals on some DIMMS are routed so that the SDRAM can only be accessed correctly as a 64-bit port so the M5407C3 will not be able to access the SDRAM correctly. 1-2 ...

Page 15

... ColdFire® MCF5407 Bus Clk Drv addr[31:0] data[31:0] Control Signals Buffers Control Signals External External Address Data Bus Bus Chapter 1. M5407C3 Board General Hardware Description 26-pin debug connector Osc. SDRAM External Mux (PAL) SDRAM 32bit 3.3V 512KB Sync FSRAM 32 bit 3.3V (not populated) ...

Page 16

... The ROM Monitor currently does not utilize the caches, but programs downloaded with the ROM Monitor can use the cache. The M5407C3 evaluation board has a foot print for 512 KByte SRAM but is unpopulated. 1.3 Serial Communication Channels The MCF5407 has 2 built-in UART’ ...

Page 17

... ColdFire website (www.mot.com/coldfire). 1.7 On Board Ethernet The M5407C3 has an on board Ethernet (NE2000 compatible controller) operating at 10M bits/sec. The on board dBUG ROM monitor is programmed to allow a user to download files from a network to memory in different formats. The current compiler formats supported are S-Record, COFF, ELF, or Image. Refer to Appenix A for details on how to confi ...

Page 18

... Freescale Semiconductor, Inc. System Configuration Figure 1-2 displays minimum system configuration. dBUG> RS-232 Terminal Or PC Figure 1-2. Minimum System Configuration 1-6 M5407C3 User’s Manual +7.0 to +14VDC Input Power BDM Connector ...

Page 19

... Refer to the following list and verify that all the items are present. You should have received: • M5407C3 Single Board Computer • M5407C3 User's Manual, this documentation • One RS-232 communication cable • One debug wiggler cable • Programmers Reference Manual • ...

Page 20

... Connecting the Terminal The board is now ready to be connected to a terminal. Use the RS-232 male/female DB-9 serial cable to connect the PC to the M5407C3. 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 P4 connector on M5407C3 ...

Page 21

... Transmit Data, Input to board (transmit refers to terminal side). 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. Figure 1-4 shows jumper locations Chapter 1. M5407C3 Board Installation And Setup 1-9 ...

Page 22

... Freescale Semiconductor, Inc. Installation And Setup Figure 1-4. Jumper Locations 1-10 M5407C3 User’s Manual ...

Page 23

... Jumper JP1 * ON OFF JP2 * ON System Power-up and Initial Operation All Rights Reserved. Table 1-2. Jumper Settings Function LED D10 driven by TOUT0 LED D10 NOT driven by TOUT0 LED D9 driven by TOUT1 Chapter 1. M5407C3 Board XX 20XX 1-11 ...

Page 24

... Boot User Code from user Flash Space 1 Enable writes to PCI EEPROM 1 Disable writes to PCI EEPROM +3 Debug Header Pin 9 +1 Debug Header Pin 9 Default Clocking Alternate Clocking Default Clocking Alternate Clocking Default Core Power (+1.8V) Alternate Core Power (+3.3V) M5407C3 User’s Manual ...

Page 25

... The settings for JP25 and JP29 differ from those given on the back of the silkscreen. The settings listed in this table are correct. 1.12 Using The BDM Port The MCF5407 has a built in debug mechanism referred to as BDM (background debug module). The M5407C3 has the Freescale defined debug module connector, J5, to facilitate this connection. Table 1-3. Jumper Settings JP23 ...

Page 26

... Freescale from P&E Microcomputer Systems to the J5 connector. No special setting is needed. Refer to the ColdFire® User's Manual BDM Section for additional instructions. BDM functionality and use is supported via third party developer software and hardware tools. 1-14 NOTE: M5407C3 User’s Manual ...

Page 27

... Freescale Semiconductor, Inc. Chapter 2 Using the Monitor/Debug Firmware The M5407C3 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, inline assembler and disassembly, program download, register and memory manipulation, and I/O control functions. This Chapter is a how-to-use description of the dBUG package, including the user interface and command structure ...

Page 28

... All control registers on ColdFire® are not readable by the supervisor-programming model, and thus not accessible via dBUG. User code may change these registers, but caution must be exercised as changes may render dBUG inoperable. A reference to “SP” (stack pointer) actually refers to general purpose address register seven, “A7." 2-2 M5407C3 User’s Manual ...

Page 29

... Freescale Semiconductor, Inc. 2.2 Operational Procedure System power-up and initial operation are described in detail in Chapter 1. This information is repeated here for convenience and to prevent possible damage. 2.2.1 System Power-up • Be sure the power supply is connected properly prior to power-up. • Make sure the terminal is connected to TERMINAL (P4) connector. ...

Page 30

... Figure 2-1. Flow Diagram of dBUG Operational Mode. 2.2.2 System Initialization 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. 2-4 M5407C3 User’s Manual ...

Page 31

... If you did not get this response check the setup. Refer to Section 1.10 System Power-Up and Initial Operation. Note the date ‘xxx 199x xx:xx:xx’ may vary in different revisions. Other means can be used to re-initialize the M5407C3 Computer Board firmware. These means are discussed in the following paragraphs. ...

Page 32

... After a command is entered, press the <Return> or <Enter> key to invoke the command again. The command is executed command line parameters were provided. 2.4 Commands This section lists the commands that are available with all versions of dBUG. Some board or CPU combinations may use additional commands not listed below. 2-6 M5407C3 User’s Manual ...

Page 33

... Freescale Semiconductor, Inc. Table 2-1. dBUG Command Summary MNEMONIC ASM asm <<addr> stmt> addr1 addr2 length BF bf <width> begin end data <inc> begin end dest BR br addr <-r> <-c count> <-t trigger> <width> begin end data DC dc value DI di<addr> <offset> <-c> <-e> <-i> <-s <-o offset>> <filename> ...

Page 34

... 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 0x00010000, the command is: asm 10000 nop To interactively assembly memory at address 0x00400000, the command is: asm 400000 2-8 M5407C3 User’s Manual Assembler ...

Page 35

... Freescale Semiconductor, Inc. BC Usage: BC addr1 addr2 length The BC command compares two contiguous blocks of memory on a byte by byte basis. The first block starts at address addr1 and the second starts at address addr2, both of length bytes. If the blocks are not identical, the address of the first mismatch is displayed. The value for addresses addr1 and addr2 may be an absolute address specifi ...

Page 36

... To zero out the BSS section of the target code (defined by the symbols bss_start and bss_end), the command is: bf bss_start bss_end 0 To fill a block of memory starting at 0x00020000 and ending at 0x00040000 with data that increments by 2 for each <width>, the command is: bf 20000 40000 0 2 2-10 M5407C3 User’s Manual Block Fill ...

Page 37

... Freescale Semiconductor, Inc. BM Usage: BM begin end dest The BM command moves a contiguous block of memory starting at address begin and 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. The values for addresses begin, end, and dest may be absolute addresses specified as hexadecimal values, or symbol names. If the destination address overlaps the block defi ...

Page 38

... To set a breakpoint at the C function bench() and set its trigger value to 3, the command is: br _bench -t 3 When the target code is executed, the processor must attempt to execute the function bench() a third time before returning control back to dBUG. To remove all breakpoints, the command is 2-12 Breakpoints M5407C3 User’s Manual ...

Page 39

... Freescale Semiconductor, Inc. BS 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 <width> is specified, the default of word sized data is used. The values for addresses begin and end may be absolute addresses specifi ...

Page 40

... Otherwise data is interpreted as a decimal value. All values are treated as 32-bit quantities. Examples: To display the decimal and binary equivalent of 0x1234, the command is: dc 0x1234 To display the hexadecimal and binary equivalent of 1234, the command is: dc 1234 2-14 Data Conversion M5407C3 User’s Manual ...

Page 41

... Freescale Semiconductor, Inc. DI Usage: DI <addr> The DI command disassembles target code pointed to by addr. The value for addr may be an absolute address specifi hexadecimal value symbol name. Wherever possible, the disassembler will use information from the symbol table to produce a more meaningful disassembly. This is especially useful for branch target addresses and subroutine calls ...

Page 42

... If the S-record file contains the entry point address, then the program counter is set to reflect this address. Examples: To download an S-record file through the serial port, the command is download an S-record file through the serial port, and add an offset to the destination address of 0x40, the command is: dl 0x40 2-16 Download Console M5407C3 User’s Manual ...

Page 43

... Freescale Semiconductor, Inc. DN Usage: DN <-c> <-e> <-i> <-s> <-o offset> <filename> The DN command downloads code from the network. The DN command handle files which are either S-record, COFF, ELF or Image formats. The DN command uses Trivial File Transfer Protocol (TFTP) to transfer files from a network host. ...

Page 44

... The GO command is repeatable. Examples: To execute code at the current program counter, the command is execute code at the C function main(), the command is: go _main To execute code at the address 0x00040000, the command is: go 40000 2-18 M5407C3 User’s Manual Execute ...

Page 45

... Freescale Semiconductor, Inc. GT Usage: GT addr The GT command inserts a temporary breakpoint at addr and then executes target code starting at the current program counter. The value for addr may be an absolute address specifi hexadecimal value symbol name. When the GT command is executed, all breakpoints are inserted into the target code, and the context is switched to the target program ...

Page 46

... MCF5407 are CS, DMA0, DMA1, DMA2, DMA3, DRAMC, PP, MBUS, SIM, TIMER1, TIMER2, UART0 and UART1. Refer to the MCF5407 user’s manual for more information on these modules and the registers they contain. Example: ird sim.rsr 2-20 Internal Register Display M5407C3 User’s Manual ...

Page 47

... Freescale Semiconductor, Inc. IRM Usage: IRM module.register data This command modifies the contents of the internal registers of different modules inside the MCF5407. In the command line, module refers to the module name where the register is located and register refers to the specific register to modify. The data parameter specifies the new value to be written into the register ...

Page 48

... 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 To obtain help on the breakpoint command, the command is: help br 2-22 M5407C3 User’s Manual Help ...

Page 49

... Freescale Semiconductor, Inc. LR Usage: LR<width> addr The LR command continually reads the data at addr until a key is pressed. The optional <width> specifies the size of the data to be read <width> is specified, the command defaults to reading word sized data. Example: To continually read the longword data from address 0x20000, the command is: lr ...

Page 50

... The default access size is a word. Examples: To continually write the longword data 0x12345678 to address 0x20000, the command is: lw.l 20000 12345678 Note that the following command writes 0x78 into memory: lw.b 20000 12345678 2-24 M5407C3 User’s Manual Loop Write ...

Page 51

... Freescale Semiconductor, Inc. MD Usage: MD<width> <begin> <end> The MD command displays a contiguous block of memory starting at address begin and stopping at address end. The values for addresses begin and end may be absolute addresses specified as hexadecimal values, or symbol names. Width modifies the size of the data that is displayed < ...

Page 52

... Thus, for the duration of the operation, this command performs properly-aligned memory accesses. Examples: To set the byte at location 0x00010000 to be 0xFF, the command is: mm.b 10000 FF To interactively modify memory beginning at 0x00010000, the command is: mm 10000 2-26 Memory Modify M5407C3 User’s Manual ...

Page 53

... Usage: mmap This command displays the memory map information for the M5407C3 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 54

... To display only the program counter Here is an example of the output from this command: PC: 00000000 SR: 2000 [t.Sm.000...xnzvc] An: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 01000000 Dn: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 2-28 Register Display M5407C3 User’s Manual ...

Page 55

... Freescale Semiconductor, Inc. RM 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 converted according to the user-defined radix, normally hexadecimal. ...

Page 56

... The RESET command executes the same sequence of code that occurs at power-on. If the RESET command fails to reset the board adequately, cycle the power or press the reset button. Examples: To reset the board and clear the dBUG data structures, the command is: reset 2-30 Reset the Board and dBUG M5407C3 User’s Manual ...

Page 57

... Freescale Semiconductor, Inc. SET Usage: SET <option value> The SET command allows the setting of user-configurable options within dBUG. With no arguments, SET displays the options and values available. The SHOW command displays the settings in the appropriate format. The standard set of options is listed below. ...

Page 58

... To display the current baud rate of the board, the command is: show baud Here is an example of the output from a show command: dBUG> show base: 16 baud: 19200 server: 192.0.0.1 client: 192.0.0.2 gateway: 0.0.0.0 netmask: 255.255.255.0 filename: test.srec filetype: S-Record mac: 00:CF:54:07:C3:01 2-32 Show Configurations M5407C3 User’s Manual ...

Page 59

... Freescale Semiconductor, Inc. STEP Usage: STEP The STEP command can be used to “step over” a subroutine call, rather than tracing every instruction in the subroutine. The ST command sets a temporary breakpoint one instruction beyond the current program counter and then executes the target code. ...

Page 60

... To define the symbol “main” to have the value 0x00040000, the command is: symbol -a main 40000 To remove the symbol “junk” from the table, the command is: symbol -r junk To see how full the symbol table is, the command is: symbol -s To display the symbol table, the command is: symbol -l 2-34 Symbol Name Management M5407C3 User’s Manual ...

Page 61

... Freescale Semiconductor, Inc. TRACE 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. The TRACE command sets bits in the processors’ supervisor registers to achieve single-instruction execution, and the target code executed ...

Page 62

... The updbug command is used to update the dBUG image in Flash. When updates to the M5407C3 dBUG are available, the updated image is downloaded to address 0x00020000. The new image is placed into Flash using the UPDBUG command. The user is prompted for verification before performing the operation. Use this command with extreme caution, ...

Page 63

... Freescale Semiconductor, Inc. UPUSER Usage: UPUSER <bytes> The UPUSER command places user code and data into space allocated for the user in Flash. The optional parameter bytes specifies the number of bytes to copy into the user portion of Flash.If the bytes parameter is omitted, then this command writes to the entire user space. ...

Page 64

... The version date is the day and time at which the entire dBUG monitor was compiled and built. Examples: To display the version of the dBUG monitor, the command is: version 2-38 Display dBUG Version CPU major board major and minor and minor revision revision M5407C3 User’s Manual ...

Page 65

... Freescale Semiconductor, Inc. 2.5 TRAP #15 Functions An additional utility within the dBUG firmware is a function called the TRAP 15 handler. This function can be called by the user program to utilize various routines within the dBUG, to perform a special task, and to return control to the dBUG. This section describes the TRAP 15 handler and how it is used ...

Page 66

... Make the call, the input character is in d1. /* select the function */ /* make the call */ /* put the character Select the function d0 contains the response (yes/no). /* select the function */ /* make the call */ Select the function Make the call, exit to dBUG. /* select the function */ M5407C3 User’s Manual ...

Page 67

... Freescale Semiconductor, Inc. asm (“ trap#15”); } Chapter 2. Using the Monitor/Debug Firmware TRAP #15 Functions /* exit and transfer to dBUG */ 2-41 ...

Page 68

... Freescale Semiconductor, Inc. TRAP #15 Functions 2-42 M5407C3 User’s Manual ...

Page 69

... In this manual, an active low signal is indicated by a "-" preceding the signal name in this text and a bar over the signal name in the schematics. 3.1 The Processor and Support Logic This part of the Chapter discusses the CPU and general supporting logic on the M5407C3 board. 3.1.1 Processor The microprocessor used in the M5407C3 is the highly integrated Freescale ColdFire® ...

Page 70

... Clock Circuitry The M5407C3 uses a 50MHZ oscillator (U21) to provide the clock to CLKIN pin of the processor. In addition to U21, there also exist a 20MHz oscillator (U10) which feeds into the Ethernet chip, a PCI bus master 33MHZ oscillator (U30) and a 32.768 KHZ crystal (Y1) for the real-time clock ...

Page 71

... The MCF5407 has four external interrupt request lines. You can program the external interrupt request pins to level and 7 or levels and 7. The M5407C3 configures these lines as level and 7. There are also six internal interrupt requests from Timer0, Timer1, Software watchdog timer, UART0, UART1, and MBUS. Each interrupt source, external and internal, can be programmed for any priority level ...

Page 72

... It is mapped to 0x10000000 by dBUG. For complete map of these registers refer to the MCF5407 User's Manual. The M5407C3 board can have up to 512 MBytes of SDRAM installed. The first 16 MBytes of memory space are reserved for this memory. Refer to Section 3.2 for a discussion of RAM. The dBUG is programmed in one Am29PL160C-XX Flash ROM which occupies 2 MBytes of the address space. The fi ...

Page 73

... Freescale Semiconductor, Inc. Table 3-1 shows the M5407C3 memory maps. Table 3-1. The M5407C3 Memory Map Address Range $00000000-$00020000 SDRAM space for dBug ROM monitor use $00020000-$00FFFFFF SDRAM space $10000000-$100003FF System Integration Module (SIM) registers $20000000-$200007FF SRAM0 ...

Page 74

... Flash ROM respectively. 3.1.12 SDRAM DIMM The M5407C3 has one 168-pin DIMM socket (U26) for a SDRAM DIMM. The M5407C3 will work with most PC100 SDRAM DIMMs with a few exceptions. The 5407 supports up to two banks of SDRAM, but double-sided DIMMs require 4 bank selects to access all of the chips ...

Page 75

... Move jumper (JP15) to pin 2 connected to pin 3 and push the reset button (S1). User code should be running. 3.2 Serial Communication Channels The M5407C3 offers a number of serial communications. They are discussed in this section. 3.2.1 MCF5407 UARTs The MCF5407 has two built in UARTs, each with its own software programmable baud rate generators ...

Page 76

... BCD format. The remaining 56 bytes of RAM is available for use as battery backed storage - if the battery site on the M5407C3 is populated. Addresses and data are transferred via the I2C bus to the M41T11M within which an address register is incremented after each read or write of data ...

Page 77

... Freescale Semiconductor, Inc. our system as mentioned earlier is 0x40000000. Which brings the address of chip to 0x40000300. Note that all registers should be addressed as WORD accesses (even though the registers are bytes). Note that the even address registers are addressed as they are (no change), the read word will have the byte of the data in the lower byte of the word. ...

Page 78

... The on board ROM MONITOR is programmed to allow a user to download files from a network to memory in different formats. The current compiler formats supported are S-Record, COFF, ELF, or Image. 3-10 /* Address Counter Upper */ /* Receive Configuration Register (rd Data Configuration Register (rd Address Counter Lower */ /* Transmit Configuration Register (rd Interrupt Mask Register (rd) */ M5407C3 User’s Manual ...

Page 79

... Freescale Semiconductor, Inc. 3.6 Connectors and Expansion Bus There are 2 expansion connectors on the M5407C3 (J1 and J2) which are used to connect the board to external I/O devices and/or expansion boards. 3.6.1 Expansion Connectors - J1 and J2 Table 3-2 shows pin assignments for the J1 connector. Table 3-2. J1 Connector Pin Assignment ...

Page 80

... PP7 83 GND 1.8V 85 -R_SCAS PSTDDATA7 87 R_SCKE PSTDDATA6 89 -BWE0 GND 91 3.3V PSTDDATA5 93 -BWE1 PSTDDATA4 95 -BWE2 3.3V 97 -BWE3 PSTDDATA3 99 GND M5407C3 User’s Manual Pin Signal 112 1.8V 114 5V 116 5V 118 GND 120 GND Pin Signal 62 GND 64 GND 66 MTMOD1 68 MTMOD0 70 1.8V 72 CLKIN 74 ...

Page 81

... Freescale Semiconductor, Inc. Table 3-3. J2 Connector pin assignment (Continued) Pin Signal Pin 41 -IRQ1 GND 52 53 TOUT1 54 55 TOUT0 56 57 TIN0 -CFRSTI and -CS_FPCIBD are board specific control signals, NOT processor signals. See the schematics and PLD equations in the appendix. ...

Page 82

... DEVELOPER RESERVED GND GND -RST_IN I/O PAD VOLTAGE GND PSTDDATA6 PSTDDATA4 PSTDDATA2 PSTDDATA0 FREESCALE RESERVED GND CORE VOLTAGE Figure 3-1. The J5 Connector pin assignment 3- M5407C3 User’s Manual -BKPT DSCLK DEVELOPER RESERVED DSI DSO PSTDDATA7 PSTDDATA5 PSTDDATA3 PSTDDATA1 GND FREESCALE RESERVED PST_CLK -TA ...

Page 83

... Freescale Semiconductor, Inc. Appendix A Configuring dBUG for Network Downloads The dBUG module has the ability to perform downloads over an Ethernet network using the Trivial File Transfer Protocol, TFTP. Prior to using this feature, several parameters are required for network downloads to occur. The information that is required and the steps for confi ...

Page 84

... Continuing with the above example, the compiler produces an executable COFF file, ‘a.out’. This file is copied to the /tftp_boot directory on the server with the command: rcp a.out santafe:/tftp_boot/a.out Change the default filename and filetype with the commands: set filename a.out A-2 M5407C3 User’s Manual ...

Page 85

... Freescale Semiconductor, Inc. set filetype coff Finally, perform the network download with the ‘dn’ command. The network download process uses the configured IP addresses and the default filename and filetype for initiating a TFTP download from the TFTP server. A.3 Troubleshooting Network Problems Most problems related to network downloads are a direct result of improper confi ...

Page 86

... Freescale Semiconductor, Inc. Troubleshooting Network Problems A-4 M5407C3 User’s Manual ...

Page 87

... Freescale Semiconductor, Inc. Appendix B ColdFire to ISA, IRQ7 and Reset Logic Abel Code module isa2 title 'isa controller' "June 18 '00 version v4 of the 5407 "isa2 device 'ispLSI'; ;"*****************************************************" ;"This abel file contains the code for a NE2000 compatible ethernet" ;"for the 5407 Coldfire processor as well as reset" ...

Page 88

... Grant signal to the PCI connector "Input - Ethernet IRQ 3 "Output - IRQ 3 into the ColdFire "Output - to the Ethernet "Input - request from the PCI connector "Output - to ColdFire *HIZ "Input - read signal from ethernet "Input - A31 signal for CS to PCI controller "Input / Output - Transfer acknowledge M5407C3 User’s Manual ...

Page 89

... Freescale Semiconductor, Inc. REQANC_L pin 41; NOT_A31 pin 42; controller SIZ0 pin 43; BDM_RST_L pin 44; ; "********************************" ; " Lattice attributes ; "********************************" pLSI property 'CLK XCLK0 CLK0 '; pLSI property 'CLK CLK8MHZ SLOWCLK '; pLSI property 'ISP ON'; pLSI property 'PULLUP ON'; pLSI property 'Y1_AS_RESET OFF'; ; "--------------------------------" ...

Page 90

... GNTANC_L; by the PCI !GNTANC_L = !REQANC_L & GNTPCI_L; if not RST_H = !PORIN_L # !BDM_RST_L; HIZ_L = 1; B-4 ); ?EN & !?CS ); " Grant PCI bus if not in use " controller. " Grant PCI controller the bus " already granted to the PCI connector. M5407C3 User’s Manual ...

Page 91

... Freescale Semiconductor, Inc. DAOE := !CS3_L # DA; DAOE.clk = XCLK0 ; A0 = !SIZ1 & SIZ0 & !A0IN # A16 ; SBHE = STARTISA & !SIZ1 & STARTISA & SIZ1 & !SIZ0 & !A0IN # STARTISA & !SIZ1 & !SIZ0 & !A0IN ; CLK16MHZ := !CLK16MHZ ; CLK16MHZ.clk = XCLK0 ; CLK8MHZ := CLK8MHZ & !CLK16MHZ # !CLK8MHZ & CLK16MHZ ; ...

Page 92

... END16 & STARTISA ; END8 = BCLK2 & !BCLK1 & BCLK0 & !CLK8MHZ # END8 & STARTISA ; ENDIT = END16 & !IOCS16L & IOCHRDY & DLYIOCHRDY0 & DLYIOCHRDY & SBHE & STARTISA# B-6 !BCLK2 & !BCLK1 & !BCLK0 & !IOR & !IOW ; M5407C3 User’s Manual ...

Page 93

... Freescale Semiconductor, Inc. END8 & IOCS16L & IOCHRDY & DLYIOCHRDY0 & DLYIOCHRDY & STARTISA # END8 & !SBHE & IOCHRDY & DLYIOCHRDY0 & DLYIOCHRDY & STARTISA ; DLYIOCHRDY0:= IOCHRDY; DLYIOCHRDY0.clk = CLK8MHZ ; DLYIOCHRDY = IOCHRDY & CLK8MHZ # DLYIOCHRDY & !CLK8MHZ ; ;"****************************************************" ;" Test Vector Section" ...

Page 94

... Freescale Semiconductor, Inc. [C,0,1,1,]->[X]; [C,0,1,1,]->[X]; [C,1,1,1,]->[X]; [C,1,1,1,]->[X]; [C,1,1,1,]->[X]; [C,1,1,1,]->[X]; [C,1,1,0,]->[X]; [C,1,1,1,]->[X]; [C,1,1,1,]->[X]; [C,1,1,1,]->[X]; end B-8 M5407C3 User’s Manual ...

Page 95

... Freescale Semiconductor, Inc. apps docs:ColdFire:5407:Eval Board UM NEW:5407_C_SDRAM_Equations.fm Appendix C SDRAM MUX PAL Equation module SDRAMmux title 'SDRAM Mux Controller for the MCF5407EVM' "MAR 16 '99 First revision of the code based on Bill Benners application note" "5307mux device 'ispLSI22LV10'; ;"*****************************************************" ;"This abel file contains the code to mux the address lines" ...

Page 96

... Freescale Semiconductor, Inc. CA23 PIN 12; CA24 PIN 13; CA25 PIN 16; CA26 PIN 23; CA27 PIN 21; SA8 PIN 24; SA9 PIN 19; SA10 PIN 25; SA11 PIN 17; SA12 PIN 27; SA13 PIN 20; BA0 PIN 18; BA1 PIN 26; select = [M3,M2,M1,M0]; ; "********************************" ; " Lattice attributes ; "********************************" "pLSI property 'CLK XCLK0 CLK0 '; ...

Page 97

... Freescale Semiconductor, Inc. } when (select == 1) then { } when (select == 2) then { } when (select == 3) then { } when (select == 4) then { } Appendix C. SDRAM MUX PAL Equation BA1=CA22; SA8=CA19; SA9=CA20; SA10=CA21; BA0=CA22; BA1=CA23; SA8=CA19; SA9=CA21; SA10=CA22; BA0=CA23; BA1=CA24; SA8=CA18; SA9=CA19; SA10=CA20; SA11=CA21; BA0=CA22; BA1=CA23; SA8=CA19; SA9=CA20; SA10=CA21; SA11=CA22; ...

Page 98

... Freescale Semiconductor, Inc. } when (select == 6) then { } when (select == 7) then { } when (select == 8) then { } when (select == 9) then { C-4 SA9=CA21; SA10=CA22; SA11=CA23; BA0=CA24; BA1=CA25; SA8=CA19; SA9=CA21; SA10=CA23; SA11=CA24; BA0=CA25; BA1=CA26; SA8=CA18; SA9=CA19; SA10=CA20; SA11=CA21; SA12=CA22; BA0=CA23; BA1=CA24; SA8=CA19; SA9=CA20; SA10=CA21; SA11=CA22; SA12=CA23; BA0=CA24; BA1=CA25; ...

Page 99

... Freescale Semiconductor, Inc. } when (select == ^h0A) then { } "****************************************************" " Test Vector Section" "****************************************************" test_vectors 'M0, M1, M2, M3 ([M3, M2, M1, M0, CA18, CA19, CA20, CA21, CA22, CA23, CA24, CA25, CA26, CA27]->[SA8, SA9, SA10, SA11, SA12, BA0, BA1]) [0,0,0,0,1,0,1,0,1,0,1,0,1,0]->[X,X,X,X,X,X,X]; [0,0,0,1,1,0,1,0,1,0,1,0,1,0]->[X,X,X,X,X,X,X]; ...

Page 100

... Freescale Semiconductor, Inc. C-6 BookTitle ...

Page 101

... Freescale Semiconductor, Inc. apps docs:ColdFire:5407:Eval Board UM NEW:5407_D_EvalBdBOM.fm Appendix D Evaluation Board BOM Table D-1. MCF5407EVM_BOM Item Qty Reference 1 1 BT1 2 41 C1,C2,C3,C4,C13,C14,C15,C16 ,C17,C18,C37,C38,C40,C41,C4 2,C43,C44,C62,C63,C64,C65,C 66,C67,C79,C80,C82,C83,C86, C89,C90,C96,C99,C103,C104,C 105,C106,C107,C108,C109,C11 0,C125 3 53 C5,C6,C7,C8,C9,C10,C19,C20, C21,C22,C23,C24,C45,C46,C47 ,C48,C49,C50,C51,C53,C54,C5 5,C56,C57,C58,C59,C60,C61,C 68,C69,C70,C71,C72,C73,C74, C75,C76,C77,C84,C85,C87,C91 ,C92,C93,C111,C112,C113,C11 4,C115,C116,C118,C119,C120 4 6 C11,C30,C31,C32,C33,C34 5 7 C12,C35,C94,C121,C122,C123, C124 ...

Page 102

... Freescale Semiconductor, Inc. Table D-1. MCF5407EVM_BOM (Continued) Item Qty Reference 15 2 D14,D15 16 5 D16,D18,D19,D20,D21 JP1,JP2,JP3,JP4,JP5,JP6,JP7,J P8,JP9,JP10,JP11,JP12,JP13,J P14,JP19,JP25,JP29 19 13 JP15,JP16,JP17,JP18,JP20,JP2 1,JP22,JP23,JP24,JP26,JP27,J P28,JP30 20 2 J1, L3, P5, RP1,RP4,RP6,RP7,RP8,RP9,R P10,RP11,RP12,RP15,RP16,RP 17,RP18,RP19,RP20,RP21,RP2 2,RP24,RP25,RP26,RP30,RP31 ,RP34 33 3 RP2,RP3,RP5 34 6 RP13,RP14,RP27,RP28,RP29,R P32 35 1 RP23 36 1 RP33 37 4 RP35,RP36,RP37,RP38 D-2 Part ...

Page 103

... Freescale Semiconductor, Inc. Table D-1. MCF5407EVM_BOM (Continued) Item Qty Reference 38 3 R1,R2,R23 R5, R7,R10,R11 R12 46 4 R13,R16,R17,R18 47 1 R14 48 1 R15 TP1,TP2,TP3,TP4,TP5,TP6,TP7 ,TP8,TP9,TP10 U2,U3,U4,U5, U10 58 1 U11 59 1 U12 60 1 U13 61 1 U14 62 1 U16 63 1 U17 64 1 U18 Appendix D. Evaluation Board BOM ...

Page 104

... Freescale Semiconductor, Inc. Table D-1. MCF5407EVM_BOM (Continued) Item Qty Reference 68 1 U22 69 1 U23 70 1 U24 71 U25 72 1 U26 73 1 U27 74 1 U28 75 1 U29 76 1 U30 77 1 U31 78 11 V1,V2,V3,V4,V5,V6,V7,V8,V9,V 10,V11 *Alternate Parts - Samsung K7B403625M, GalvantechGVT71128E36,ISSI IS61SF12836, Micron MT58L128L36F1, GSI GS84036A, IDT 71V3577, Cypress CY7C1345 ...

Page 105

... Freescale Semiconductor, Inc. Appendix E Schematics Appendix E . Schematics E-1 ...

Page 106

... Freescale Semiconductor, Inc. -2 M5407C3 User’s Manual PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE YEL SMT LED D10 YEL SMT LED D9 RED SMT LED D1 GRN SMT LED D2 RED SMT LED D3 GRN SMT LED D4 RED SMT LED D5 GRN SMT LED D6 RED SMT LED D7 GRN ...

Page 107

PP5 PP6 D31 D30 D31 D29 106 D30 D28 107 D29 D27 108 D28 D26 110 D27 D25 111 D26 D24 112 D25 D23 ...

Page 108

... Freescale Semiconductor, Inc. -4 M5407C3 User’s Manual ...

Page 109

... Freescale Semiconductor, Inc. Appendix E . Schematics -5 ...

Page 110

... Freescale Semiconductor, Inc M5407C3 User’s Manual ...

Page 111

... Freescale Semiconductor, Inc VDD1 1 ADR[8] 2 MA8 ADR[7] MA7 3 ADR[6] MA6 4 ADR[5] 5 MA5 ADR[4] MA4 6 ADR[3] 7 MA3 ADR[2] 8 MA2 VSS1 9 ALE 10 IRQ_IN 11 IRQ_OUT 12 VSS2 13 VDD2 14 RSTOUTD 15 RSTOUTD 16 RSTOUT 17 VSS3 18 SELECT 19 SDA 20 SCL 21 TEST_MODE 22 INTA 23 RST 24 CLK 25 VSSP1 26 VDDP1 27 GNT 28 REQ 29 AD[31] AD31 ...

Page 112

... Freescale Semiconductor, Inc. -8 M5407C3 User’s Manual ...

Page 113

ADJ Appendix E . Schematics TAB TAB 6 GND GND ...

Page 114

... Freescale Semiconductor, Inc. - M5407C3 User’s Manual ...

Page 115

... Freescale Semiconductor, Inc Appendix E . Schematics -11 ...

Page 116

... Freescale Semiconductor, Inc. -12 M5407C3 User’s Manual ...

Page 117

... Freescale Semiconductor, Inc. apps docs:ColdFire:5407:Eval Board UM NEW:5407_F_Errata.fm Appendix F Errata 1. The descriptions of the JP29 and JP25 on the back of the silkscreen table are wrong. Table 1-4 lists the correct functions. 2. The descriptions of the JP16 functionality on the back of the silkscreen are wrong. Table 1-2 lists the correct functions. ...

Page 118

... Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer ...

Related keywords