background image

MOTOROLA

Appendix B.  Schematics

  

B-15

M5275EVB Schematics

Summary of Contents for ColdFire MCF5274

Page 1: ...MCF5275EVB User s Manual Devices Supported MCF5275 MCF5275L MCF5274 MCF5274L MCF5275EVBUM Rev 1 1 11 2008...

Page 2: ...can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application by customer s technical...

Page 3: ...essional laboratory 3 In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures 4 Anti static precautions must be adhered to...

Page 4: ...tion 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...

Page 5: ...1 3 2 Clock Circuitry 1 11 1 3 3 Watchdog Timer 1 11 1 3 4 Exception Sources 1 11 1 3 5 TA Generation 1 12 1 3 6 User s Program 1 13 1 4 Communication Ports 1 13 1 4 1 UART0 UART1 UART2 Ports 1 13 1 4...

Page 6: ...4 Using The BDM Port 2 8 Chapter 3 Using the Monitor Debug Firmware 3 1 What Is dBUG 3 1 3 2 Operational Procedure 3 3 3 2 1 System Power up 3 3 3 2 2 System Initialization 3 4 3 2 2 1 External RESET...

Page 7: ...CONTENTS Paragraph Number Title Page Number Freescale Contents 3 Appendix C M5275EVB BOM C 1 M5275EVB BOM C 1...

Page 8: ...4 M5275EVB User s Manual Freescale CONTENTS Paragraph Number Title Page Number...

Page 9: ...e fully emulated using the MCF5275 device Table 1 1 MCF5274 75 Product Family below details the two devices All of the devices in the same package are pin compatible The EVB provides for low cost soft...

Page 10: ...Fast Ethernet Transceiver with MII FEC1 Ethernet port 10 100Mb s Dual Speed Fast Ethernet Transceiver with MII USB 2 0 Full Speed Device UART0 RS 232 serial port for dBUG firmware UART1 auxiliary RS 2...

Page 11: ...Fire core with enhanced multiply accumulate unit EMAC providing 159 Dhrystone 2 1MIPS 166MHz 64 KBytes of internal SRAM External bus speed of one half the CPU operating frequency 83MHz bus 166MHz core...

Page 12: ...mode Flash memories The MCF5275 communicates with external devices over a 16 bit wide data bus D 31 16 The MCF5275 can address a 32 bit address range However only 24 bits are available on the externa...

Page 13: ...ELECTS To From PADI To From PORTS CIM GPIO DIV EMAC DREQ 1 0 INTC1 Arbiter To From SRAM backdoor To From Arbiter backdoor SKHA RNGA MDHA Cryptography Modules DACK 3 0 BDM To From INTC MUX PADI JTAG_EN...

Page 14: ...otprint is available for the EVB user to upgrade this device to a 2M x 16 page mode Flash memory U12 doubling the memory size to 4 MBytes Either U11 OR U12 should be fitted on the board both devices c...

Page 15: ...except during system initialization After system initialization is complete the internal memory is available to the user The memory is relocatable to any 64 KByte boundary within the processor s four...

Page 16: ...he processor is granted the bus it then performs two longword read bus cycles The first longword at address 0 is loaded into the stack pointer and the second longword at address 4 is loaded into the p...

Page 17: ...s after reset are configured according to the levels driven onto the external data pins See tables below on settings for reset configurations If the RCON pin is negated SW6 1 OFF during reset the chip...

Page 18: ...ot Device ON ON ON External 16 bit ON OFF ON Reserved OFF ON ON Reserved OFF OFF ON External 8 bit X X OFF External 16 bit Table 1 9 SW6 10 Bus Drive Strength SW6 10 RCON SW6 1 Drive Strength ON ON Fu...

Page 19: ...tion vector table that contains the interrupt service routine locations This table is stored in the board s Flash memory The address of the table location is stored in the VBR The dBUG ROM monitor wri...

Page 20: ...asserting CSn with the other control signals The processor then waits for a transfer acknowledgment TA either internally using the chip select s auto acknowledge AA mode or externally before it can c...

Page 21: ...ed to pin 3 and push the reset button SW5 User code should now be running from reset POR 1 4 Communication Ports The EVB provides external communication interfaces for three UART serial ports QSPI I2C...

Page 22: ...rejects no processor bus utilization Address recognition Frames with broadcast address may be always accepted or always rejected Exact match for single 48 bit individual unicast address Hash 64 bit h...

Page 23: ...errupt driven byte by byte data transfer Arbitration lost interrupt with automatic mode switching from master to slave Calling address identification interrupt Start and stop signal generation and det...

Page 24: ...lines for control of up to 15 devices Baud rates from 147 1 Kbps to 18 75 Mbps at 75MHz Programmable delays before and after transfers Programmable QSPI clock phase and polarity Supports wrap around m...

Page 25: ...33 CTS1 34 RXD0 35 TXD1 36 GND 37 RXD1 38 CS7 39 GND 40 CS6 41 SCL 42 CS5 43 SDA 44 CS4 45 GND 46 GND 47 B_A12 48 B_A16 49 B_A13 50 B_A19 51 B_A14 52 B_A20 53 B_A15 54 B_A21 55 B_A16 56 B_A22 57 B_A17...

Page 26: ...9 TOUT3 30 GND 31 GND 32 TIN0 33 TIN1 34 TIN2 35 TIN3 36 OE 37 SDWE 38 SD_CAS 39 SD_RAS 40 SD_CKE 41 TS 42 SD_DQS1 43 BS3 44 B_D31 45 BS2 46 B_D30 47 SD_CS1 48 B_D29 49 SD_CS0 50 GND 51 B_D27 52 B_D28...

Page 27: ...SB_CLK 35 GND 36 GND 37 USB_TN 38 USB_RN 39 USB_TP 40 USB_RP 41 GND 42 GND 43 TA 44 USB_TXEN 45 GND 46 USB_RXD 47 EXTAL 48 USB_SUSP 49 XTAL 50 GND 51 RSTOUT 52 EXT_RST 53 TRST DSCLK 54 RESET 55 TCLK P...

Page 28: ...U18 which generates the signal which is fed to the MCF5275 reset RESET There are three sources of reset on the board 1 Power sense and reset switch circuit U20 and SW5 2 BDM reset from J1 3 External...

Page 29: ...interrupt level priority pairs 1 5 3 User LEDs There are eight LEDs available to the user Each of these LEDs are pulled to 3 3V through a 10 ohm resistor and can be illuminated by driving a logic 0 o...

Page 30: ...1 22 M5275EVB User s Manual Connectors and User Components D20 Reset RESET asserted D21 D28 User LEDs See Table 1 16 Table 1 17 LED Functions Continued LED Function...

Page 31: ...requires the following items for minimum system configuration The M5275EVB board provided Power supply 6V to 14V DC with minimum of 1 A 9V 2 7A supply provided RS232C compatible terminal or a PC with...

Page 32: ...Please read the following sections carefully before using the board When you are preparing the board for the first time be sure to check that all jumpers are in the default locations Default jumper m...

Page 33: ...S devices Static discharge can and will damage these devices Once you have verified that all the items are present remove the board from its protective jacket and anti static bag Check the board for a...

Page 34: ...tor P2 will turn the EVB ON Moving the slide switch to the right away from connector P2 will turn the EVB OFF 2 2 5 Power Status LEDs and Fuse When power is applied to the EVB green power LEDs adjacen...

Page 35: ...ready to be connected to a PC terminal Use the RS 232 serial cable to connect the PC terminal to the M5275EVB PCB The cable has a 9 pin female D sub terminal connector at one end and a 9 pin male D su...

Page 36: ...e shows the jumper locations for the board Table 2 2 Pin Assignment for Female Terminal Connector DB9 Pin Function 1 Data Carrier Detect Output shorted to pins 4 and 6 2 Receive Data Output from board...

Page 37: ...Chapter 2 Initialization and Setup 2 7 Installation and Setup Figure 2 5 Jumper Locations...

Page 38: ...ower supply is properly configured for polarity voltage level and current capability 1A and is connected to the board 2 Check that the terminal and board are set for the same character format and baud...

Page 39: ...nment dBUG interacts with the user through pre defined commands that are entered via the terminal These commands are defined in Section 3 4 Commands The user interface to dBUG is the command line A nu...

Page 40: ...d the operation continues in one of the two basic modes If the command causes execution of the user program the dBUG firmware may or may not be re entered at the discretion of the user s program For t...

Page 41: ...nt possible damage 3 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 P3 connector Turn power on to the board Figure...

Page 42: ...ton The abort function causes an interrupt of the present processing a level 7 interrupt on MCF5275 and gives control to the dBUG firmware This action differs from RESET in that no processor register...

Page 43: ...keys for correcting typographical mistakes Command lines may be recalled using the Control U Control D and Control R key sequences Control U and Control D cycle up and down through previous command l...

Page 44: ...c bytes Flash Utilities GO go addr Execute GT gt addr Execute To HELP help command Help IRD ird module register Internal Register Display IRM irm module register data Internal Register Modify LR lr wi...

Page 45: ...and the user prompted for the new assembly If valid the new assembly is placed into memory and the address incremented accordingly If the assembly is not valid then memory is not modified and an erro...

Page 46: ...blocks are not identical the address of the first mismatch is displayed The value for addresses addr1 and addr2 may be an absolute address specified as a hexadecimal value or a symbol name The value...

Page 47: ...ecrement the data value during the fill 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 o...

Page 48: ...lute addresses specified as hexadecimal values or symbol names If the destination address overlaps the block defined by begin and end an error message is produced and the command exits Examples To cop...

Page 49: ...for the breakpoint 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 t...

Page 50: ...d then increments the address accordingly during the operation Thus for the duration of the operation this command performs properly aligned memory accesses Examples To search for the 16 bit value 0x1...

Page 51: ...y be a symbol name or an absolute value If an absolute value passed into the DC command is prefixed by 0x then data is interpreted as a hexadecimal value Otherwise data is interpreted as a decimal val...

Page 52: ...able to produce a more meaningful disassembly This is especially useful for branch target addresses and subroutine calls The DI command attempts to track the address of the last disassembled opcode If...

Page 53: ...t If offset is provided then the destination address of each S record is adjusted by offset The DL command checks the destination download address for validity If the destination is an address outside...

Page 54: ...tained from the console and programs the new dBUG image into Flash When the DLDBUG command is issued dBUG will prompt the user for verification before any actions are taken If the command is affirmed...

Page 55: ...me and filetype will be used Default filename and filetype parameters are manipulated using the SET and SHOW commands The DN command checks the destination download address for validity If the destina...

Page 56: ...L command will attempt to erase the number of bytes specified on the command line beginning at addr If this range doesn t start and end on Flash sector boundaries the range will be adjusted automatica...

Page 57: ...the GO command is executed all user defined 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...

Page 58: ...e address specified as a hexadecimal value or a 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 Control...

Page 59: ...mand line module refers to the module name where the register is located and register refers to the specific register to display The registers are organized according to the module to which they belon...

Page 60: ...fferent modules inside the MCF5275 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 specifie...

Page 61: ...nds available within dBUG In addition the address of where user code may start is given If command is provided then a brief listing of the syntax of the specified command is displayed Examples To obta...

Page 62: ...continually reads the data at addr until a key is pressed The optional width specifies the size of the data to be read If no width is specified the command defaults to reading word sized data Example...

Page 63: ...tinually writes data to addr The optional width specifies the size of the access to memory The default access size is a word Examples To continually write the longword data 0x12345678 to address 0x200...

Page 64: ...as displayed If no ending address is provided then MD will display memory up to an address that is 128 beyond the starting address This command first aligns the starting address for the data access si...

Page 65: ...iately sets the contents of addr to data If no value for data is provided then the MM command enters into a loop The loop obtains a value for data sets the contents of the current address to data incr...

Page 66: ...on how the Chip selects are used on the board and which regions of memory are reserved for dBUG use protected Here is an example of the output from this command Do we want to update Type Start End Por...

Page 67: ...egisters by storing a copy of the register set in a buffer The RD command displays register values from the register buffer Examples To display all the registers and their values the command is rd To...

Page 68: ...may be a symbol name or it is converted according to the user defined radix normally hexadecimal dBUG preserves the registers by storing a copy of the register set in a buffer The RM command updates...

Page 69: ...resets the board and dBUG to their initial power on states 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 t...

Page 70: ...and displays a back trace of stack frames This command is useful after some user code has executed that creates stack frames i e nested function calls After control is returned to dBUG the SD command...

Page 71: ...dress of the machine which contains files accessible via TFTP Your local network administrator will have this information and can assist in properly configuring a TFTP server if one does not exist gat...

Page 72: ...ed SHOW displays all options and values Examples To display all options and settings the command is show To display the current baud rate of the board the command is show baud Here is an example of th...

Page 73: ...instruction beyond the current program counter and then executes the target code The STEP command can be used to step over BSR and JSR instructions The STEP command will work for other instructions as...

Page 74: ...contents of the symbol table and the s option displays usage information for the symbol table Symbol names contained in the symbol table are truncated to 31 characters Any symbol table lookups either...

Page 75: ...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 Control returns to dB...

Page 76: ...nd uploads the data from a memory region specified by begin and end to a file specified by filename over the network The file created contains the raw binary data from the specified memory region The...

Page 77: ...r and build date are all given The version number is separated by a decimal for example v 2b 1c 1a The version date is the day and time at which the entire dBUG monitor was compiled and built Examples...

Page 78: ...n code 0x0013 sends a character which is in the lower 8 bits of D1 to the terminal Assembly example assume d1 contains the character move l 0013 d0 Selects the function TRAP 15 The character in d1 is...

Page 79: ...rd_in_char void asm move l 0x0010 d0 select the function asm trap 15 make the call asm move ld1 d0 put the character in d0 3 5 3 CHAR_PRESENT This function function code 0x0014 checks if an input char...

Page 80: ...sfers 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 C example void...

Page 81: ...nnected to an Ethernet network running the IP protocol need 3 network specific parameters These parameters are Internet Protocol IP address for the computer client IP IP address of the Gateway for non...

Page 82: ...rs will only permit access to files starting at a particular sub directory This is a security feature which prevents reading of arbitrary files by unknown persons For example SunOS uses the directory...

Page 83: ...k download to fail and probably other severe network problems Make certain the client IP address is unique for the board Check for proper insertion or connection of the network cable Is the status LED...

Page 84: ...Troubleshooting Network Problems A 4 M5275EVB User s Manual...

Page 85: ...Appendix B Schematics B 1 Appendix B Schematics B 1 M5275EVB Schematics...

Page 86: ...M5275EVB Schematics B 2 M5275EVB User s Manual...

Page 87: ...MOTOROLA Appendix B Schematics B 3 M5275EVB Schematics...

Page 88: ...M5275EVB Schematics B 4 M5275EVB User s Manual...

Page 89: ...MOTOROLA Appendix B Schematics B 5 M5275EVB Schematics...

Page 90: ...M5275EVB Schematics B 6 M5275EVB User s Manual...

Page 91: ...MOTOROLA Appendix B Schematics B 7 M5275EVB Schematics...

Page 92: ...M5275EVB Schematics B 8 M5275EVB User s Manual...

Page 93: ...MOTOROLA Appendix B Schematics B 9 M5275EVB Schematics...

Page 94: ...M5275EVB Schematics B 10 M5275EVB User s Manual...

Page 95: ...MOTOROLA Appendix B Schematics B 11 M5275EVB Schematics...

Page 96: ...M5275EVB Schematics B 12 M5275EVB User s Manual...

Page 97: ...MOTOROLA Appendix B Schematics B 13 M5275EVB Schematics...

Page 98: ...M5275EVB Schematics B 14 M5275EVB User s Manual...

Page 99: ...MOTOROLA Appendix B Schematics B 15 M5275EVB Schematics...

Page 100: ...M5275EVB Schematics B 16 M5275EVB User s Manual...

Page 101: ...Appendix C M5275EVB BOM C 1 Appendix C M5275EVB BOM C 1 M5275EVB BOM...

Page 102: ...C 2 M5275EVB User s Manual M5275EVB BOM...

Page 103: ...0805 5 C160 C161 Stock 10 8 AA3528SGC Kingbright LED Green SMT D1 D2 D3 D4 D8 D14 D16 D18 Stock 11 3 MRA4003T3 Motorola SMA D5 D12 D13 Stock 12 7 MBRS340T3 Motorola SMC D6 D7 D9 D10 D11 D15 D17 Stock...

Page 104: ...A or Philips R43 R44 Stock 61 1 10 KOA or Philips R45 Stock 62 2 78RB04S Grayhill SW DIP 4 SW1 SW2 Stock 63 1 25546NA6 silver perfered 25546NLD gold plate Apem POWER SW SLIDE SPST Board Edge SW3 2 3 w...

Reviews: