Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Anchor
_Toc452148557
_Toc452148557
Figure 8.1: If an MCU already contains serialization information at a specified location then a conflict window will appear giving the user the option to retain the old serial number, or program in a new one.

The Serialization Dialog screen, shown in Figure 8.2, allows the user to configure how serialization is done. Serialization can be enabled, or disabled, by selecting the check mark in the ENABLE Serialization check-box. When serialization is disabled all edit lines and check boxes are disabled. When serialization is enabled, most fields have to be set to ensure that the result will be as the user expects. The necessary fields include:

...

Anchor
_Toc452148558
_Toc452148558
Figure 8.2: Serialization options can be selected here.

Anchor
_Toc452148497
_Toc452148497
8.2 Serial Number Display Format

...

  1. YYYY-1234(5) - (SN Format F0) Serial number has 8 or 9 characters depending on other settings. First four characters specify the year, and the remaining 4 or 5 characters specify the serial number up to a maximum of:

    1. 9999 - when BCD memory format is selected, or if Ascii format with Decimal radix is selected (i.e. 20039999).

    2. 0xFFFF (65535) - when HEX memory format is selected, or if Ascii format with Hex radix is selected (i.e. 2003aab0).

  2. YYMM-1234(5) - (SN Format F1) Serial number has 8 (BCD) or 9 (HEX) characterscharacters depending on other settings. First two characters specify the last two digits of the year, next two characters specify the month, and the remaining 4 or 5 characters specify the serial number up to a maximum of:

    1. 9999 - when BCD memory format is selected, or

    65535 respectively, e.g. 03059999 or 030565535
    1. if Ascii format with Decimal radix is selected (i.e. 03059999).

    2. 0xFFFF (65535) - when HEX memory format is selected, or if Ascii format with Hex radix is selected (i.e. 0305aab0).

  3. YYMMDD-1234 - (SN Format F5) Serial number has 10 characters. First six characters contain date (year, month, day of month) and remaining 4 characters specify the serial number, e.g. 1205309999.

  4. YYDDD-1234(5) - (SN Format F4) Serial number has 9 (BCD) or 10 (HEX) characters. First five characters contain date (year, day of year from 1 to 366) and remaining 4 or 5 characters specify the serial number up to a maximum of 9999 or 65535 respectively, e.g. 123559999 or 1235565535.

  5. 12345678 - (SN Format F2) 8 digit serial number without date stamp. The maximum value is 99999999.

  6. 1234(5) - (SN Format F3) 4 (BCD) or 5 (HEX) digits serial number without date stamp. The 4 or 5 characters specify the serial number up to a maximum of 9999 or 65535.

  7. Custom - (SN Format F6) 4 to 256 ASCII characters or hexadecimal numbers entered manually or from the Bar-Code Reader.

  8. from File - (SN Format F7) 4 to 256 ASCII characters or hexadecimal numbers taken from a user created file.

...

Anchor
_Toc452148559
_Toc452148559
Figure 8.3: This window will appear when there is a conflict between memory allocated to code and the SN. To avoid this pop-up, select the option to "Remove code contents in the location where the serialization and model are defined" in Figure 8.2.
The location in the target device's flash memory where the SN will be stored is specified in the \Memory Location - SN Start Address in Memory" field of the serialization dialog screen (see Figure 8.3). Specified address must be even and should be specified in empty memory space, not used by program code or data block. However, if you'd like to integrate the SN with existing code, by programming the SN to a code location, then check the box Remove code contents in the location where the serialization and model are defined .
The SN memory formats will be described in the following subsections.

...


The Device Serialization box, located on the main programming dialog screen shown in Figure 4.1 and isolated in Figure 8.4), contains SN and model information. The first two read-only lines contain information taken from the target device during the read process. The first line shows the Model/Group/Revision text and the second line shows the SN. The following two lines contain SN and model information that will be programmed next generated automatically according to the Serialization setup.
The current target's SN and model information can be read at any time by pressing the "READ / COPY" button located in the main dialog shown in Figure 4.1.

Anchor
_Toc452148560
_Toc452148560
Figure 8.4: Seen in the main dialog window, this serialization status box will display the current device's serial number and the next serial number to be programmed.

Anchor
_Toc452148506
_Toc452148506
8.8 Serialization Report Dialog Screen

...

Anchor
_Toc452148561
_Toc452148561
Figure 8.5: Serialization report gives a summary of all the serial numbers programmed using the selected file.

Anchor
_Toc452148507
_Toc452148507
8.9 Serial Number Input File

...

Anchor
_Toc452148562
_Toc452148562
Figure 8.6: Serial numbers read from a file.