User`s guide

www.uTasker.com
µ
Tasker – AT91SAM7X Tutorial
V1.4
uTaskerV1.4_SAM7X.doc/0.03 3/36 31.07.2009
1. Introduction
µTasker is an operating system designed especially for embedded applications where a tight
control over resources is desired along with a high level of user comfort to produce efficient
and modular code.
The operating system is integrated with TCP/IP stack and important embedded Internet
services alongside device drivers and system-specific project resources.
µTasker and its environment are essentially not hardware specific and can thus be moved
between processor platforms with great ease and efficiency.
However the µTasker project setups are very hardware specific since they offer an optimal
pre-defined (or a choice of pre-defined) configurations, taking it out of the league of “board
support packages (BSP)” to a complete “project support package (PSP)”, a feature enabling
projects to be greatly accelerated.
This tutorial will give you a flying start to using the µTasker on the ATMEL AT91SAM7X. It
can be fully simulated using VisualStudio 6.0 or higher and can be run on the various
common evaluation boards (specific configurations for the ATMEL AT91SAM7X-EK and
OLIMEX SAM7X-EX256 are discussed in more detail), for which Rowley CrossWorks, IAR,
Keil uVision and GCC project configurations are available. Building the project using GCC is
included as an optional post-build step when working in VisualStudio, but debugging with the
GNU tool chain is not discussed. Generally a JTAG debugger should be used together with
the chosen development environment. When no target debugging is involved, the generated
code can also be loaded via the debug port or USB with the ATMEL SAM-BA program, which
is detailed later on in the tutorial.
This tutorial uses the IAR compiler to illustrate building the project for the target but other
compilers and their environments are basically equivalent.
Therefore there should be nothing standing in your way to getting your first, powerful
embedded IP project up and running.
This version of the SAM7X tutorial has been adapted for the µTasker V1.4 version including
new graphical LCD support, which is also illustrated here.
For more µTasker documentation, including a guide to using the USB capabilities of the
SAM7X project visit: http://www.utasker.com/docs/documentation.html
Note further that MODBUS support (serial and TCP) is available as an extension pack
for the SAM7X – see the MODBUS user’s guide for full details:
http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF