User's Program; Communication Ports; Uart0, Uart1, Uart2 Ports; 10/100T Ethernet Port - Motorola M5271EVB User Manual

Table of Contents

Advertisement

1.3.6

User's Program

JP6 on the 16Mbit FLASH (U10) or JP7 if using 32Mbit FLASH (U11) allows users to test
code from boot/POR without having to overwrite the ROM Monitor.
When the jumper is set between pins 1 and 2, the behavior of the system is normal, dBUG
boots and then runs from 0xFFE00000 (0xFFC00000). When the jumper is set between
pins 2 and 3, the board boots from the top half of the FLASH (0xFFF00000).
Procedure:
1. Compile and link as though the code was to be placed at the base of the flash.
2. Set up the jumper JP6 (JP7 for U11) for Normal operation, pin1 connected to pin 2.
3. Download to SDRAM (If using serial or ethernet, start the ROM Monitor first. If
using BDM via a wiggler cable, download first, then start ROM Monitor by
pointing the program counter (PC) to 0xFFE00400(0xFFC00400) and run.)
4. In the ROM Monitor, execute the 'FL write <dest> <src> <bytes>' command.
5. Move jumper JP6 (JP7 for U11) to pin 2 connected to pin 3 and push the reset
button (SW3). 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,
2
I
C port, 10/100T ethernet port, and BDM/JTAG port.
1.4.1

UART0, UART1, UART2 Ports

The MCF5271 device has three built in UARTs, each with its own software programmable
baud rate generator. These UART interfaces are brought out to RS232 transceivers. One
channel is the ROM Monitor to Terminal output and the other two are available to the user.
The ROM Monitor programs the interrupt level for UART0 to Level 3, priority 2 and
autovector mode of operation.
Refer to the MCF5271 User's Manual for programming the UART's and their register
maps.
1.4.2

10/100T Ethernet Port

The MCF5271 device performs the full set of IEEE 802.3/Ethernet CSMA/CD media
access control and channel interface functions. The MCF5271 Ethernet Controller requires
an external interface adaptor and transceiver function to complete the interface to the
ethernet media. The MCF5271 Ethernet module also features an integrated fast (100baseT)
Ethernet media access controller (MAC).
Chapter 1. M5271EVB Introduction
Communication Ports
1-13

Advertisement

Table of Contents
loading

Table of Contents