1 Wire Viewer User Manual
1 Wire Viewer User Manual
1 Wire Viewer User Manual
3
www.maxim-ic.com
INTRODUCTION
The OneWireViewer is a Java-based software package used to explore Dallas 1-Wire devices using different hardware- and software platforms. Communication with 1-Wire devices is done over a single data line, plus ground reference, using the 1-Wire protocol. The network is called 1-Wire Net or MicroLAN. 1-Wire adapters are available for serial, parallel and USB ports. Serial port adapters based on the DS2480B chip are common to all supported platforms. For Windows (32-bit) there are additional 1-Wire adapters for the serial, parallel, and USB port.
Overview
In contrast to a similar program, called iButton Viewer, the OneWireViewer is not an executable image compiled for a specific platform. Instead, it is written in Java Programming Language. The compiler generates a binary code that is portable to different platforms for which a platform-specific interpreter or Runtime Environment (RTE) exists. The presence of the RTE on the computer is a precondition for the OneWireViewer to run. The RTE can be downloaded for free from the java.sun.com website. As "pure Java" it doesn't include drivers to access a hardware communication port. Such drivers, also referred to as "native Java", can be downloaded from the www.rxtx.org website. They are available for several operating systems and support the serial port. The OneWireViewer is a "living software package", i. e., there may be updates at any time without special announcement. To ensure that the user always works with the latest version, the OneWireViewer is designed to be launched through Java Webstart, a special mechanism that is included in the Java 2 RTE, Revision 1.4.x and higher. If Webstart has internet access enabled, it will access the www.ibutton.com website and download updates to the OneWireViewer if there are any available. The same happens if the OneWireViewer is started directly from the iButton website at http://www.ibutton.com/software/1wire/OneWireViewer.html by clicking the "Launch the OneWireViewer" button. The interaction of the OneWireViewer with the other software components is illustrated in the table below. Application Launcher Engine Platform 1-Wire Port Port Driver Source Installation
1)
OneWireViewer Java Webstart (included in Java 2 RTE Revision 1.4.x and higher) Java 2 Run Time Environment Revision 1.3.x or higher (Revision 1.4.x recommended) Windows Serial, Parallel, USB TMEX Revision 3.21 www.ibutton.com manual Serial Port
1)
2)
3)
manual
Although there is a RXTX driver for Windows, this driver in its current version is known to be unstable. Therefore, as explained below, it is highly recommended to download the TMEX drivers from the www.ibutton.com website and use them instead. During installation of the OneWireViewer, a copy of the Windows RXTX serial port driver is downloaded from the iButton website at http://www.ibutton.com/software/1wire/RXTX_v2_1_win32.zip. 2) A RXTX driver for Linux can be downloaded from http://www.ibutton.com/software/1wire/RXTX_v2_1_linux.zip 3) A RXTX driver for Solaris must be created by the user. For source code, go to http://www.rxtx.org and click on Download. Then select rxtx-2.1-7pre17 or newer, "Linux" version.
1 of 47
092304
or
The short launch bar indicates that Webstart and a suitable Java 2 RTE are already installed on your computer. In this case go to Section V and follow the instructions. When done, you are ready to use the OneWireViewer. If you see the long launch bar, first Webstart and the Java 2 RTE need to be installed before you can install and launch the OneWireViewer. Follow the applicable instructions in the table below. Once Step 2 is completed, you are ready to use the OneWireViewer. Operating System 32-bit Windows, automatic installation Instructions (NOTE 1) Go to Section JA and follow the instructions. After the installation of Java Webstart and the Java 2 RTE is completed, you are back at the OneWireViewer web page, from which the installation of the OneWireViewer automatically starts, almost exactly as described in Section V. (NOTE 2) Go to Section JM and follow the instructions; you must select Windows Installation. Next go to Section V and follow the instructions. Go to Section JM and follow the instructions; you must select the appropriate version that is designed for your operating system. Next go to Section V and follow the instructions.
NOTE 1: The automatic installation may not install the latest version of Webstart and the Java 2 RTE. NOTE 2: Perform the manual installation if you prefer to get the latest version of Webstart and the Java 2 RTE or if the automatic installation failed due to unexpected changes in the structure of the http://java.sun.com/ website.
2 of 47
092304