2021-08-10 07:04 AM
Hello,
I am working on the STM32F103xx. I need to read out the 96 bit UDID (unique device ID) of the devices during production. Is there any way of reading this out from the serial bootloader on UART1 or through the SWD interface?
I searched the AN3155 and AN2606 but could not find any details.
I do not want to flash a temporary firmware just to read it out and then overwrite it again. Nontheless it no other solution is possible I guess its an ugly workaround. It needs to be automated. So using CubIDE is not possible.
Thanks
Solved! Go to Solution.
2021-08-10 07:29 AM
SWD can also do it easily.
STM32_Programmer_CLI.exe -c port=swd --upload 0x1FFFF7E8 12 uid.bin
2021-08-10 07:16 AM
The Read Memory command in the bootloader can read this.
2021-08-10 07:29 AM
SWD can also do it easily.
STM32_Programmer_CLI.exe -c port=swd --upload 0x1FFFF7E8 12 uid.bin
2021-08-10 07:31 AM
Perfect, thank you!
2023-11-25 10:55 AM
Hello,
in which document is this address actually described/noted?
2023-11-25 12:04 PM
For the F1 RM0008 "Unique device ID register (96 bits)"