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 Data
0000040 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:
BIN
Style: HEX
Save to buffer:
LS Byte first
Split serial number:
checked
Split gap:
1 byte(s)
S/N fragment size:
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.
100
Summary of Contents for DATAMAN-40PRO
Page 7: ...Quick Start Introduction 7...
Page 12: ...Quick Start 12...
Page 15: ...Detailed description Detailed description 15...
Page 16: ...DATAMAN 448PRO2 16...
Page 29: ...DATAMAN 48PRO2 DATAMAN 48PRO2C DATAMAN 48PRO2 DATAMAN 48PRO2C 29...
Page 44: ...DATAMAN 40PRO 44...
Page 53: ...DATAMAN MEMPRO DATAMAN MEMPRO 53...
Page 60: ...Setup 60...
Page 71: ...PG4UW PG4UW 71...
Page 138: ...PG4UWMC 138...
Page 148: ...Common notes 148...
Page 159: ...Troubleshooting and warranty Troubleshooting and warranty 159...