Keil™, An ARM® Company

RL-ARM User's Guide

Example Programs

The RL-ARM kit includes several example programs that are configured for ARM® devices.

The example programs are in the \Keil\ARM\RL\...\Examples\ and \Keil\ARM\Boards\<vendor>\<board>\RL\... folders. Each example program is stored in a separate folder along with project files that help you quickly build the projects and run the programs.

To begin using one of the example projects, use the µVision®3 Project —> Open Project menu and load the project file.

You can review the following projects when you start using RL-ARM:

ExampleComponentDescription
RTX_ex1RL-RTXA very simple program to control 2 tasks and to pass signals between the tasks.
RTX_ex2RL-RTXA more complex program to control 4 tasks and to pass signals between the tasks.
BlinkyRL-RTXA simple LED flasher program to demonstrate Kernel I/O control.
MailboxRL-RTXThe Mailbox task inter-communication example program. Fixed size messages are sent using fixed memory block management functions.
MeasureRL-RTXA data acquisition example program. The measure application is split into several tasks for easy control of the application.
TrafficRL-RTXA program that controls a traffic light.
RoundRobinRL-RTXDemonstrates Round-Robin task switching.
SemaphoreRL-RTXDemonstrates how to use a shared resource (a UART) from different tasks using a semaphore.
File_ex1RL-FlashFSA program that creates and manipulates the SRAM files.
HTTP_demoRL-TCPnetAn embedded Web Server demonstration program. This example shows you how to create web pages and use a CGI interface.
Telnet_demoRL-TCPnetAn embedded Telnet Server demonstration program. This example shows you how to build a command-line interface and control an embedded device using Telnet.
TFTP_demoRL-TCPnet
RL-FlashFS
A file transfer over TCP/IP demonstration program. It uses a TFTP Server which manipulates files from the Flash File System.
SMTP_demoRL-TCPnetA program that sends an e-mail using SMTP Client application.
DNS_demoRL-TCPnetA program that resolves the IP address from a host name using the DNS Client application.
LEDSwitchRL-TCPnetA control embedded system from C++ application over TCP/IP to switch LED diodes on and off.
LEDSwitch\
Client
RL-TCPnetA control embedded system from another embedded system over TCP/IP to switch LED diodes on and off. This program replaces the C++ control application from the LEDSwitch example.