Skip to main content
Visitor II
November 11, 2020
Question

Does the STM32L412 on-chip bootloader have access to the UID?

  • November 11, 2020
  • 1 reply
  • 582 views

I've checked with the normal programming method (openocd stlink) and I can read the 12 bytes at address 0x1fff5790 just fine but when trying to access it via the bootloader I'm getting a protected memory area access failure.

I have another part 32F042 and that does read OK at it's UID address of 0x1ffff7ac using the bootloader.

Is this just not possible via the 32L412 bootloader or is there another way?

Best regards.

    This topic has been closed for replies.

    1 reply

    Graduate II
    November 11, 2020

    The bootloader knows a "Read Memory command". So you should be able to query the UID.