MCB2470 Examples
HTTP with Ethernet
DO NOT RECOMPILE THIS EXAMPLE WITHOUT AN
RL-ARM LICENSE
This example demonstrates easy networking and control of
hardware across a TCP/IP network. It configures the LAN
network parameters for the evaluation board automatically if a
DHCP server is available in your LAN. Otherwise, configure your
PC for fixed IP address as detailed in the example.
Flash File System
DO NOT RECOMPILE THIS EXAMPLE WITHOUT AN
RL-ARM LICENSE
This example enables you to create, read, copy and delete files
from an SD/MMC flash memory card on the evaluation board.
It can be downloaded from:
http://www.keil.com/download/docs/380.asp
It can be downloaded from:
http://www.keil.com/download/docs/379.asp
To use this example:
n Start m Vision
n Open the Http_demo.uv2 project file and download to Flash
Project - Open
Flash - Download
n Open your web browser and enter the address http://mcb2470
n Log in with the following details:
To use this example:
n Connect the MCB2470 board’s UART RS232 port to the
COM1 port on your PC via a serial cable and start a
hyperterminal session configured for 115200 baud, 8 bits, no
parity, 1 stop bit, XON/XOFF.
n Start m Vision
n Install an SD/MMC flash memory card and power up the board
Username
Password
admin
leave blank
The web pages allow you to control and monitor various
functions of the board such as LEDs and push buttons.
n Open the SD_File.uv2 project file and download to Flash
Project - Open
Flash - Download
n The SD/MMC card can now be read or edited from the Debug
window using a HyperTerminal via a serial cable from your PC
to the evaluation board.
USB - HID Demo
This USB example project implements a Human Interface Device
(HID). Connect the PC to the board with a USB A (PC side) to
mini-B (board side) cable. Fit jumper on the top position of J37 to
configure the USB connection on the board as a Device (B-type).
J37
USB mini-B
Connector
The example can be found at:
C:\Keil\ARM\Boards\Keil\MCB2470\USBHID
You also need the USB Client application located at:
C:\Keil\ARM\Utilities\HID_client\Release
To use this example:
n Start m Vision, open the HID.uv2 project and download to Flash
n Cycle power the target and run the USB Client application
Keil MCB2470 HID
n Select the evaluation board from
the drop-down menu
n Checking or unchecking the boxes
in the Output (LEDs) group turns
the MCB2470 Board’s LEDs 1 to 4
on and off
n Inputs (Buttons) show the status
of the on-board buttons 1 to 4
Blinky example with RTX
This example implements a step-motor driver application using
the RTX Real-Time Kernel. Four LEDs blink simulating the
activation of the four output driver stages.
It can be found at:
C:\Keil\ARM\Boards\Keil\MCB2470\RTX_Blinky
To use this example:
n Start m Vision
n Open the Blinky.uv2 project file
Project - Open
n Compile and link the application, then program it into on-chip
Flash ROM
Project - Build Target
Flash - Download
n The LEDs will begin to flash in a controlled manner
n The tasks running in the application may be viewed from the
debugger window
Peripherals - RTX Kernel
www.keil.com