Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.15 KB

File metadata and controls

20 lines (15 loc) · 1.15 KB

STM32G0B1xx flash driver

According to the reference manual STM32G0B1xx has different page size depends on flash size:

Up to 512 Kbytes of Flash memory (Main memory):

  • up to 64 Kbytes for STM32G031xx and STM32G041xx / STM32G051xx and STM32G061xx
  • up to 128 Kbytes for STM32G071xx and STM32G081xx
  • up to 512 Kbytes for STM32G0B1xx and STM32G0C1xx
  • Page size: 2 Kbytes
  • Subpage size: 512 bytes

So, we have 512 Kbytes dual-bank device.

The main memory is:

Area Name hex address Size
Bank 2 Page 383
Page 258-382
Page 257
Page 256
0x0807 F800 - 0x0807 FFFF
...
0x0804 0800 - 0x0804 0FFF
0x0804 0000 - 0x0804 07FF
2 KByte
...
2 KByte
2 KByte
Bank 1 Page 127
Page 2-126
Page 1
Page 0
0x0803 F800 - 0x0803 FFFF
...
0x0800 0800 - 0x0800 0FFF
0x0800 0000 - 0x0800 07FF
2 KByte
...
2 KByte
2 KByte