User manual
ELNEC s. r. o.
Save to buffer option specifies the serial value byte order to write to buffer. This option is
used for Bin S / N mode (for ASCII mode it has no effect).
Two options are available:
• LSByte first (used by Intel processors) will place the Least Significant Byte of serial
number to the lowest address in buffer.
• MSByte first (used by Motorola processors) will place the Most Significant Byte first to the
lowest address in buffer.
Split serial number at every N byte(s)
The option allows dividing serial number into individual bytes and placing the bytes at each
Nth address of buffer. This feature is particularly useful for example for Microchip PIC devices
when the device serial number can be the part of program memory as group of RETLW
instructions. The example of using serial number split is listed in section Examples bellow as
example number 2.
Example:
Example 1:
Write serial numbers to AT29C040 devices at address 7FFFAH, size of serial number is 4
bytes, start value is 16000000H, incremental step is 1, the serial number form is binary and
least significant byte is placed at the lower address of serial number in device.
To make above described serialization following settings have to be set in Serialization
dialog:
Mode: Incremental mode
S/N size: 4 bytes
S/N mode:: Bin
Style: Hex
Save to buffer: LS Byte first
Address: 7FFFCH
Start value: 16000000H
Step: 1
Following values will be written to device:
The 1st device
Address Data
007FFF0 xx xx xx xx xx xx xx xx xx xx xx xx 00 00 00 16
The 2nd device
Address Data
007FFF0 xx xx xx xx xx xx xx xx xx xx xx xx 01 00 00 16
The 3rd device
Address Data
007FFF0 xx xx xx xx xx xx xx xx xx xx xx xx 02 00 00 16
etc.
”xx” mean user data programmed to device
Serial numbers are written to device from address 7FFFCH to address 7FFFFH because
serial number size is 4 bytes.
Example 2:
Following example shows usage of SQTP serialization mode when serial number is split into
RETLW instructions for Microchip PIC16F628 devices.
114