MDK-ARM Keil, MDK-ARM Datasheet - Page 71

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Getting Started: Building Applications with RL-ARM
First Project - ICMP PING
In order to understand how RL-TCPnet works, we will make a simple example
that connects a microcontroller to a LAN. We can then check that it is working
by using the Internet Control Message Protocol (ICMP) to PING the board.
The PING project consists
of the startup code and a
module
source code. We must then
add the RL-TCPnet library.
Next, add the configuration
file
low-level Ethernet driver
EMAC.c
Ethernet drivers for a wide range of ARM processor-based microcontrollers.
The configuration file can be found in
drivers for supported devices are located in
The
RL-TCPnet features that we want to use. For this project, we need to define the
basic network parameters. We can enter a fixed IP address, subnet mask,
network gateway, and DNS servers in the same way that we would configure a
PC for a LAN.
The RL-TCPnet also supports DHCP. If DHCP is enabled, the microcontroller
retrieves its IP, subnet, gateway and DNS addresses from a DHCP server on the
local network.
Whether we use fixed IP addresses or retrieve them from the DHCP server, we
must provide an Ethernet Media Access Controller (MAC) address. This is the
station address for the Ethernet network and it must be unique. During
development, you can use a “made up number”, but when you produce a real
product, it must contain a unique MAC address. This is discussed in more detail
at the end of this chapter.
Net_Config.c
net_config.c
. RL-TCPnet comes with fully configured
main.c
to hold our
and the
is a template file that allows us to quickly and easily enable the
C:\KEIL\ARM\RL\TCPNET\SRC
C:\KEIL\ARM\RL\TCPNET\DRIVERS
. The Ethernet
.
71

Related parts for MDK-ARM