cancel
Showing results for 
Search instead for 
Did you mean: 

Is dual bank flash configuration available for STM32H743xxxx?

VViro.1
Associate

In STM32F7 dual/single bank configuration is available. It can be done using nDBANK bit of FLASH_OPTCR register. 

Ref link: https://www.st.com/resource/en/application_note/dm00266999-stm32f7-series-flash-memory-dual-bank-mode-stmicroelectronics.pdf

For STM32H7, FLASH_OPTCR register is not having nDBANK bit. So, is there any way to use flash with single bank mode for STM32H7?

4 REPLIES 4
TDK
Guru

No, the STM32H7 is always in dual bank mode. But this is just an organizational thing. It shouldn't prevent you from using the flash however you want.

If you feel a post has answered your question, please click "Accept as Solution".
VViro.1
Associate

@TDK​  Thanks for the reply, but will it allow to create (and execute) a single binary having size > 1MB?

TDK
Guru

Yes. It's still contiguous memory. No issue with that. Just define it as a single section in your linker file with capacity 2MB.

If you feel a post has answered your question, please click "Accept as Solution".
berendi
Principal

For the sake of completeness,

STM32H743xI has 2 banks of 1 MByte each forming a contiguous flash memory area, so there would be no issues with a single binary spanning both banks.

STM32H743xG has 2 banks of 512 kByte each mapped to non-contiguous addresses, there is a 512 kByte hole between the two banks.