background image

30

2.4.20. SET - Set Configuration

SET

SET

SET

SET

SET

Usage:

SET option <value>

SET

The SET command allows the setting of user configurable options within dBUG. The options are listed below. If
the SET command is issued without option, it will show the available options and values.

The board needs a RESET after this command in order for the new option(s) to take effect.

baud - This is the baud rate for the first serial port on the board. All communications between dBUG and the user
occur using either 9600 or 19200 bps, eight data bits, no parity, and one stop bit, 8N1. Do not choose 38400 baud.

base - This is the default radix for use in converting number from their ASCII text representation to the internal
quantity used by dBUG. The default is hexadecimal (base 16), and other choices are binary (base 2), octal (base
8), and decimal (base 10).

Examples:

To see all the available options and supported choices, the command is:

set

To set the baud rate of the board to be 19200, the command is:

set

baud 19200

Now press the RESET button (RED) or RESET command for the new baud to take effect. This baud will be
programmed in Flash ROM and will be used during the power-up.

2.4.21. SHOW - Show Configuration

SHO

SHO

SHO

SHO

SHOW

W

W

W

W

Usage:

SHOW option

SHOW

The SHOW command displays the settings of the user configurable options within dBUG. Most options configurable
via the SET command can be displayed with the SHOW command. If the SHOW command is issued without any
option, it will show all options.

Examples:

To display all the current options, the command is:

show

To display the current baud rate of the board, the command is:

show

baud

 

   

  

F

re

e

sc

a

le

 S

e

m

ic

o

n

d

u

c

to

r,

 I

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

 

Freescale Semiconductor, Inc.

For More Information On This Product,

   Go to: www.freescale.com

n

c

.

..

Summary of Contents for MCF5206eLITE

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

Page 2: ...sing out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights if any or the rights of others WARNING THIS BOARD GENERATES USE...

Page 3: ...2 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 4: ...MCF5206e to be taken 13 1 11 USING THE BDM 13 CHAPTER 2 2 1 2 1 WHAT IS dBUG 14 2 2 OPERATIONAL PROCEDURE 15 2 2 1 System Power up 15 2 2 2 System Initialization 16 2 2 2 1 Hard RESET Button 16 2 2 2...

Page 5: ...neration 39 3 1 11 Wait State Generator 40 3 2 THE ASYNCHRONOUS DRAM SIMM 40 3 3 FLASH ROM 40 3 3 1 JP2 Jumper and User s Program 40 3 4 THE SERIAL COMMUNICATION CHANNELS 40 3 4 1 The MCF5206e UARTs 4...

Page 6: ...42 TABLE 11 THE J1 CONNECTOR PIN ASSIGNMENT 43 TABLE 12 THE J2 CONNECTOR PIN ASSIGNMENT 44 TABLE 13 THE J3 CONNECTOR PIN ASSIGNMENT 45 TABLE 14 THE J10 CONNECTOR PIN ASSIGNMENT 46 TABLE 15 THE J11 CON...

Page 7: ...6 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 8: ...32 bit processor with up to 32 bits of addressing and 32 lines of data The processor has eight 32 bit data registers eight 32 bit address registers a 32 bit program counter and a 16 bit status registe...

Page 9: ...ally programmed as input or output The parallel port bits PP 3 0 are multiplexed with PST 3 0 and PP 7 4 are multiplexed with DDATA 3 0 The Pin Assignment Register PAR controls both nibbles of the par...

Page 10: ...rial compiler toolchain debugging suite Accelerated Technology Trial Nucleus RTOS WARNING AVOID TOUCHING THE MOS DEVICES STATIC DISCHARGE CAN AND WILL DAMAGE THESE DEVICES Once you verified that all t...

Page 11: ...e 25 pin or 9 pin You may need to obtain a 9 pin to 25 pin adapter to make the connection If you need to build an adapter refer to Figure 2 that shows the pin assignment for the 9 pin connector on the...

Page 12: ...11 Figure 3 System Configuration Figure 4 Jumper and connector placement MBus Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 13: ...et for the same character format and baud 3 Press the black RESET S1 button to ensure that the board has been initialized properly If you are not receiving the proper response your board may have been...

Page 14: ...to pins 1 2 of the jumper to measure the current required by the MCF5206e Table 5 JP5 Current measurement of the MCF5206e JP3 Function 1 and 2 Jumper fitted default 1 11 USING THE BDM The MCF5206e has...

Page 15: ...that the exact case be used Most commands can be recognized by using an abbreviated name For instance entering h is the same as entering help Thus it is not necessary to type the entire command name...

Page 16: ...em 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 a Be sure the power supply...

Page 17: ...r Vx x x xxx 199x xx xx xx Enter help for help dBUG If you did not get this response check the setup Refer to Section 1 9 SYSTEM POWER UP AND INITIAL OPERATION Note the date xxx 199x xx xx xx may vary...

Page 18: ...rminal printing out a trap error message and the contents of all the MCF5206e core registers Control is returned to the dBUG monitor 2 3 TERMINAL CONTROL CHARACTERS The command line editor remembers t...

Page 19: ...N VALUE 30 SHOW SHOW CONFIGURATIONS SHOW OPTION 30 STEP STEP OVER STEP 31 SYMBOL SYMBOL MANAGEMENT SYMBOL SYMB A SYMB VALUE R SYMB C L S 31 TRACE TRACE INTO TRACE NUM 32 UPDBUG UPDATE DBUG UPDBUG 32 U...

Page 20: ...al constant followed by binary constant digit decimal constant The assembler also supports the different syntax s capable for the indexed displacement and immediate addressing modes 12 An or 12 An 4 P...

Page 21: ...at address end with the value data Width modifies the size of the data that is written The value for addresses begin and end may be an absolute address specified as a hexadecimal value or a symbol nam...

Page 22: ...imal value or a symbol name If the destination address overlaps the block defined by begin and end an error message is produced and the command exits Examples To copy a block of memory starting at 0x3...

Page 23: ...ring 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 encountered and control returne...

Page 24: ...6 bit value 0x1234 in the memory block starting at 0x30040000 and ending at 0x30080000 the command is bs 30040000 30080000 1234 This reads the 16 bit word located at 0x00040000 and compares it against...

Page 25: ...addr The DI command disassembles target code pointed to by addr The value for addr may be an absolute address specified as a hexadecimal value or a symbol name Wherever possible the disassembler will...

Page 26: ...destination address by 0x40 the command is dl 0x40 2 4 10 Go Execute GO GO GO GO GO Usage GO addr The GO command executes target code starting at address addr The value for addr may be an absolute add...

Page 27: ...e command is help The help list is longer than one page The help command displays one full screen and then asks for an input to display the rest of the list To obtain help on the breakpoint command th...

Page 28: ...data that is displayed Memory display starts at the address begin If no beginning address is provided the MD command uses the last address that was displayed If no ending address is provided then MD...

Page 29: ...n an invalid entry for the data value is entered i e a period This command first aligns the starting address for the data access size and then increments the address accordingly during the operation T...

Page 30: ...mples To change register D0 to contain the value 0x1234 the command is rm D0 1234 2 4 19 RESET Reset the board and dBUG RESET RESET RESET RESET RESET Usage RESET The RESET command attempts to reset th...

Page 31: ...er choices are binary base 2 octal base 8 and decimal base 10 Examples To see all the available options and supported choices the command is set To set the baud rate of the board to be 19200 the comma...

Page 32: ...l name is provided to the SYMBOL command then the symbol table is searched for a match on the symbol name and its information displayed The a option adds a symbol name and its value into the symbol ta...

Page 33: ...gram counter the command is tr To trace 20 instructions from the program counter the command is tr 20 2 4 25 UPDBUG Update the dBUG Image UPDB UPDB UPDB UPDB UPDBUG UG UG UG UG Usage UPDBUG The UPDBUG...

Page 34: ...o program all 6 sectors of user FLASH space the command is upuser or upuser 6 To program only 128K of user FLASH space the command is upuser 1 2 4 27 VERSION Display dBUG Version VERSION Usage VERSION...

Page 35: ...d1 contains the character move l 0013 d0 Selects the function TRAP 15 The character in d1 is sent to terminal C example void board_out_char int ch If your C compiler produces a LINK UNLK pair for thi...

Page 36: ...character in d0 2 5 3 CHAR_PRESENT This function function code 0x0014 checks if an input character is present to receive A value of zero is returned in D0 when no character is present A non zero valu...

Page 37: ...text are preserved Assembly example move l 0000 d0 Select the function trap 15 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 ex...

Page 38: ...logic provides system initialization under two modes Under system power up and when the RESET switch S1 black switch is active The power on generates the Master RESET by asserting RSTI and HIZ that ca...

Page 39: ...uld be set up as an autovector interrupt which directs the processor to a predefined entry in the exception table refer to the MCF5206e User s Manual The processor goes to a service routine via the ex...

Page 40: ...F CS0 1M byte of Flash EEPROM 512Kx16 Installed the level 2 cache footprint accepts Motorola s MCM69F737TQ device and any other FSRAM with the same electrical specifications and pinout All the unused...

Page 41: ...e to the user The chip select signal generated by the MCF5206e CS0 enables this chip The MCF5206e chip select logic can be programmed to generate the TA for CS0 signal after a certain number of wait s...

Page 42: ...5206eLITE board which are used to connect the board to external I O devices and or expansion boards This section provides a brief discussion and the pin assignments of the connectors 3 6 1 The Termina...

Page 43: ...shows the pin assignment for J5 Table 10 The J5 Connector pin assignment PIN NO DIRECTION SIGNAL NAME 1 5V 2 Output Serial Clock SCL 3 Bi Directional Serial Data SDA 4 N C 5 N C 6 Signal Ground 3 6 4...

Page 44: ...Z0 16 A14 65 SIZ1 17 A15 64 R W 18 GND 63 GND 19 A16 62 CLK 20 A17 61 HIZ 21 A18 60 N C 22 A19 59 CS0_OFF 23 A20 58 DREQ0 24 A21 57 IPL2 25 A22 56 IPL1 26 A23 55 IPL0 27 D0 54 BR 28 D1 53 BR_HW 29 GND...

Page 45: ...65 VCC 17 D31 64 N C 18 GND 63 GND 19 A24 62 N C 20 A25 61 N C 21 A26 60 N C 22 A27 59 N C 23 N C 58 TIN1 24 N C 57 DREQ1 25 N C 56 N C 26 N C 55 CTS2 27 PST1 54 RTS2 28 TEA 53 TXD2 29 GND 52 GND 30 P...

Page 46: ...13 The J3 Connector pin assignment PIN NO SIGNAL NAME 1 TCK 2 BKPT 3 Ground 4 DSCLK 5 Ground 6 No Connect 7 RESET 8 DSI 9 3 3 or 5 Volts see Jumper 4 10 DSO 11 Ground 12 PST3 13 PST2 14 PST1 15 PST0 1...

Page 47: ...ector pin assignment PIN NO SIGNAL NAME 1 DATA 0 2 DATA 1 3 DATA 2 4 DATA 3 5 DATA 4 6 DATA 5 7 DATA 6 8 DATA 7 3 6 7 The GPIO Open Collector Driven Connector J11 Connector J11 is driven via an open c...

Page 48: ...SS 2 DQ0 71 N C 3 DQ16 70 PD4 4 DQ1 69 PD3 5 DQ17 68 PD2 6 DQ2 67 PD1 7 DQ18 66 N C 8 DQ3 65 DQ15 9 DQ19 64 DQ31 10 VCC 63 DQ14 11 N C 62 DQ30 12 A0 61 DQ13 13 A1 60 DQ29 14 A2 59 VCC 15 A3 58 DQ28 16...

Page 49: ...48 Notes Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 50: ...GND PIN 11 NC PIN 12 BG_HW COMBINATORIAL O P PIN 13 BG COMBINATORIAL O P PIN 14 IORD COMBINATORIAL O P PIN 15 IOWR COMBINATORIAL O P PIN 16 U15_OE COMBINATORIAL O P PIN 17 NC COMBINATORIAL PIN 18 NC C...

Page 51: ...50 Notes Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 52: ...51 APPENDIX B Schematics Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 53: ...52 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 54: ...53 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 55: ...54 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 56: ...55 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 57: ...56 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 58: ...57 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 59: ...58 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 60: ...59 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 61: ...60 Notes Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Reviews: