参数资料
型号: 848A
厂商: B&K Precision
文件页数: 89/137页
文件大小: 0K
描述: MEMORY PROGRAMMER PARALLEL INTER
标准包装: 1
类型: 通用
适用于相关产品: EPROM、EEPROM 闪存、串行 EPROM、微控制器和 PLD
所含物品: 编程器、适配器、缆线、手册和软件
Example 2:
Following example shows usage of SQTP serialization mode when serial number is split into
RETLW instructions for Microchip PIC16F628 devices.
Device PIC16F628 has 14 bit wide instruction word. Instruction RETLW has 14-Bit Opcode:
Description
MSB
14-Bit word
LSB
RETLW
Return with literal in W
11
01xx
kkkk
kkkk
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 assume we want to write serial number 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
0000080
Data
CD AB 34 12 xx xx xx xx xx xx xx xx xx xx xx xx
Note: address 80H is because buffer has byte organization and PIC has word organization
so it has equivalent program memory address 40H. When buffer has word organization x16,
the address will be 40H and number 1234ABCDH will be placed to buffer as following:
Address
0000040
Data
ABCD 1234 xxxx xxxx xxxx xxxx xxxx xxxx
We want to use RETLW instruction so buffer has to be:
Address
0000040
Data
34CD 34AB 3434 3412 xxxx xxxx xxxx xxxx
We can do this by following steps:
A) write four RETLW instructions at address 40H to main buffer (this can be done by hand
editing buffer or by loading file with proper content). The bottom 8 bits of each RETLW
instruction are not important now, because serialization will write correct serial number bytes
at bottom 8 bits of each RETLW instruction.
The buffer content before starting device program will look for example as following:
Address
0000040
Data
3400 3400 3400 3400 xxxx xxxx xxxx xxxx
8 bits of each RETLW instructions are zeros, they can have any value.
B) Set the serialization options as following:
S/N size:
4 Bytes
Address: 40H
Start value:
1234ABCDH
89
相关PDF资料
PDF描述
85506-0001 CONN MOD JACK VERT 8-8 HI-SPEED
85507-0001 CONN MOD JACK VERT 8-8 SHIELDED
85508-0001 CONN MOD JACK VERT 8-8 SHIELDED
85508-5001 CONN MOD JACK 8POS T/H HI SPEED
85511-0001 CONN MOD JACK VERT 8-8 HI-SPEED
相关代理商/技术参数
参数描述
848A-2 制造商:CRZT 功能描述:
848A6 制造商:Crouzet 功能描述: 制造商:Crydom 功能描述:
848AB-01 制造商:ONSEMI 制造商全称:ON Semiconductor 功能描述:Electronic versions are uncontrolled except when accessed directly
848-AG10D 功能描述:IC 与器件插座 DIP 48 POS GOLD T/H RoHS:否 制造商:Molex 产品:LGA Sockets 节距:1.02 mm 排数: 位置/触点数量:2011 触点电镀:Gold 安装风格:SMD/SMT 端接类型:Solder 插座/封装类型:LGA 2011 工作温度范围:- 40 C to + 100 C
848-AG10D-ES 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:DIP SOCKET 800 SERIES