29.1 Memory size registers
29.1.1 Flash size register
Base address: 0x1FFF F7E0
Read only = 0xXXXX where X is factory-programmed
Bits 15:0 F_SIZE: Flash memory size
This field value indicates the Flash memory size of the device in Kbytes.
Example: 0x0080 = 128 Kbytes.
29.2 Unique device ID register (96 bits)
Base address: 0x1FFF F7E8
而在F4的Reference manual中却是如下:
33 Device electronic signature
33.1 Unique device ID register (96 bits)
Base address: 0x1FFF 7A10
33.2 Flash size
Base address: 0x1FFF 7A10
Address offset: 0x00
Read only = 0xXXXX where X is factory-programmed
Bits 15:0 F_ID(15:0): Flash memory size
This bitfield indicates the size of the device Flash memory expressed in Kbytes.
As an example, 0x4000 corresponds to 1024 Kbytes.