Zilog EZ80F916 User Manual
Page 139

UM014423-0607
Using the Integrated Development Environment
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
119
Serialization
The general procedure to write a serial number to a Flash device involves the following
steps:
1. Choose a location for the serial number inside or outside of the address range defined
in the hex file.
NOTE: The serial number must be written to a location that is not being written to by the
hex file.
2. Erase the Flash device.
3. Write the hex file to the Flash device and then write the serial number
or
write the serial number to the Flash device and then write the hex file.
Use the following procedure if you want to use the serialization feature:
1. Select the Include Serial in Programming check box.
This option programs the serial number after the selected hex file has been written to
Flash.
2. Select the Enable check box.
3. Type the start value for the serial number in the Serial Value field and select the Dec
button for a decimal serial number or the Hex button for a hexadecimal serial number.
4. Type the location you want the serial number located in the Address Hex field.
5. Select the number of bytes that you want the serial number to occupy in the # Bytes
drop-down list box.
6. Type the decimal interval that you want the serial number incremented by in the
Increment Dec (+/-) field. If you want the serial number to be decremented, type in a
negative number. After the current serial number is programmed, the serial number is
then incremented or decremented by the amount in the Increment Dec (+/-) field.
7. Select the Erase Before Flashing check box.
This option erases the Flash before writing the serial number.
8. Click Burn Serial to write the serial number to the current device or click Program
or Program and Verify to program the Flash memory with the specified hex file and
then write the serial number.
If you want to check a serial number that has already been programmed at an address, do
the following:
1. Select the Enable check box.
2. Type the address that you want to read in the Address Hex field.