cancel
Showing results for 
Search instead for 
Did you mean: 

Which is the flash configuration of STM32 H7 42 xG ?

Mr_M_from_G
Senior

Data sheet says: (ch 3.3.1 on page 26)

• A user Flash memory block of 512 Kbytes (STM32H7xxxG) or 1-Mbyte (STM32H7xxxI)

containing eight user sectors of 128 Kbytes (4 K Flash memory words)

which is missing a clear statement for the xxxG variant.

Is it four sectors of 128kbytes or 8 sectors of 64kbytes?

Thanks a lot

Martin

4 REPLIES 4
Mr_M_from_G
Senior

Meanwhile I have xxxG on my hardware and checked it with STLink. That says it has 2M flash.

So it seems it is guaranteed to have four sectors of 128kbytes, maybe it will be 8 sectors.

There are a finite set of die being used for these products. Low cost parts being delivered with things turned off, and portions left untested.

The width/size of the flash can depend on the banking options, ie if they have dual banks placed end-to-end, or interleaved side-by-side.

You should check the Option Bytes

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Evangelist III

The "sector" here means erase block, which is always 128 Kbytes (not 64).

The "flash word" here is 32 bytes so 4K "words" is again 128 Kbytes.

-- pa

Mr_M_from_G
Senior

This is still unclear even in the currently available data sheet.

STMs website for STM32H7 says that all STM32H742xG have only 1MB Flash while data sheet stm32h742vg.pdf = DS12110 Rev 7 says on page 54 it is 2MB for I and G versions.

Should be clearla documented

How about the RAM sizes?

Thanks

Martin