Key
\M
(backslash uppercase M)
– Set EEPROM Read/Write Address. The \M
command is followed by a 6 digit Hex Address specifying the next EEPROM address to
be read/written. Example: \M000030 would specify address 30 (hex) as the next
read/write address.
Key
\m
(backslash lowercase m)
– Report EEPROM Read/Write Address. The next
EEPROM read/write address will be returned followed by a carriage return. Example: \m
might return 0001FF<CR> meaning the next byte to be read/written is 0001FF hex.
Key
\R
(
backslash uppercase R
) – Read hex data from EEPROM. The \R command is
followed by a 2 digit hex number specifying the number of bytes to read. The contents of
each EEPROM byte will be returned as a two digit hex number terminated with a
carriage return.
Example:
\M0003FF\R04
will return the contents of EEPROM addresses 0003FF
through 000402 followed by a carriage return. The next EEPROM read/write address
would be 000403 after executing the example.
Key
\r
(backslash lowercase r) –
Read ASCII data from EEPROM. Data is read from
the EEPROM and returned as ASCII characters. The read is terminated by a carriage
return from the EEPROM data stream. The carriage return is also sent to the user.
Example: After entering some ASCII data into the EEPROM with:
\M000100\wThis is a test<CR>
\wThis is line two<CR>
\WThis is line three<CR>
\wThis is the last line<CR>
The command
\M000100\r\r\r\r
would return:
This is a test<CR>
This is line two<CR>
This is line three<CR>
This is the last line<CR>
Key
\W
(
backslash uppercase W
) – Write hex data to EEPROM. The \W command is
followed by one or more pairs of hex characters representing the byte(s) to be written. A
carriage return terminates the write. The carriage return is NOT written into the
EEPROM.
Example:
\M0000FF\W416243<CR>
will put the ASCII string “AbC” into bytes
0000FF through 0000102 of the EEPROM memory. The next EEPROM read/write
address would be 0000103 after the execution of the example. Note that the <CR> was
NOT written to the EEPROM.
Copyright © 2008 by iButtonLink LLC
iButton and 1-Wire are trademarks of Dallas Semiconductor Corp, Dallas, Texas, USA.
8 of 17