Setting up automatic serial number

ST Visual Programmer

home.gif

Setting up automatic serial numbering


STVP can automatically generate and write serial numbers into the memory of ST microcontrollers. You define automatic serial numbering by specifying:

GENERATE/DOT_S695.gif      the memory address where to program it,

GENERATE/DOT_S695.gif      the length (in byte),

GENERATE/DOT_S695.gif      the starting value,

GENERATE/DOT_S695.gif      the step increment value.

NOTE 1: Each time you leave a project, the current serial number value is saved. It will be reloaded during the next project opening.

To set up automatic serial numbering:

  1. Click on Edit in the Project menu. The Project Edition window opens.
  2. Click on the Serial Numbering tab. The Serial Numbering dialog box opens:
  3. alt  

    NOTE: This is a Project Edition window with two types of memory areas (data memory and program memory) in the device

  4. Check the Enable Serial Numbering box.
  5. In the Start Address (Hex) field, enter the start address where to write the serial number.
  6. In the Length (in byte) field, select the number of bytes (1, 2, 4 or 8) of the serial number.
  7. In the Base Value (Hex) field, enter the starting value for the serial number.
  8. In the Step (Hex) field, enter the step increment value to apply to the serial number.
  9. Click on OK to save your changes and close the Project Edition window.

  10. prev.gif next.gif