E2KEY™ FUNCTION
The SBC-370 provides an E
2
KEY™ function for system integrators. Based on the E
2
KEY
function, you can freely store the ID Code, Password, or Critical Data in the 1Kbit
EEPROM. Because the EEPROM is nonvolatile memory, you don't have to worry about
losing important data.
The E
2
KEY is based on a 1Kbit EEPROM which is configured to 64 words(from 0 to 63).
You can access (read or write) each word at any time.
The E
2
KEY utility is provided on a CD-ROM with your system. The software utility will
include four files as follows:
•
README.DOC
•
E2KEY.OBJ
•
EKEYDEMO.C
•
EKEYDEMO.EXE.
The E2KEY.OBJ provides two library functions for you to integrate your application
with the E
2
KEY function. The read_e2key and write_e2key libraries are written and
compiled in C language. To implement it, refer to the functions below:
*/unsigned int read_e2key(unsigned int address):
This function will return the E
2
KEY's data at a
certain address. The address range is from 0 to 63. Return data is one word,16 bits.
*/void write_e2key(unsigned int address,unsigned data):
This function will write the given data to
E
2
KEY at a certain address. The address range is from 0 to 63. The data value is from 0
to 0xffff.
To begin using this function, refer to the included EKEYDEMO.C code.
Note:
The E
2
KEY function is based on the parallel port. Therefore, you should enable
SBC-370's parallel port or it will not work.
Features
10