Page 42
The actual programming can be triggered by clicking the
Program button in the Mass production dialog
window.
The function of this button is identical to the Program all
or Program all except data memory options
depending on the state of the Don't program data
EEPROM checkbox in the Mass production window.
This dialog window also displays a counter of devices
programmed. Depending on the program settings, the
counter can also be displayed in the status bar. For
further information on settings see Production
Programming Settings.
The counter displays the number of programmed devices
in both the mass production mode and the standard
mode.
Pressing the Counter reset button zeroes all the mass
production counters. This operation cannot be undone.
The choice "Auto programming" causes that the device is
programmed after it has been connected, the connection
test is done by reading the Device ID.
The programming can be launched by connecting
external power supply (VDD).
When the "Open this form after start" setting is enabled,
the form opens after program start or after project file
open, if it is used.
5.4.3 Serial Numbers
The Serial Numbers function programs the serial number
or another sequence of characters in the selected
memory location.
Once the serial numbers are activated and their type set
up under Options ➙ Program settings ➙ Serial
numbers, a window with the current serial number opens
offering the possibility to manually write a serial number
in the memory HEX editor, to specify where it should be
written and if the system should proceed to the next
sequential number.
Serial numbers can be:
• Computed
The computed serial numbers must always be written in
the same selected position in the device such as the
code/main memory, data memory or an ID position, for
example. The serial number is always expected to be a
number in decimal or hexadecimal format and may be
coded as a 4-bit combination (one to four characters per
word) or as an ASCII character (one or two ASCII
characters per word). If the code/main memory is used for
Microchip microcontrollers, you can choose RETLW
instructions. Then RETLW instructions are written in the
given address of the code/main memory together with a
parameter corresponding with the serial number.
• TakenfromFile
A single serial number can be distributed in more than