background image

Getting Started

Demonstration Board for Freescale MCF5211, Rev. 1

Freescale Semiconductor

5

2

Getting Started

To get started, please refer to the M5211 Quick Start Guide included with this development kit.  

The M5211DEMO single board computer is a fully assembled, fully functional development board for the 
Freescale MCF5211 microcontroller.  An included serial cable, USB cable, and support software allows 
you to get started quickly.  

The purpose of this development board is to assist you in quickly developing an application in a known 
working environment, to provide an evaluation platform, or as a control module for an embedded system.  
You should be familiar with memory mapping, memory types, and embedded software design for 
successful application development.  

You should be familiar with the hardware and software operation of the target MCF5211 device before 
beginning.  If necessary, refer to the MCF5213 Integrated Microcontroller Reference Manual, included on 
the support CD, for details on the operation of the MCF5211.

3

Software Development

Software development requires the use of a ColdFire assembler or compiler and a host PC running a 
ColdFire BDM interface.  CodeWarrior 6.1 Special Edition, which is supplied with this board, allows you 
to develop and debug application code and to program the flash memory. 

To ensure successful application development, load and execute the application from RAM.  After the 
application has been completely debugged fully functional, it can be ported to flash memory.  When 
programmed into flash memory, the application will execute from power-on or RESET.

4

Operating Modes

The M5211DEMO board operates in two basic modes RUN mode, or DEBUG mode.  RUN mode executes 
user application code from power-on or reset.  DEBUG mode supports the development and debug of 
applications via the integrated USB BDM.  An optional BDM_PORT is provided but not installed.  See 
the related sections below for quickly starting the board in the desired mode of operation.  

The board has been preloaded with a demonstration program that operates in the RUN mode (see the 
M5211DEMO Quick Start Guide for additional information).  The VDD LED is lit when power is applied 
to the board and the PWR_SEL option header is set correctly.  The OFF/ON switch must also be set to the 
ON position.

4.1

RUN Mode

RUN mode allows your application to execute out of flash memory when power is applied to the board or 
the RESET button is pressed.  Use these settings to configure the M5211DEMO board for RUN mode 
using the USB bus to power the board.  See t

Section 7, “Power

,” for details on configuring the board for 

alternate power input.  

1. Connect a serial cable between the board and a host PC if needed. 

2. Connect auxiliary equipment to board if needed.

3. Configure the board option jumpers as shown in 

Table 2

.

Содержание M5211DEMO

Страница 1: ...M The integrated BDM is compatible with popular hosting software and allows easy application development and debugging An optional BDM port compatible with standard ColdFire BDM JTAG interface cables...

Страница 2: ...byte RAM 2K byte cache RAM DMA controller with timers Interrupt controller Eight channel 12 bit A D QSPI IIC and CAN serial ports 1 x UART Serial Ports with DMA capability Edge interrupt port Eight P...

Страница 3: ...erminal block Power from connector J1 Optional power output through connector J1 User features Four user LEDs with enable jumper Two user push switches 5 k POT with enable jumper Option jumpers Power...

Страница 4: ...may cause radio interference in which case you may be required to take adequate prevention measures Attaching additional wiring to this product or modifying the product operation from the factory defa...

Страница 5: ...the flash memory To ensure successful application development load and execute the application from RAM After the application has been completely debugged fully functional it can be ported to flash me...

Страница 6: ...BDM cable This header is not installed in default configurations The steps describe using the integrated USB BDM See Section 7 Power for details on configuring the board for alternate power input 1 Co...

Страница 7: ...ing the need to power the board externally When used power from the USB BDM circuit is derived from the USB bus and total current consumption is limited by the USB specification Total current consumpt...

Страница 8: ...connector accepts a center positive 2 1 mm barrel plug The terminal block accepts wire sizes ranging from 28 ga to 16 ga Voltage input must be in the range between 5 V and 20 V At no time should inpu...

Страница 9: ...1 3 Connector J1 See the schematic for details on using this connection to supply power to the board or source power from the board Use of this input requires a regulated 3 3 V voltage source CAUTION...

Страница 10: ...header 7 4 1 PWR_SEL Figure 6 shows the PWR_SEL header Figure 6 PWR_SEL Option Header Power from the integrated BDM is drawn from the USB bus and is limited to 500 mA Excessive current drain will vio...

Страница 11: ...ve current drain may damage the target board the host PC USB hub or the on board regulator Figure 7 details the VX_EN option header connections Figure 7 VX_EN Option Header CAUTION Do not apply power...

Страница 12: ...he various low power modes 10 Timing Timing for the M5211DEMO is provided by an on chip 8 MHz relaxation oscillator in default configuration Resistor R23 causes the MCU to select the internal oscillat...

Страница 13: ...MCU These signals are also available on connector J1 Hardware flow control signals RTS0 and CTS0are also routed from the transceiver to the MCU Serial communications signals RXD1 TXD1 RTS1 and CTS1 a...

Страница 14: ...tton Switches Two pushbutton switches provide momentary active low input for user applications Pull ups internal to the MCU must be enabled to provide error free switch operation Pushbutton switches S...

Страница 15: ...anges as the thumb wheel is turned The potentiometer is connected between VDD and GND with the center tap providing the divider output This center tap is connected to the MCU on signal AN0 The potenti...

Страница 16: ...2 AN1 GPT0 13 14 AN2 GPT1 15 16 AN3 QSPI_DOUT 17 18 AN4 QSPI_DIN 19 20 AN5 QSPI_SCLK 21 22 AN6 QSPI_CS0 23 24 AN7 UTXD0 25 26 SCL TRXD0 27 28 SDA URTS0 29 30 GPT2 UCTS0 31 32 GPT3 IRQ4 33 34 DTIN0 VRH...

Страница 17: ...Demonstration Board for Freescale MCF5211 Rev 1 Freescale Semiconductor 17 THIS PAGE IS INTENTIONALLY BLANK...

Страница 18: ...specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters that may be provided in Freescale Semiconductor data sheets and or spe...

Отзывы: