cancel
Showing results for 
Search instead for 
Did you mean: 

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

JSteg.1
Associate

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.

1 REPLY 1
Uwe Bonnes
Principal III

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