Reference Manual for the ARM® Compiler
Tool Chain v4.1 for μVision
Introducing
the ARM Compiler toolchain
Using the Linker
Using ARM® C and C++
Libraries and Floating-Point Support
ARM® C and C++
Libraries and Floating-Point Support Reference
Linker Reference
Using the fromelf Image Converter
Creating Static
Software Libraries with armar
Errors and Warnings
Reference
Migration and
Compatibility
Assembler Reference
Compiler Reference
Using the Assembler
Using the Compiler
RealView®
Real-Time Library
The correct way to build the directory for uVision projects is
ValvanoWare
(you can choose any name for this directory)
driverlib
inc
SimpleProject_1968asm (downloaded
project from Valvano)
YourLabProject
(solutions to your labs)
This is an example assembly project with two source code files
How to install Keil
uVision for the Arm, MDK-Lite (32KB)
Edition. It does not require a serial number or license key.:
1) Go to https://www.keil.com/demo/eval/arm.htm
Enter your contact information with valid address, phone and
email (use your official UT email address),
Company = University of Texas,
devices=TI,
architecture=Cortex-M3
Click submit
2) Right-click on MDK454.EXE and save it to your computer
3) Install
Texas Instruments Stellarisware
has lots of example files (it is free)
1) Go to http://www.ti.com/tool/sw-lm3s
2) Click get software
3) Create an account at Texas Instruments (use your official UT email address)
4) Certify you are not going to export the software to other countries
5) company web site is www.utexas.edu
6) end application: I put other=”education” use “Educational lab experiments”
7) Download and install.
Install Drivers for the LM3S/LM4F
board on Windows XP or Windows 7
machine
0) Make sure Keil is NOT running
1) Place the CD (from the kit) into the drive
2) Hit cancel when it tries to autoload
3) Plug the USB cable into the board and into the PC. (choose
your favorite USB socket and continue to use it)
4) Windows will complain it does not have the driver, can't find it. Click
cancel for options it wishes to try
5) Open the Control Panel -> Device Manager (not printers)
6) Look for Stellaris devices (there will be two of them without drivers)
7) For each of the two devices doubleclick on
Stellaris device and select UpdateDriver
Browse for the driver on the CD
The device manager should show no errors for the two
Stellaris devices
Install Drivers
for the LM3S board on a Windows 8 machine
0) Make sure Keil is NOT running
1) Place the CD (from the kit) into the drive
2) Hit cancel when it tries to autoload
3) Plug the USB cable into the board and into the PC. (choose your favorite USB socket and continue to use it)
4) Windows will complain it does not have the driver, can't find it. Click cancel for options it wishes to try
5) Search for "Device Manager" (not printers) in metro UI. You can find the icon in the settings tab.
Alternately, open Control Panel and search for "Device Manager"
6) Look for Stellaris devices (there will be two of them without drivers)
7) For each of the two devices, right click on Stellaris device and select UpdateDriver
Browse my computer for the driver software
Set your CD driver as the searching location and press next.
The device manager should show no errors for the two Stellaris devices
8) From the Metro Start Screen, open Settings (move your mouse to the bottom-right-corner of the screen and wait for the pop-out bar to appear, then click the Gear icon). Click ‘Change PC Settings’.
(Your
computer will restart in the next steps, save everything you need to and
remember the last steps before restarting)
9)
Click ‘General’. Scroll down, and click ‘Restart now’ under ‘Advanced
startup’. Wait a bit. Click ‘Troubleshoot’. Click ‘Advanced Options’
Click
‘Windows Startup Settings’
Click
Restart.
10)When your computer restarts, select ‘Disable driver
signature enforcement‘ from the list.
Install Drivers
for the LM3S/LM4F board on a Window's machine (without a CD Drive)
1) Make sure Keil is NOT running.
2) Download "Stellaris EKK-LM3S1968.zip" (487Meg file) from Blackboard.
3) Extract to folder “Stellaris EKK-LM3S1968/”.
4) Plug the USB cable into the board and into the PC. (choose your favorite USB socket and continue to use it)
5) If Windows asks for Drivers,
a) Select Browse Computer for Driver Software.
b) Browse to location of Stellaris EKK-LM3S1968/ folder and Select the folder. (Do not open the folder)
c) Make sure "Include all sub-directories” is checked/ticked.
d) Install drivers for all the driver by repeating steps a, b & c.
6) If it does not pop-up, go to “Control Panel>Device Manager” and look for any unidentified Stellaris Hardware.
a) Right click on the device and select Update Driver.
b) Select Browse Computer for Driver Software.
c) Browse to location of Stellaris EKK-LM3S1968/ folder and Select the folder. (Do not open the folder)
d) Make sure "Include all sub-directories is checked/ticked.
e) Install drivers for all Stellaris devices by repeating steps a, b & c.
Send comments to: Jonathan W. Valvano
Embedded Systems: Example files for the ARM
Cortex-M3
Volume 1,
Introduction to ARM Cortex-M3 Microcontrollers (second edition),
ISBN: 978-1477508992
Textbook for EE319K, Available from Amazon
Available
from CreateSpace, Lecture and Lab Material, List of first
edition errors
Assembly language and introduction to interfacing for the Stellaris LM3S811 LM3S1968 and LM3S8962
Volume 2, Real-Time Interfacing to the ARM Cortex-M3, 2011, ISBN: 978-1463590154,
Textbook for EE445L, Available from Amazon Available from CreateSpace Lectures Lab manual List of errors
Interfacing and system design for the Stellaris LM3S811 LM3S1968 and LM3S8962
Volume 3, Real-Time Operating Systems for the ARM Cortex-M3, 2012, ISBN: 978-1466468863,
Textbook for EE345M/EE380L.6, Available on Amazon Available on CreateSpace List of errors
Operating systems, signal processing and network design for the Stellaris LM3S811 LM3S1968 and LM3S8962
ARM uVision Page http://www.keil.com/arm/realview.asp
Starter files http://users.ece.utexas.edu/~valvano/arm/