Skip to main content
infoinfo978
Associate II
October 7, 2011
Question

Is there a unique ID available to read from each MCU?

  • October 7, 2011
  • 13 replies
  • 5112 views
Posted on October 07, 2011 at 11:21

Hello,

I'd like to know if there is a unique ID available on each STM32F10x, that can be read from ROM, and that can not be changed by the user.

I would like to realise a copy-protection function with that ID.

if yes, can you please show how to read this ID on a STM32F107VC?

thanks and best regards!
    This topic has been closed for replies.

    13 replies

    Tesla DeLorean
    Guru
    October 13, 2011
    Posted on October 13, 2011 at 15:40

    >Does the 107 have a different system rom address?

     

    I guess not, ROM starts @ 0x8000000 and  ROM size is 0x40000

     

    That's the FLASH, the ROM is typically situated at 0x1FFFF000, just below the RAM. On parts with larger ROMs (ie ones booting USB) I think they can start at 0x1FFFB000.

    If some of the parts don't have a Unique ID it would be useful for someone at ST to step in here and confirm that. Also the full markings on the top of the device would be helpful in isolating the exact die/production details.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Artur1
    Associate III
    October 13, 2011
    Posted on October 13, 2011 at 15:45

    I don't heart about it, maybe it is so. I've found the way how to see the memory with the RLink debugger they are the results which I've got read:

    1FFFF7E0 -> 00

    1FFFF7E1 -> 01

    that a lof of FF's

    1FFFF7F6 -> FC

    1FFFF7F6 -> FF

    From

    1FFFF7F8 to 1FFFF801 values differ from FF

    But nothing on the desired address as documented.

    Artur1
    Associate III
    October 13, 2011
    Posted on October 13, 2011 at 16:17

    There is the Chip Marking:

    STM32F107

    VCT6         Z

    990MF   VC

    MYS  99 961