cancel
Showing results for 
Search instead for 
Did you mean: 

Is serial number in the device is given during manufacturing time or can user customize it? How can it be customized?

BThom.1
Associate II

0693W000006FPYCQA4.jpg

5 REPLIES 5
Peter BENSCH
ST Employee

When available (some STM32 don't offer it) it is a fixed number that is uniquely determined during the manufacturing process. It's not customizable.

When your question is answered, please close this topic by choosing Select as Best.

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank You.

Is the serial number customizable for STM32WB55RG and STM32F373CC? From where can we get that number if it is uniquely determined during manufacturing process? Is it available in datasheet or can it be read using STM32Cube?

Yes, the so-called Unique Device ID is also available in the STM32WB55 and the STM32F373. The corresponding section in the reference manual contains a description of this, e.g. for the STM32WB55 (search for unique to find it quickly):

Unique device ID register (96 bits)

The unique device identifier is ideally suited:

  • for use as serial number (USB string serial number, or other end applications)
  • for use as part of the security keys, to increase the security of code in Flash memory while using and combining this unique ID with software cryptographic primitives and protocols before programming the memory
  • to activate processes such as secure boot.

The 96-bit unique device identifier provides a reference number, unique for a given device and in any context. These bits cannot be altered by the user.

The reference manual also contains the address from which you can obtain this information.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

It is in a block of memory you can read with a pointer.

If you need your own write one into OTP, EEPROM or FLASH which has the sequence, length and form you want.

The one available would be useful for salting hashes in a device unique way.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

It wouldn't be unique if the user could customize it.

If you feel a post has answered your question, please click "Accept as Solution".