1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Unique ID or serial number for ARM stm32f103rbt6

Discussion in 'ARM' started by asif45, Mar 15, 2016.

  1. asif45

    asif45 New Member

    Joined:
    Nov 24, 2015
    Messages:
    18
    Likes:
    0
    Hi

    Can anyone please tell me if there is a unique id or serial number for ARM stm32f103rbt6 microcontroller and how to find it. I need this for tracking. Any help will be really appreciated.
     
  2. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    • Like Like x 1
  3. asif45

    asif45 New Member

    Joined:
    Nov 24, 2015
    Messages:
    18
    Likes:
    0
    Thanks for your information . I used that software but it doesn't work with stm32f103rbt6. Had to download Mathlab and another 2 software just to make it Run . I searched in google for solution but didn't find any suitable for this particular microcontroller. If any1 knows any other way please let me know. I am using keil u vision . thanks
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. alec_t

    alec_t Well-Known Member Most Helpful Member

    Joined:
    Jul 10, 2011
    Messages:
    9,315
    Likes:
    1,230
    Location:
    Cardiff, Wales

    Can't you just write an ID into non-volatile on-chip memory?
     
    • Like Like x 1
  6. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    I have no idea what you are talking about with software. The unique ID is just located at a ROM address. Just read the address. It's 3 32bit integers long. Here's some code.

    https://techoverflow.net/blog/2015/02/03/reading-the-stm32-unique-device-id-in-c/
     
    • Like Like x 1
  7. asif45

    asif45 New Member

    Joined:
    Nov 24, 2015
    Messages:
    18
    Likes:
    0
    Thanks for the help guys. I got the Unique Id.
     

Share This Page