Main Site Documentation

Snippet - STM32F4 Processor unique device id


#1

I just posted STM32F4 Processor unique device id on Codeshare. Feel free to discuss and make suggestions here.


#2

Very good!


#3

I made it with interop but your method is so simple I didn’t thought about it.

To be mode portable, your method should fail if the processor is not compatible.


#4

Thanks for feedback, I have updated source code, if it’s not running on Cerberus it throws NotSupportedExeception.


#5

@ JohnySeven - Good!
I found that a common use of these serial is to create a Guid.
This requires a 16 bytes array (not 12).


#6

Excellent, works in GHI. How can we read in non-GHI?


#7

https://www.ghielectronics.com/community/forum/topic?id=16970

Take a look at the code snippet to find id…


#8

@ ysoyipek - Depends of what non-GHI are you talking about.