Maxim Integrated OneWireViewer, Version 1.5 User Manual

Page 20

Advertising
background image

EPROM Programming

iButton and 1-Wire devices that are one-time-programmable (OTP) incorporate technology called electrically programmable read only memory (EPROM). EPROM
programming requires 12V programming for writing. Although all adapters can read an EPROM iButton, only adapters with EPROM programming capability can write
to them.

NetAdapter

The NetAdapter is a virtualized 1-Wire adapter. Using TCP/IP protocol, it is possible for the OneWireViewer to communicate through a 1-Wire adapter attached to
another PC, as long as both PCs are connected through a TCP/IP network. Another requirement is that the other PC must be running a small host program, such
as the "StartNetAdapterHost" demo program found in the

1-Wire API for Java Software Development Kit

. It is recommended that suitable software drivers for the 1-

Wire adapter be installed on the host PC, such as the

1-Wire Drivers

. For a more in-depth discussion on this, please see application note 193, "

Extending 1-Wire

Range with Network Proxies

."

On the host PC where the 1-Wire adapter of interest resides, the StartNetAdapterHost Java program should be run from a command line. This is done by simply
copying the program and the OneWireAPI.jar file to a directory and typing the following example command-line parameters:

java -cp .;OneWireAPI.jar StartNetAdapterHost -adapterName {DS9490} -adapterPort USB1 -listenPort 6161 -secret secret

This sets up the host program to communicate to a DS9490 on USB1 and allows NetAdapter connections to it through the TCP/IP port of 6161 with the secret set to
"secret". Then, on the client OneWireViewer, simply set up the NetAdapter as shown in the screen shot below. In the "Adapter Name" field, type in "NetAdapter". In
the "Adapter Port" field, type in the IP address of the host computer, the TCP/IP socket port number, and the secret separated by colons.

Example "Pick Adapter" Window

1-Wire is a registered trademark of Maxim Integrated Products, Inc.
iButton is a registered trademark of Maxim Integrated Products, Inc.
Excel is a registered trademark of Microsoft Corporation.
Hygrochron is a trademark of Maxim Integrated Products, Inc.
Java is a registered trademark and registered service mark of Oracle and/or its affiliates.
Thermochron is a registered trademark of Maxim Integrated Products, Inc.

Related Parts

DS1411

Serial Port iButton Holder

DS2480B

Serial to 1-Wire Line Driver

Free Samples

DS2490

USB to 1-Wire Bridge Chip

DS9097U-009

Universal 1-Wire COM Port Adapter

DS9097U-E25

Universal 1-Wire COM Port Adapter

DS9097U-S09

Universal 1-Wire COM Port Adapter

DS9490

USB to 1-Wire/iButton Adapter

More Information
For Technical Support:

http://www.maximintegrated.com/support

For Samples:

http://www.maximintegrated.com/samples

Other Questions and Comments:

http://www.maximintegrated.com/contact

Page 20 of 21

Advertising