
Example Applications
2
Example Applications
The example applications show how to utilize features of the EK-LM4F232 evaluation board. Exam-
ples are included to show how to use many of the general features of the Stellaris microcontroller,
as well as the feature that are unique to this evaluation board.
A number of drivers are provided to make it easier to use the features of the EK-LM4F232. These
drivers also contain low-level code that make use of the Stellaris peripheral driver library and utili-
ties.
There is an IAR workspace file (
ek-lm4f232.eww
) that contains the peripheral driver library
project, along with all of the board example projects, in a single, easy-to-use workspace for use
with Embedded Workbench version 5.
There is a Keil multi-project workspace file (
ek-lm4f232.uvmpw
) that contains the peripheral
driver library project, along with all of the board example projects, in a single, easy-to-use
workspace for use with uVision.
All of these examples reside in the
examples/boards/ek-lm4f232
subdirectory of the firmware
development package source distribution.
2.1
Bit-Banding (bitband)
This example application demonstrates the use of the bit-banding capabilities of the Cortex-M3
microprocessor. All of SRAM and all of the peripherals reside within bit-band regions, meaning that
bit-banding operations can be applied to any of them. In this example, a variable in SRAM is set to
a particular value one bit at a time using bit-banding operations (it would be more efficient to do a
single non-bit-banded write; this simply demonstrates the operation of bit-banding).
2.2
Blinky (blinky)
A very simple example that blinks the on-board LED.
2.3
Boot Loader Demo 1 (boot_demo1)
An example to demonstrate the use of a flash-based boot loader. At startup, the application will
configure the UART and USB peripherals, and then branch to the boot loader to await the start
of an update. If using the serial boot loader (boot_serial), the UART will always be configured at
115,200 baud and does not require the use of auto-bauding.
This application is intended for use with any of the three flash-based boot loader flavors (boot_serial
or boot_usb) included in the software release. To accommodate the largest of these (boot_usb),
the link address is set to 0x2800. If you are using serial, you may change this address to a 1KB
boundary higher than the last address occupied by the boot loader binary as long as you also
rebuild the boot loader itself after modifying its bl_config.h file to set APP_START_ADDRESS to
the same value.
February 22, 2017
7
Содержание EK-LM4F232
Страница 4: ...Table of Contents 4 February 22 2017...
Страница 6: ...Introduction 6 February 22 2017...
Страница 16: ...Example Applications 16 February 22 2017...
Страница 21: ...February 22 2017 21...