Versions Compared

Key

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

...

Anchor
_Toc452148557
_Toc452148557
Figure 9.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 9.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 9.2: Serialization options can be selected here.

Anchor
_Toc452148497
_Toc452148497
9.2 Serial Number Display Format

...

Anchor
_Toc452148559
_Toc452148559
Figure 9.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 9.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 9.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.

...

Anchor
_Toc452148560
_Toc452148560
Figure 9.4: Seen in the Main GUI, this serialization status box will display the current device's serial number and the next serial number to be programmed.

Anchor
_Toc452148506
_Toc452148506
9.8 Serialization Report Dialog Screen

...

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

Anchor
_Toc452148507
_Toc452148507
9.9 Serial Number Input File

...

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

9.10 Example Output

The screenshot below shows the example output of using the SN input file from Section 9.9.

...

The output above can be generated using the following setup shown in Figure 9.8 In this case the SN will be written to address 0x08001000; however this destination address can be changed at any time without modifying the SN input file or other settings.

...