Showing results for 
Search instead for 
Did you mean: 

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.


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

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

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)


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.