Summary of Contents for Motorola Digital DNA M523 EVB Series
Page 1
Freescale Semiconductor, Inc. M5235EVBUM/D 5/2004 REV 1 M523xEVB User’s Manual For More Information On This Product, Go to: www.freescale.com This datasheet has been downloaded from http://www.digchip.com at this page...
Page 2
Motorola was negligent regarding the design or manufacture of the part. Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office. All other product or service names are the property of their respective owners.
Page 3
If such interference is detected, suitable mitigating measures should be taken. MOTOROLA M523xEVB User’s Manual PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 4
M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 5
System Configuration ..................2-1 Installation and Setup..................2-3 2.2.1 Unpacking....................... 2-3 2.2.2 Preparing the Board for Use ................2-3 2.2.3 Providing Power to the Board................. 2-3 MOTOROLA Contents For More Information On This Product, PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Go to: www.freescale.com...
Page 6
Required Network Parameters ................1-1 Configuring dBUG Network Parameters............1-2 Troubleshooting Network Problems ..............1-3 Appendix B Schematics Appendix C Evaluation Board BOM M523xEVB User’s Manual MOTOROLA For More Information On This Product, PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Go to: www.freescale.com...
Page 7
2-Lever Power Connector ..................... 2-4 Pin Assignment for Female (Terminal) Connector............2-6 Jumper Locations ......................2-7 Flow Diagram of dBUG Operational Mode ..............3-3 MOTOROLA Illustrations For More Information On This Product, PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Go to: www.freescale.com...
Page 8
Freescale Semiconductor, Inc. ILLUSTRATIONS Figure Page Title Number Number M523xEVB User’s Manual MOTOROLA For More Information On This Product, PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Go to: www.freescale.com...
Page 9
1-24 LED Functions ......................1-26 Power LEDs ........................2-5 Pin Assignment for Female (Terminal) Connector............2-6 dBUG Command Summary..................3-6 MCF523xEVB BOM ....................3-1 MOTOROLA Tables For More Information On This Product, PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Go to: www.freescale.com...
Page 10
Freescale Semiconductor, Inc. TABLES Table Page Title Number Number M523xEVB User’s Manual MOTOROLA For More Information On This Product, PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Go to: www.freescale.com...
Page 11
RAM, execute applications, set breakpoints, and display or modify registers or memory. No additional hardware or software is required for basic operation. MOTOROLA Chapter 1. M523xEVB PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 12
Freescale Semiconductor, Inc. Specifications • Motorola MCF5235 Microprocessor (150 MHz max core frequency) • External Clock source: 25 MHz • Operating temperature: 0°C to +70°C • Power requirement: 6–14V DC @ 300 ma Typical • Power output: 5V, 3.3V and 1.5V regulated supplies •...
Page 13
Figure 1-1. M523xEVB Block Diagram MCF5235 Microprocessor The microprocessor used on the EVB is the highly integrated Motorola MCF5235 32-bit ColdFire variable-length RISC processor. The MCF5235 implements a ColdFire Version 2 core with a maximum core frequency of 150 MHz and external bus speed of 75 MHz.
Page 14
The MCF5235 processor has the capability to support both BDM and JTAG. These ports are multiplexed and can be used with third party tools to allow the user to download code M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 15
The board is configured to boot up in the normal/BDM mode of operation. The BDM signals are available at the port labeled BDM. Figure 1-2 shows the MCF5235 processor block diagram. MOTOROLA Chapter 1. M523xEVB PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 16
(To/From Arbiter) Timer SKHA PIT0 PIT1 PIT2 PIT3 CLKGEN (To/From INTC) RNGA Edge MDHA Port Cryptography Modules Figure 1-2. MCF5235 Block Diagram M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 17
BDM. Users should use caution to avoid this situation. The M523xEVB dBUG debugger/monitor firmware is MOTOROLA Chapter 1. M523xEVB PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 18
The default memory map for this board as configured by the Debug Monitor located in the external FLASH bank can be found in table 1-2. The internal memory space of the M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 19
The Memory that the MCF5235 accesses at address 0 is determined at reset by sampling D[20:19]. MOTOROLA Chapter 1. M523xEVB PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 20
Table 1-5. SW7-2 JTAG_EN SW1-2 JTAG Enable JTAG interface enabled BDM interface enabled 1-10 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 21
PF[7:5] = /CS[6:4] PF[7] = /CS6, PF[6:5] = A[22:21] PF[7:6] = /CS[6:5], PF[5] = A21 PF[7:5] = A[23:21] PF[7:5] = A[23:21] MOTOROLA Chapter 1. M523xEVB 1-11 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 22
63 interrupt sources. These sources are:- • External interrupt signals IRQ[7:1] (EPORT) • Software watchdog timer module • Timer modules 1-12 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 23
Processor Expansion Bus (J9, pin 44). This allows any expansion boards to assert this line to provide a TA signal to the processor. On the expansion boards this signal should be generated through an open collector buffer with no MOTOROLA Chapter 1. M523xEVB 1-13 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE...
Page 24
RS-232 transceivers (U30) & (U31) and are available on DB-9 connectors (P4) and (P5). Refer to the MCF523x User’s Manual for programming the UART’s and their register maps. 1-14 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 25
The EVB provides 1 dedicated CAN transceiver. The CAN0TX and CAN0RX signals are brought out to a 3.3V CAN transceiver (Texas Instruments - SN65HVD230D). Jumper JP1 and JP2 control the CAN hardware configuration. MOTOROLA Chapter 1. M523xEVB 1-15 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 26
— 100-Mbps IEEE 802.3 MII — 10-Mbps IEEE 802.3 MII — 10-Mbps 7-wire interface (industry standard) • IEEE 802.3 full duplex flow control 1-16 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 27
ETXER JP15 ETXD3 JP16 ERXD0 JP17 ETXD0 JP18 ERXD1 JP19 ERXD2 JP20 ERXD3 JP21 ERXCLK JP22 ERXDV JP23 ECOL JP24 ECRS MOTOROLA Chapter 1. M523xEVB 1-17 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 28
TPU library functions modified to take advantage of enhancements in the eTPU. These, along with a C compiler, make it relatively easy to port older applications. By providing source code for the Motorola library, it is possible for the eTPU to support the users own function development.
Page 29
The MCF5235 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 (J1). Figure 1-4 shows the (J1) Connector pin assignment. MOTOROLA Chapter 1. M523xEVB 1-19 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE...
Page 30
PST1 PST0 DDATA3 DDATA2 DDATA1 DDATA0 MOTOROLA RESERVED MOTOROLA RESERVED PSTCLK Core Voltage Figure 1-4. J1- BDM Connector Pin Assignment The BDM connector can also be used to interface to JTAG signals. On reset, the JTAG_EN signal selects between multiplexed debug module and JTAG signals. See Table 1-5.
Page 31
Host or Device mode. JP56 must be set between pins 2 and 3 if the controller is configured in Host mode and between pin 1 and 2 if the controller is configured in Device mode. MOTOROLA Chapter 1. M523xEVB 1-21 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE...
Page 32
Below is a pinout description of these connectors. Table 1-19. J7 Signal Signal +3.3V +3.3V +3.3V +3.3V TPUCH24 TPUCH6 TPUCH17 TPUCH4 TPUCH18 TPUCH5 1-22 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 33
U1RXD U2TXD U1TXD Table 1-20. J8 Signal Signal +1.5V +3.3V +3.3V TPUCH8 TPUCH7 TPUCH10 TPUCH9 TPUCH25 TPUCH12 TPUCH27 TPUCH11 TPUCH26 TPUCH14 MOTOROLA Chapter 1. M523xEVB 1-23 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 34
TPUCH30 U0CTS U0RXD DTOUT0 DTIN0 U0TXD U0RTS CLKMOD0 +3.3V CLKMOD1 EXT_RSTIN Table 1-21. J9 Signal Signal +1.5V +3.3V +3.3V +3.3V +3.3V 1-24 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 35
DTOUT3 LTPUODIS CAN0RX SD_WE CAN0TX SD_CAS SD_CS0 CLKOUT SD_RAS SD_CS1 DDATA3 XTAL EXTAL Table 1-22. J10 Signal Signal +1.5V +3.3V +3.3V MOTOROLA Chapter 1. M523xEVB 1-25 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 36
RESET is wire OR’d with the BDM reset signal and there is a reset signal brought out to the expansion connectors for use with user hardware. 1-26 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 37
+3.3V Power Good +5V Power Good +1.5V Power Good Abort (IRQ7) asserted Reset (RSTI) asserted D25-D32 User LEDs (See Table 1-23) MOTOROLA Chapter 1. M523xEVB 1-27 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 38
Freescale Semiconductor, Inc. Connectors and User Components 1-28 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 39
• Power supply, +6V to 14V DC with minimum of 300 mA. • RS232C compatible terminal or a PC with terminal emulation software. • RS232 Communication cable (provided). MOTOROLA Chapter 2. Initialization and Setup PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 40
Figure 2-1 displays the minimum system configuration. RS-232 Terminal Or PC dBUG> +7 to +14VDC Input Power Figure 2-1. Minimum System Configuration M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 41
The EVB requires an external supply voltage of 7–14 V DC, minimum 1 Amp. This is regulated on board using three switching voltage regulators to provide the necessary EVB voltages of 5V, 3.3V and 1.5V. There are two different power supply input connectors on MOTOROLA Chapter 2. Initialization and Setup PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 42
When power is applied to the EVB, green power LEDs adjacent to the voltage regulators show the presence of the supply voltage as follows: M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 43
Using a Personal Computer as a Terminal A personal computer may be used as a terminal provided a terminal emulation software package is available. Examples of this software are PROCOMM, KERMIT, QMODEM, MOTOROLA Chapter 2. Initialization and Setup PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 44
Request to Send, Input Clear to send, Output Not connected Figure 2-5 on the next page shows the jumper locations for the board. M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 45
Freescale Semiconductor, Inc. Installation and Setup Figure 2-5. Jumper Locations MOTOROLA Chapter 2. Initialization and Setup PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 46
Monitor initializes the board and then displays a power-up message on the terminal, which includes the amount of memory present on the board. Hard Reset DRAM Size: 16M Copyright 1995-2004 Motorola, Inc. All Rights Reserved. ColdFire MCF523x EVS Firmware v2e.1a.xx (Build XXX on XXX XX 20XX xx:xx:xx) Enter ’help’...
Page 47
In general, dBUG is not case sensitive. Commands may be entered either in upper or lower case, depending upon the user’s equipment and preference. Only symbol names require that the exact case be used. MOTOROLA Chapter 3. Using the Monitor/Debug Firmware PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 48
A reference to “SP” (stack pointer) actually refers to general purpose address register seven, “A7.” M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 49
CAUSE USER PROGRAM EXECUTION JUMP TO USER PROGRAM AND BEGIN EXECUTION Figure 3-1. Flow Diagram of dBUG Operational Mode MOTOROLA Chapter 3. Using the Monitor/Debug Firmware PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 50
Hard Reset DRAM Size: 16M ColdFire MCF5235 on the M523xEVB Firmware vXX.XX.XX (Build X on XXXX) Copyright 1995-2004 Motorola, Inc. All Rights Reserved. Enter ’help’ for help. dBUG> Other means can be used to re-initialize the M523xEVB firmware. These means are discussed in the following paragraphs.
Page 51
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. MOTOROLA Chapter 3. Using the Monitor/Debug Firmware PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 52
<symb> <-a symb value> <-r symb> -C|l|s> Symbol Management TRACE trace <num> Trace (Into) up begin end filename Upload Memory to File VERSION version Show Version M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 53
To place a NOP instruction at address 0x00010000, the command is: 10000 nop To interactively assemble memory at address 0x00400000, the command is: 400000 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 54
To verify that the data starting at 0x20000 and ending at 0x30000 is identical to the data starting at 0x80000, the command is: 20000 80000 10000 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 55
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: 20000 40000 0 2 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 56
To copy the target code’s data section (defined by the symbols data_start and data_end) to 0x00200000, the command is: data_start data_end 200000 NOTE Refer to “upuser” command for copying code/data into Flash memory. 3-10 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 57
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: MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-11 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 58
0x0000ABCD. If no match is found, then the address is incremented to 0x00040004 and the next 32-bit value is read and compared. 3-12 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 59
To display the decimal and binary equivalent of 0x1234, the command is: 0x1234 To display the hexadecimal and binary equivalent of 1234, the command is: 1234 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-13 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 60
To disassemble code that starts at 0x00040000, the command is: 40000 To disassemble code of the C function main(), the command is: _main 3-14 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 61
To download an S-record file through the serial port, the command is: To download an S-record file through the serial port, and add an offset to the destination address of 0x40, the command is: 0x40 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-15 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 62
S-record file. The file should be sent as a text file with no special transfer protocol. Use this command with extreme caution, as any error can render dBUG useless! 3-16 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 63
To download a file using the default filetype with the name “bench.out”, the command is: dn bench.out To download a file using the default filename and filetype, the command is: MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-17 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 64
Flash device and that the src and dest are not within the same device. 3-18 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 65
To execute code at the C function main(), the command is: go _main To execute code at the address 0x00040000, the command is: go 40000 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-19 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 66
Examples: To execute code up to the C function bench(), the command is: gt _bench 3-20 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 67
Refer to the MCF5235 user’s manual for more information on these modules and the registers they contain. Example: sim.rsr MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-21 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 68
Example: To modify the TMR register of the first Timer module to the value 0x0021, the command is: timer1.tmr 0021 3-22 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 69
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 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-23 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 70
Example: To continually read the longword data from address 0x20000, the command is: lr.l 20000 3-24 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 71
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 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-25 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 72
To display a range of bytes from 0x00040000 to 0x00050000, the command is: md.b 40000 50000 To display a range of 32-bit values starting at 0x00040000 and ending at 0x00050000: md.l 40000 50000 3-26 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 73
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: 10000 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-27 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 74
0xFFE00000 0xFFFFFFFF 16-bit Protected Start ---------------------------------------- dBUG Code 0xFFE00000 0xFFE3FFFF dBUG Data 0x00000000 0x0000FFFF Chip Selects ---------------- Ext Flash Ext ASRAM 3-28 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 75
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 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-29 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 76
Examples: To change register D0 on MC68000 and ColdFire to contain the value 0x1234, the command is: D0 1234 3-30 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 77
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 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-31 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 78
(i.e. nested function calls). After control is returned to dBUG, the SD command will decode the stack frames and display a trace of the function calls. 3-32 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 79
Examples: To set the baud rate of the board to be 19200, the command is: baud 19200 NOTE See the SHOW command for a display containing the correct formatting of these options. MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-33 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 80
Here is an example of the output from a show command: dBUG> show base: 16 baud: 19200 server: 0.0.0.0 client: 0.0.0.0 gateway: 0.0.0.0 netmask: 255.255.255.0 filename: test.s19 filetype: S-Record ethaddr: 00:CF:52:82:CF:01 3-34 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 81
Examples: To pass over a subroutine call, the command is: step MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-35 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 82
To see how full the symbol table is, the command is: symbol To display the symbol table, the command is: symbol 3-36 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 83
This command is repeatable. Examples: To trace one instruction at the program counter, the command is: To trace 20 instructions from the program counter, the command is: MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-37 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 84
The UP command uses the Trivial File Transfer Protocol (TFTP) to transfer files to a network host. 3-38 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 85
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 MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-39 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 86
/* put ‘ch’into d1 */ asm (“ move.l#0x0013,d0”); /* select the function */ asm (“ trap#15”); /* make the call */ #endif 3-40 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 87
The register context are preserved. Assembly example: move.l #$0000,d0 Select the function trap Make the call, exit to dBUG. C example: MOTOROLA Chapter 3. Using the Monitor/Debug Firmware 3-41 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 88
(void) asm (“ move.l#0x0000,d0”); /* select the function */ asm (“ trap#15”); /* exit and transfer to dBUG */ 3-42 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 89
Client IP: ___.___.___.___ (IP address of the board) Server IP: ___.___.___.___ (IP address of the TFTP server) Gateway: ___.___.___.___ (IP address of the gateway) Netmask: ___.___.___.___ (Network netmask) MOTOROLA Appendix A. Configuring dBUG for Network Downloads PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product,...
Page 90
‘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 set filetype coff M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 91
Verify that the IP addresses for the server and gateway are correct. Also verify that a TFTP server is running on the server. MOTOROLA Appendix A. Configuring dBUG for Network Downloads PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 92
Freescale Semiconductor, Inc. Troubleshooting Network Problems M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 93
Freescale Semiconductor, Inc. Appendix B Schematics MOTOROLA Appendix B. Schematics PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 94
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 95
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 96
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 97
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 98
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 99
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 100
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 101
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 102
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 103
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 104
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 105
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 106
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 107
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 108
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 109
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 110
Freescale Semiconductor, Inc. B-18 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 111
Freescale Semiconductor, Inc. Appendix C Evaluation Board BOM MOTOROLA Appendix C. Evaluation Board BOM PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...
Page 112
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 113
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 114
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 115
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 116
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 117
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 118
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 119
Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
Page 120
Freescale Semiconductor, Inc. C-10 M523xEVB User’s Manual MOTOROLA PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE For More Information On This Product, Go to: www.freescale.com...