"SecureKey91.exe"
Readme
Introduction
SecureKey91.exe is an example program that reads/writes the DS1991
iButton. It contains 3 password-protected memory areas (called
"subkeys" or "secure subkeys").
This particular example was written in Microsoft Visual Basic 6.0.
Operation
To run the SecureKey91.exe program, double-click on the
"SecureKey91.exe" file. This runs the program. The main
window of the program will appear containing a text box and 3
buttons. The top of the text box shows which 1-Wire adapter and
port is being used as the "Default" adapter and port. To change
the "Default" adapter and port, please look in the 1-Wire Drivers
folder under "Program Files" and find the "Default 1-Wire Net"
icon. Double-clicking this icon will allow the user to select
from the different available 1-Wire adapters and ports.
The 3 buttons on the main window of MemoryBanks.exe are titled
"Find and set all DS1991s' passwords", "Write the secure subkeys", and
"Read the secure subkeys". Clicking on "Find and set all DS1991s'
passwords" will set the passwords of the three subkeys to the
hard-coded password, "password", with the hard-coded id of "ds1991id".
Clicking on "Write the secure subkeys" button writes the hard-coded
buffer "testing 123" to each subkey. Finally, clicking on the
"Read the secure subkeys" button will read the secure subkeys and print
the contents to the text box.
Files
Form1.frm
- The main
window form file. Contains most of the VB code.
Readme.html - This file.
SecureKey91.exe - A program to read/write 1-Wire "Memory Banks".
SecureKey91.vbp - The Visual Basic project file.
SecureKey91.vbw
- The Visual Basic workspace file.
globals.bas
- A VB code module containing global variables used
in the program.