cancel
Showing results for 
Search instead for 
Did you mean: 

stm32g0b1 dual flash bank address ambiguity

encoder
Visitor

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 ?Screenshot from 2024-07-30 08-24-28.png

0 REPLIES 0