NXP Semiconductors M5253EVBE Скачать руководство пользователя страница 26

M5253EVBE Users Manual, Rev. 1

2-8

Freescale Semiconductor

 

bf bss_start bss_end 0

To fill a block of memory starting at 0x0002_0000 and ending at 0x0004_0000 with data that increments 
by 2 for each <width>, the command is:

bf 20000 40000 0 2

2.4.4

BM (Block Move)

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 defined by begin and end, an error message 
is produced and the command exits.

Examples:

To copy a block of memory starting at 0x0004_0000 and ending at 0x0008_0000 to the location 
0x0020_0000, the command is: 

bm 40000 80000 200000

To copy the target code’s data section (defined by the symbols data_start and data_end) to 0x0020_0000, 
the command is:

bm data_start data_end 200000

NOTE

Refer to “upuser” command for copying code/data into Flash memory.

2.4.5

BR (Breakpoints)

Usage: BR addr <-r> <-c count> <-t trigger>

The BR command inserts or removes breakpoints at address addr. The value for addr may be an absolute 
address specified as a hexadecimal value, or a symbol name. Count and trigger are numbers converted 
according to the user-defined radix, normally hexadecimal.

If no argument is provided to the BR command, a listing of all defined breakpoints is displayed.

The -r option to the BR command removes a breakpoint defined at address addr. If no address is specified 
in conjunction with the -r option, then all breakpoints are removed.

Each time a breakpoint is encountered during the execution of target code, its count value is incremented 
by one. By default, the initial count value for a breakpoint is zero, but the -c option allows setting the initial 
count 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 trigger value, a breakpoint is 

Содержание M5253EVBE

Страница 1: ...Document Number M5253EVBUM Rev 1 03 2007 M5253 Evaluation Board Users Manual...

Страница 2: ...ducts for any particular purpose nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability...

Страница 3: ...up and Initial Operation 1 10 1 8 M5253EVBE Jumper Setup 1 10 1 9 Using the BDM Port 1 11 Chapter 2 Using the Monitor Debug Firmware 2 1 What Is dBUG 2 1 2 2 Operational Procedure 2 2 2 2 1 System Po...

Страница 4: ...4 29 UPDBUG Update dBUG 2 20 2 4 30 UPUSER Update User Flash 2 20 2 4 31 VERSION Display dBUG Version 2 20 2 5 TRAP 15 Functions 2 21 2 5 1 OUT_CHAR 2 21 2 5 2 IN_CHAR 2 21 2 5 3 CHAR_PRESENT 2 22 2...

Страница 5: ...2 0 OTG Module 3 7 3 3 General Purpose I O Pins 3 8 3 4 Audio Module 3 8 3 5 Analog to Digital Converter ADC Module 3 8 3 6 Flash Memory Card IDE Interface Module 3 8 3 7 ATA Interface Module 3 9 3 8...

Страница 6: ...M5253EVBE Users Guide Rev 1 vi Freescale Semiconductor...

Страница 7: ...the MCF5253 device for programming and evaluating the attributes of the microprocessor In addition there is an IDE and ATA interface for connection to things like an external HDD There is also an SD c...

Страница 8: ...illators 32 768 KHz 11 2896 MHz 24 MHz 8MB Transceiver CAN Transceiver DB 9 Connector DB 9 Connector Dedicated ATA I F Supports DMA GPIO Connectors Audio ADC I2S3 Headphone Socket RCA Phono plugs Audi...

Страница 9: ...re programmed into the Flash during factory testing The MCF5253 processor has 128 Kbytes of internal SRAM organized as 2 banks of 64 Kbytes The SRAM can be used for either data or instruction space RS...

Страница 10: ...232 serial cable with DB9 connectors is included with the board UART0 channel is the TERMINAL channel used by dBUG for communication with an external terminal PC The TERMINAL baud rate defaults to 11...

Страница 11: ...5253EVBE Users Manual Rev 1 Freescale Semiconductor 1 5 Figure 1 2 displays the minimum system configuration Figure 1 2 Minimum System Configuration dBUG RS 232 Terminal or PC 7 0 to 14 VDC Input Powe...

Страница 12: ...e M5253 Evaluation Board Users Manual this document CAUTION Avoid touching the MOS devices Static discharge can and will damage these devices Once you have verified that all the items are present remo...

Страница 13: ...the RS232 serial cable to connect the PC terminal to the M5253EVBE PCB The cable has a 9 pin female D sub terminal connector at one end and a 9 pin male D sub connector at the other end Connect the 9...

Страница 14: ...ud rate and character format The character format should be 8 bits no parity one stop bit See Section 1 6 5 Terminal Character Format The baud rate should be set to 115200 Power can now be applied to...

Страница 15: ...M5253EVBE Users Manual Rev 1 Freescale Semiconductor 1 9 Figure 1 4 shows the default jumper locations for the board Figure 1 4 Default Jumper Locations...

Страница 16: ...ted to the board 2 Check that the terminal and board are set for the same character format and baud 3 Press the RESET button to insure that the board has been initialized properly If you still are not...

Страница 17: ...on from BDM interface JP22 JP26 JP30 Not fitted Internal boot ROM mode select JP24 1 2 UART0 RS232 transceiver RX select JP25 1 2 SPI EEPROM M25P40 U14 write protected WP 2 3 SPI EEPROM M25P40 U14 wri...

Страница 18: ...miconductor P E BDM wiggler cable provided in the kit No special setting is needed Refer to the MCF5253 Reference Manual BDM section for additional instructions NOTE BDM functionality and use are supp...

Страница 19: ...OM device provides a self contained programming and operating environment dBUG interacts with the user through pre defined commands that are entered via the terminal These commands are defined in Sect...

Страница 20: ...der control of the dBUG firmware and after command completion the system returns to command entry mode During command execution additional user input may be required depending on the command function...

Страница 21: ...iate vector in the vector table located at 0x0000_0000 and then points the VBR to 0x0000_0000 The Software Watchdog Timer is disabled and internal timers are placed in a stop condition Interrupt contr...

Страница 22: ...is being debugged The user can interrupt the processor without destroying the present state of the system This is accomplished by forcing a non maskable interrupt that will call a dBUG routine that w...

Страница 23: ...ntered press the Return or Enter key to invoke the command again The command is executed as if no command line parameters were provided 2 4 Commands This section lists the commands that are available...

Страница 24: ...an error message produced In either case memory is disassembled and the process repeats The user may press the Enter or Return key to accept the current memory contents and skip to the next instructi...

Страница 25: ...ck of memory starting at address begin stopping at address end with the value data Width modifies the size of the data that is written If no width is specified the default of word sized data is used T...

Страница 26: ...data_end to 0x0020_0000 the command is bm data_start data_end 200000 NOTE Refer to upuser command for copying code data into Flash memory 2 4 5 BR Breakpoints Usage BR addr r c count t trigger The BR...

Страница 27: ...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 If no width is specified the default of word...

Страница 28: ...y equivalent of 0x1234 the command is dc 0x1234 To display the hexadecimal and binary equivalent of 1234 the command is dc 1234 2 4 8 DI Disassemble Usage DI addr The DI command disassembles target co...

Страница 29: ...sfer files from a network host In general the type of file to be downloaded and the name of the file must be specified to the DN command The c option indicates a COFF download the e option indicates a...

Страница 30: ...Control is only regained when the target code encounters a breakpoint illegal instruction trap 15 exception or other exception which causes control to be handed back to dBUG The GO command is repeata...

Страница 31: ...nal registers of different modules inside the MCF5xxx 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...

Страница 32: ...and writes 0x78 into memory lw b 20000 12345678 2 4 18 MD Memory Display Usage MD width begin end The MD command displays a contiguous block of memory starting at address begin and stopping at address...

Страница 33: ...tains a value for data sets the contents of the current address to data increments the address according to the data size and repeats The loop terminates when an invalid entry for the data value is en...

Страница 34: ...isplay only the program counter rd pc 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 D...

Страница 35: ...ase 2 octal base 8 and decimal base 10 client This is the network Internet Protocol IP address of the board For network communications the client IP is required to be set to a unique value usually ass...

Страница 36: ...ample 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 52 49 C3 01...

Страница 37: ...ups either by the SYMBOL command or by the disassembler will only use the first 31 characters Symbol names are case sensitive Symbols can also be added to the symbol table via in line assembly labels...

Страница 38: ...cated 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 u...

Страница 39: ...he terminal Assembly example assume 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 compile...

Страница 40: ...on zero value in D0 means a character is present Assembly example move l 0014 d0 Select the function trap 15 Make the call d0 contains the response yes no C example int board_char_present void asm mov...

Страница 41: ...ystem integration module SIM All of the core processor registers are 32 bits wide except for the status register SR which is 16 bits wide This processor communicates with external devices over a 16 bi...

Страница 42: ...io clock source 3 1 5 Watchdog Timer The duration of the watchdog is selected by the SWT 1 0 bits in the system protection and control register SYPCR SWT 1 0 11 gives a maximum timeout period of 228 s...

Страница 43: ...priority can result in undefined operation The M5253EVBE hardware uses INT1 to support the ABORT function using the ABORT switch S2 This switch is used to force an interrupt level 7 priority 3 if the...

Страница 44: ...ion of the SDRAM on the board The dBUG ROM monitor is programmed in one AMD AM29LV160DB 90 flash ROM which occupies 2 Mbytes of the address space The first 256 Kbytes i e the first sector are used by...

Страница 45: ...generate TA internally after a pre programmed number of wait states 3 1 11 Wait State Generator The Flash ROM and SDRAM on the board may require some adjustments to the cycle time of the processor to...

Страница 46: ...er sizes of 8 to 16 bits in 1 bit increments Four peripheral chip select lines for control of up to 15 devices Baud rates from 274 5 Kbps to 17 5 Mbps at 140 MHz Programmable delays before and after t...

Страница 47: ...ssage Programmable I O modes Maskable interrupts Independent of the transmission medium an external transceiver assumed Open network architecture Multimaster bus High immunity to EMI Short latency tim...

Страница 48: ...to 4 functions including GPIO 3 4 Audio Module The MCF5253 processor s audio module includes the following features Support for reception and transmission of digital audio over serial interfaces IIS...

Страница 49: ...ck of at least 80 MHz 128 byte FIFO part of interface FIFO receive alarm and FIFO transmit alarm to DMA unit Zero wait cycles transfer between DMA bus and FIFO which allows fast FIFO reading and writi...

Страница 50: ...signment 1 3 5 7 9 11 13 15 17 19 21 23 25 2 4 6 8 10 12 14 16 18 20 22 24 26 BKPT DSCLK Developer Reserved DSI DSO PST3 PST1 DDATA3 DDATA1 GND Freescale Reserved PSTCLK TA GND GND RESET GND PST2 PST0...

Страница 51: ...337X9010E2TE3 or F931A337KNC Sprauge AVX Cap 330uF 10v C case tant C11 C22 C43 7 2 UWX1E4R7MCL2GB Nichicon Cap 4 7uF 25V SMT Electrolytics C73 C88 9 4 C0603C224Z4VACTU Kemet Cap 0 22uF 0603 16V C91 C9...

Страница 52: ...shrouded header J10 J11 37 1 TSS 113 01 G D N2526 6002RB Samtec or 3M Conn 2x13 0 1 pitch connector shrouded header J12 38 1 CON10A 0 1 pitch 2x5 Header NO PART J13 39 2 RAPC722X Switchcraft Conn Swi...

Страница 53: ...23 R29 R31 R78 60 1 RK73B1JTTD274J KOA 270K 200ppm SM RES THICK FILM 0603 5 1 10W R8 61 1 RK73B1JTTD560J KOA 56 200ppm SM RES THICK FILM 0603 5 1 10W R14 62 12 RK73B1JTTD103J KOA 10K 200ppm SM RES THI...

Страница 54: ...LK C and K Swith blk reset button t h S2 82 8 SDTX 620K Amp Switch reset button t h SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 83 8 TEST POINT NO PART TP1 TP2 TP3 TP4 TP5 TP6 84 1 LM2596S 5 0 NOPB National Semi...

Страница 55: ...tal 11 2896 MHz 2 PIN T H HC49US X1 X2 105 1 CFS206 32 768KDZF UB Citizens Xtal 32 768 KHz 2 dip T H cyl X3 106 1 HC49US24 000MABJ UB Citizens Xtal 24 MHz HC49U X4 109 50 382575 2 Amp Shunt Jumpers 2m...

Страница 56: ...M5253EVBE Users Manual Rev 1 A 6 Freescale Semiconductor...

Отзывы: