Skip to main content
Visitor II
Apr 4, 2024 2:15 AM UTC
Question

How to write Product serial number in STM32H7

I am making a product and trying to write a serial number. After looking into it, I heard that I can use the unique device ID to write the serial number, but I understand that the unique device ID is read-only. I am curious as to whether the previous method is the correct way to apply the serial number. This is my first time making a product and I want to apply a serial number, but I don't know how.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
Apr 4, 2024 3:11 AM UTC

Write your own into an area of flash outside of the program or into OTP

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
PatrickF
ST Employee
Apr 4, 2024 6:51 AM UTC

Hi @jink 

Unique ID is written by ST during production (so, it is read only). If it fit your needs you could use it or build your own and write it elsewhere in the Flash (e.g. using EEPROM emulation)

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent