2024-07-29 10:27 PM
Hi
i have STM32G0B1KE
i was configuring the cube-eeprom-v7 emulation to use the last two pages from bank2 to store some configuration.
when i came to set `START_PAGE_ADDRESS` i need the address of the second last page.
reading in the 'Table 11. Flash memory organization for 512 Kbytes dual-bank devices' in RM0444 Rev 5 I see that the last page start address is 0x0807F804 , is this correct or it should be 0x0807F800?
because the last page size is slightly less than 2K in size and since i need the second last address i usually subtract 0x800 from the last address, so what is the address for the second last page? is it 0x0807F004 or 0x0807F000 ?
Solved! Go to Solution.
2024-07-30 04:24 AM
It's a clear typo. Should be 0x0807F800 which means the second to last page starts at 0x0807F000.
2024-07-30 04:24 AM
It's a clear typo. Should be 0x0807F800 which means the second to last page starts at 0x0807F000.