|
|
| There are new tutorials and related information at the website
for the book Practical Embedded Java. These newer tutorials are based on the
Eclipse IDE and Ant, rather than JBuilder. All new tutorials will be posted there, at least
until the book is published. |
|
JStamp/JStik/SaJe
Development & Setup Tutorials |
| Please note that all
these developmen tools tutorials apply equally well to JStamp, JStik,
SaJe, and other aJile aJ80- or aJ100- based realtime Java systems.
All our native Java systems use the same tools. The differences are
handled in JemBuilder conifgurations and Charade device selections. |
| Required hardware |
You need some target
device hardware such as a JStamp Development Kit, and the JTAG programming
and debugging hardware. |
Collect the files
you need
See www.PracticalEmbeddedJava.com for the most current Java Tools information
|
What you need and the links to get
them. (Licensing restrictions prevent us from including all of the
files you need on your tools CDROM.) |
Install Java tools
This is the OLD tutorial for JBuilder. See below for the new version using Eclipse. |
Also applies to JStik, SaJe and other
aJile systems. Shows how to install and configure JBuilder, javaxcomm,
J2ME CLDC, aJile JemBuilder and Charade, etc. |
| Install Java
tools. This is the current tutorial using Eclipse and
Ant |
http://www.practicalembeddedjava.com/tools/javatools.html |
| Use the JTAG
programming and byte-code debugging interface |
Plug everything together, power it
up and talk to it with the JTAG debugger. This checks the hardware
and aJile tools installation. |
| Use the JSWAT source level debugger
interface (photo) |
Here's a PDF of a presentation given to the CS4710 class |
Tips on creating new JBuilder projects
This is the OLD tutorial for JBuilder |
How to set up JBuilder paths and options
for smooth sailing |
| Tips on using Eclipse |
Setting up Eclipse project paths and other tips. |
| General Info & tips |
The difference between aJ-80 and aJ-100,
etc. |
| Charade tips
and problems |
Understanding Charade debugger messages
such as "BIST Fail", script files, etc |
|
JStamp/JStik/SaJe
Tutorial Programs
|
| Please note that all
these tutorial applications apply equally well to JStamp, JStik, SaJe,
and other aJile aJ80- or aJ100- based realtime Java systems. All aJ80
and aJ100 systems share the same controller core and Java edition,
profile and configuration support. They differ only in their I/O pin
assignments and amount and location of external memory. These differences
are handled by JemBuilder "target configurations". Over
the next few weeks we will be expanding these tutorials with specific
multi-platform configurations and instructions. At the moment there
is basic information here about building for different target devices.
|
| New Tutorials at PracticalEmbeddedJava |
Blink Level One at http://www.practicalembeddedjava.com/tutorials/BlinkLevelOne.html |
| Blink
JStamp LED |
Blink the JStamp heartbeat LED. Very
simple first program |
| SerialEcho |
Use javxcomm to receive serial data
on any JStamp/JStik/SaJe com port RXD line, echo it back out the same
com port TXD line, and print the hex value and ASCII char in Charade. |
| Systronix Utils Package |
Common utilities, usable on many of our Java systems |
|
JStamp/JStik/SaJe
App Notes
|
| App notes are less tutorial
in nature and generally consist of a JAR file including all the
source code, documents and related files but without a step-by-step
building, programming, and downloading procedure. |
| LEGO®
Arm |
Control a Lego Mindstorms two-axis
robot arm with a JStamp development station, JCX motor board, and
an Amulet 1/4 VGA LCD touchscreen |
| Sonar
Ranger |
Dual Devantech SRF04 sonar modules
are driven by a JStamp Development Station. The trigger pulses and
echo capture are performed by JStamp counter/timer hardware. The echo
also causes an interrupt which is handled by a Java event handler.
The sonar rangefinder is usable from under 10 cm to about 3 meters. |
| Fantazein
Clock |
Drive an oscillating-wand clock with
a JStamp Development Station. The oscillating wand of the clock is
controlled by a 2 KHz (500 usec) thread. At each thread execution
tick, the LED wand must be updated. All the code is "pure Java"
-- a good illustration of the realtime capability of JStamp's native
Java engine. |
| Five-axis
Robot Arm |
This demo controls a Lynxmotion
5-axis robot arm. An Amulet Technologies graphical LCD and touchscreen
create the user interface. The LCD connects to the host controller
via 115 kbaud RS232. The arm's five R/C servos are connected to a
Scott Edwards SSCII servo control board via 9600 baud RS232. Host
software is written in Java using the standard javaxcomm serial package.
LCD code is compiled HTML. |
| JStik user-contributed
examples at Yahoo |
Users are contributing
web servers and other projects. You must be a member of the JStik
Yahoo user group to see these files (it's free and easy) at http://groups.yahoo.com/group/jstik/files/ |
| JStamp user-contributed
examples at Yahoo |
This the files area of
the JStamp Yahoo user group: http://groups.yahoo.com/group/jstamp/files/
You must join the group to access these files. |
|