beautypg.com

Dataman 40Pro User Manual

Page 99

background image

PG4UW

99

group of RETLW or NOP instructions. For more information see Example 2 shown in
Examples section below.

Following split options are available:

Check box Split serial number – turns on/off split function

Split gap – specifies number of bytes placed between split serial number fragments
S/N fragment size – serial number is split into fragments with size specified by this
option

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.

Note: Serial quick turn programming (SQTP) is Microchip specified standard for serial
programming of Microchip PIC microcontrollers. Microchip PIC devices allows you to program
a unique serial number into each microcontroller. This number can be used as an entry code,
password, or ID number.

This manual is related to the following products: