STMicroelectronics AN2614 Serial Numbering Implementation Application Note

This application note provides technical details on the software and tools associated with implementing a serial numbering technique. It also provides examples and hints for serial number encoding techniques that can be applied to any ST7 microcontrollers equipped with non-volatile memory.


STMicroelectronics AN2614 Serial Numbering Implementation Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
12
File format
PDF
File size
122 KB
Published
07 August, 2012
Updated
28 September, 2023
Model
ST7
MD5 checksum
5C39D19D02C6C21B5271A881F0C285A5

About this manual

This document provides technical details on implementing serial numbering for ST7 microcontrollers. It covers various encoding techniques, such as ASCII strings or paired hex digits, and explains how to embed these numbers in the MCU's Flash memory or external EEPROM. The guide includes C language examples for programming fixed or unique serial numbers.

The note also describes the use of the STVP7 visual programming software tool for automatic serial number generation. It outlines the steps to create a project, configure programming options like read-out protection, and define serial number parameters such as address, length, and increment values.

What's inside

  • Serial number encoding techniques
  • Embedding the serial number
  • Protection against read-out
  • Getting the serial number from an external device
  • Automatic serial number generation
  • Project set-up
  • Serial number definition

Frequently asked questions

How is a serial number formatted when encoded as ASCII characters?

Each digit of the serial number corresponds to a specific hexadecimal ASCII code, such as 30h for the digit 0.

What is the maximum number of bytes reserved for a serial number in the provided example?

The example reserves exactly four bytes at the beginning of the Flash memory array.

What happens to read-out protection if it is enabled on the ST7 Flash memory?

Protection can only be removed by erasing the entire Flash memory array.

Download PDF (122 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →