OptimaUserManual.pdf - 第67页

OPTIMA PROM SOF TW AR E Opti ma User M anual 61 32-Bit Byte0…Byte3 This option is used to split a 32- bit data file into four 8-bit data files. To split a 32-bi t data file into four 8-bit data files, foll ow this eig ht…

100%1 / 151
OPTIMA PROM SOFTWARE
Optima User Manual
60
16-Bit Even and Odd
This option is used to split a 16-bit data file into two 8-bit data files.
To split a 16-bit data file into two 8-bit data files, follow this four step process:
1. Select the 16-bit data file that is to be split into two 8-bit files, select 16-Bit Even,
and load the file.
All the even data bytes will be loaded into the Optima Ram Buffer (as shown in
bold below).
2. Program the 8-bit memory device.
3. Repeat the file download operation, but select 16- Bit Odd.
All the odd data bytes will be loaded into the Optima Ram Buffer (shown in
italics below).
4. Program the second 8 bit memory device.
Example 5: 16-Bit Even and Odd
File Data Optima Ram Buffer Optima Ram Buffer
16-Bit Even Selected 16-Bit Odd Selected
$A000, (8-Bit file one) Address Data Data
00 01 02 03 04 05 06 07 0000 00 01
0001 02 03
$A008, 0002 04 05
08 09 0A 0B 0C 0D 0E 0F 0003 06 07
0004 08 09
$A010, 0005 0A 0B
00 11 22 33 44 55 66 77 0006 0C 0D
0007 0E 0F
$A018, 0008 00 11
88 99 AA BB CC DD EE FF 0009 22 33
000A 44 55
000B 66 77
000C 88 99
000D AA BB
000E CC DD
000F EE FF
OPTIMA PROM SOFTWARE
Optima User Manual
61
32-Bit Byte0…Byte3
This option is used to split a 32-bit data file into four 8-bit data files.
To split a 32-bit data file into four 8-bit data files, follow this eight-step process:
1. Select the 32-Bit data file that is to be split into four 8-bit files, select 32-Bit Byte
0, and load the file. Data bytes D0-D7 will be loaded into Optima Ram Buffer
(shown in bold).
2. Program the first 8-bit memory device.
3. Repeat the file download operation, and select 32-Bit Byte 1.
Data bytes D8-D15 will be loaded into the Ram Buffer (shown in italics).
4. Program the second 8-bit device.
5. Repeat the file download operation, and select 32-Bit Byte 2.
Data bytes D16-D23 will be loaded into the Ram Buffer (shown in underline).
6. Program the third 8-bit device.
7. Repeat the file download operation a forth time, and select 32-Bit Byte 3.
Data bytes D24-D31 will be loaded into the Ram Buffer (shown in regular).
8. Program the fourth 8-bit device.
Example 6: 32-Bit Byte0…Byte3
File Data Ram Buffer
Byte 0 Byte 1 Byte 2 Byte 3
$A000, Address Data Data Data Data
00 01 02 03 04 05 06
07 0000 00 01 02 03
0001 04 05 06 07
$A008, 0002 08 09 0A 0B
08 09 0A 0B 0C 0D 0E
0F0003 0C 0D 0E 0F
0004 00 11 22 33
$A010, 0005 44 55 66 77
00 11 22 33 44 55 66
77 0006 88 99 AA BB
0007 CC DD EE FF
$A018,
88 99 AA BB CC DD EE
FF
OPTIMA PROM SOFTWARE
Optima User Manual
62
32-Bit Low and High Word
This option is used to split a 32-bit data file into two 16-bit data files.
To split a 32-bit data file into two 16-bit data files, follow this four step process:
1. Select the 32-bit data file to be split into two 16-bit files, select 32-Bit Low Word
and load the file.
All the low-order data words will be loaded into Optima Ram Buffer (shown in
bold).
2. Program the 16-bit memory device.
3. Repeat the file download operation, and select 32-Bit High.
All the high order data words will be loaded into the Ram Buffer (shown in
italics).
4. Program the second 16-bit device.
Example 7: 32-Bit Low and High Word
File Data Optima Ram Buffer Optima Ram Buffer
Low Word Selected High Word Selected
$A000, Address Data Data
00 01 02 03 04 05 06 07 0000 00 02
0001 01 03
$A008, 0002 04 06
08 09 0A 0B 0C 0D 0E 0F 0003 05 07
0004 08 0A
$A010, 0005 09 0B
00 11 22 33 44 55 66 77 0006 0C 0E
0007 0D 0F
$A018, 0008 00 22
88 99 AA BB CC DD EE FF 0009 11 33
000A 44 66
000B 55 77
000C 88 AA
000D 99 BB
000E CC EE
000F DD FF