Skip to main content
PScal
Associate II
April 27, 2023
Solved

How does the single bank mode operate exactly?

  • April 27, 2023
  • 2 replies
  • 1758 views

If have read the RM0456 and could not found a detailed description.

If I switch the option byte DUALBANK to 0 single-bank mode, what will happen if I access a address which is normally supposed to be in bank 2? Do I get a memory access error?

So is my assumption correct?

That would mean switching on the single bank mode of a 2MB device, I can only used 1MB of the first bank?

best regards

P.

This topic has been closed for replies.
Best answer by Diane POMABIA

Hi @PScal​ 

If you switch the option byte DUALBANK to 0 single-bank mode and try to access to an address which is normally supposed to be in bank 2, you will have an hardfault.

Q: That would mean switching on the single bank mode of a 2MB device, I can only used 1MB of the first bank?

R: yes

Regards

DianeP

2 replies

Diane POMABIABest answer
ST Employee
April 27, 2023

Hi @PScal​ 

If you switch the option byte DUALBANK to 0 single-bank mode and try to access to an address which is normally supposed to be in bank 2, you will have an hardfault.

Q: That would mean switching on the single bank mode of a 2MB device, I can only used 1MB of the first bank?

R: yes

Regards

DianeP

PScal
PScalAuthor
Associate II
April 27, 2023

Thanks for the great and fast answer: @DianeP

Viktor POHORELY
ST Employee
November 14, 2025

Hello, just to clarify some possible misunderstanding.

On STM32U575xI, there is only DUAL BANK available.

On STM32U575xG, both SINGLE and DUAL BANK are available.