Datasheet
ZEUS Embedded Linux Development Kit Quickstart ZEUS Development Kit example programs
© 2007 Eurotech Ltd Issue C 36
ZEUS Development Kit example programs
The Development Kit CD includes some example programs that show the use of ZEUS
board. They can be found in the /examples directory in the CD.
You can also use the utilities in the arcom-utils package as a reference while
developing your application. This package and its source can be found in
packages/arcom-utils/ directory on the CD. The utilities available and the functionality
they provide are:
• devmem2: a simple program that demonstrates how to read from, and write to, any
location in memory.
• rtc-alarm: provides a simple example of how to setup the RTC to generate an
alarm at a particular time.
• pxaregs: a simple utility to read and modify the registers on a PXA2xx XScale
processor.
• zeus-sleep.sh: provides an example script to put a ZEUS board into sleep mode.
• mtd-unlock and mtd-lock: locks or unlocks an mtd device respectively.
• i2c-regs: reads from and writes to the registers on devices on the I²C bus.
The following modem control utilities and scripts are also available in the
modem-utils-zeus package:
• zeus-modem-on.sh: enables the modem
• zeus-modem-off.sh: disables the modem
• zeus-modem-power.sh: toggles the power to the modem
• queryserial: a utility that sends commands to a serial port and returns a reply.
Further information on these utilities can be found in the README file in the package.
A MAKEFILE is provided to assist in building them from the sources.