
AN3358| Application Note
OneWireViewer User's Guide, Version 1.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 mecha
nism 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)
Linux RXTX revision 2.1.x series www.ibutton.com automatic
2)
Solaris, etc. Serial Port
3)
RXTX revision 2.1.x series www.ibutton.com www.rxtx.org
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
AN3358 Application Note maxim Download PDF
Add this permalink to your bookmarks for future download of AN3358 ApplicationNote
Permalink: http://application.emcelettronica.com/maxim/AN3358