This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Read Unique ID

I'm starting a project with STM32F103VB ARM base MCU. How could I Read 96 bit unique ID and manipulate in my software for security and make unique MCU based software.

Parents Reply Children
  • Yes, but then it's normally enough to select a chip with copy-protection, where the chip blocks JTAG and other interfaces from reading out the code from the flash memory.

    What actual advantage do you expect to get from your unique serial number, except for the possibility of having the unit send in this serial number to a server for inventory management reasons?

  • OK Dear Per, I put my hands off, although the project defined so, but I accept your quotes,
    Best Regards.

  • It's always best when the requirements specifications focuses on what problems that needs to be solved, instead of hard-coding exactly how the problems should be solved.

    That gives the R&D engineers some options to find the best solution instead of having to implement complex or expensive solutions that might not even end up working very well.

    Code read-protect makes it harder to duplicate a product.
    A unique serial number doesn't make it harder to duplicate the product. It only makes it easier to spot that there are duplicated serial numbers on the market - assuming that the devices reports to a common server that can spot the excess registrations. And having large, but sparse, numbers can make the server spot invalid numbers that doesn't follow the secret formula. But it doesn't stop people from creating duplicates that uses the same ID.

    But the important thing here is that the CPU doesn't know that it isn't alone to use a specific ID, in case there exists thousands of devices with identical number. It isn't until the devices talks with a server that the duplication can be caught.

    So without networking, that serial number is only good for denying warranty if someone sends in a unit with a false ID, or if the service department receives multiple units that uses the same ID. In the field, it takes networking to get any advantage of the serial number. Or that your device is connected to a computer and you mail out a certificate to that computer that is matching the serial number inside the connected device.