866 B&K Precision, 866 Datasheet - Page 123

PROGRAMMER UNIV W/ USB INTERFACE

866

Manufacturer Part Number
866
Description
PROGRAMMER UNIV W/ USB INTERFACE
Manufacturer
B&K Precision
Type
Universalr
Datasheets

Specifications of 866

Contents
Programmer, Adapter, Cable, Manual and Software
For Use With/related Products
EPROM, EEPROM-Flash, Serial EPROM, Microcontroller & PLD
Other names
866BK
Q2005647

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
866
Quantity:
2 950
Part Number:
866+++
Quantity:
1 480
Part Number:
866590-0950
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
8669-001
Manufacturer:
TOSHIBA
Quantity:
6 222
Part Number:
866B509
Manufacturer:
BOM
Quantity:
894
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
microcontroller. This number can be used as an entry
code, password, or ID number.
Serialization is done by using a series of RETLW (Return
Literal W) instructions, with the serial number bytes as
the literal data. To serialize, you can use Incremental
mode serialization or From file mode serialization.
Incremental serialization offers serial number Split
function. Serial number split allows usage of incremental
numbers separated into even or odd bytes and between
each byte of serial number RETLW instruction code is
inserted.
From file serialization is using proprietary serial numbers
file. This file can consist of various serial numbers. The
numbers can have format suitable for SQTP that means
number RETLW b1 RETLW b2 and so on. Note that
PG4UW serial file format is not compatible with SQTP
serial file generated by Microchip MPLAB.
Device PIC16F628 has 14 bit wide instruction word.
Instruction RETLW has 14-Bit Opcode:
Description
RETLW
where xx can be replaced by 00 and k are data bits, i.e.
serial number byte
Opcode of RETLW instruction is hexadecimal 34KKH
where KK is data Byte (serial number byte)
Let’s
1234ABCDH as part of four RETLW instructions to
device PIC. The highest Byte of serial number is the most
significant Byte. We want to write the serial number to
device program memory at address 40H. Serial number
split us very useful in this situation. Serialization without
serial number split will write the following number to
buffer and device:
Address Data
0000080
assume
a
Return with literal in W
CD AB 34 12 xx xx xx xx xx xx xx xx xx xx xx xx
unique
we
123
want
serial
to
MSB
11 01xx
write
number
14-Bit word LSB
serial
kkkk
into
number
kkkk
each

Related parts for 866