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
Step: 1
S/N mode:
Style:
Save to buffer:
Split serial number:
Split gap:
S/N fragment size:
BIN
HEX
LS Byte first
checked
1 byte(s)
1 byte(s)
Split settings described above mean split of serial number by bytes to buffer at every second
byte. The correct serial number is set tightly before device programming operation starts.
The buffer content of serial number when programming the first device will be:
Address Data
0000040
34CD 34AB 3434 3412 xxxx xxxx xxxx xxxx
The second device will have:
Address Data
0000040
34CE 34AB 3434 3412 xxxx xxxx xxxx xxxx
Next devices will have same format of serial number, of course incremented by 1 for each
device.
Example 2.b
Use of serialization split with NOP instructions for Microchip PIC24FJ256 devices
Device PIC24FJ256 has 24 bit wide instruction word. Instruction NOP has code 00xxxxh.
Let's assume we want to use serialization in the same manner as SQTP serialization
specified in Microchip MPLAB?:
We can do this by following steps:
A) Write NOP instructions (00xxxxh) at address 800h to main buffer of PG4UW. This can be
done by hand editing buffer or by loading file with proper content. The address 800h in
PG4UW buffer is equivalent to PIC24Fxxx Program memory address 200h. For more details
look at Device information in PG4UW for PIC24FJ256 device.
77
相关PDF资料
84702-0008 CONN RECEPT ETHERNET 8-8 PNL MNT
848A MEMORY PROGRAMMER PARALLEL INTER
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
862015-1 6 POS RECEPTACLE
相关代理商/技术参数
845 功能描述:程序设计器 - 基于通用和内存 REORD 615-865 UNIV. WITH SOFTWARE RoHS:否 制造商:Xeltek 产品:Universal Device Programmers 工具用于评估:EPROM, Parallel/Serial EEPROM, FPGA, PROM, Flash, BPROM, MCUs, PLD Devices 接口类型:Parallel, USB 工作电源电压:90 VAC to 250 VAC
845 1 1/2"X15YD 功能描述:SCOTCH BOOK TAPE 845 1-1/2 IN X 制造商:3m 系列:* 零件状态:在售 标准包装:24
845 3"X15YD 功能描述:SCOTCH BOOK TAPE 845 3 IN X 15 Y 制造商:3m 系列:* 零件状态:在售 标准包装:12
845 4"X15YD 功能描述:SCOTCH BOOK TAPE 845 4 IN X 15 Y 制造商:3m 系列:* 零件状态:在售 标准包装:8
845 PRO4 制造商:Micro-Star International 功能描述:845 P4 S478 SDRAM LAN - Bulk
845 PRO4-L 制造商:Micro-Star International 功能描述:845 P4 SKT478 ATX SDRAM - Bulk
845 ULTRA 制造商:Micro-Star International 功能描述:845 SKT-478 P4 DDR ATX AUD - Bulk
845 ULTRA-DF 制造商:Micro-Star International 功能描述:845 SKT-478 P4 DDR ATX AUD - Bulk