cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4R: How do Flash Option DBANK and DB1M interacts?

Uwe Bonnes
Principal III

In FLASH_OPTR, both DBANK and DB1M are r/w and have no restrictions beside that PCROPA/B needs to be disabled.

For 1M device there are two(?) sensible settings

  • DBANK=1, DB1M = 1 for 1Myte dual bank continous mode
  • DBANK=0, DB1M = 0 for 1Myte single bank continous mode

Can for a 1 M byte device

  • DBANK=1, DB1M = 0 get active? Evtentually with Flash from 0x08000000 to 0x0808000 and from 0x0810000 to 0x08180000?

What would DBANK=0, DB1M = 0 mean for a 1 MB device?

And does a DB1M have influence on a 2 MB device?

Some clarification welcome!

1 ACCEPTED SOLUTION

Accepted Solutions
DerekR
Senior

Hate to respond to a 2.5 year old thread, but I recently had the same question and received an answer so I am linking this thread to that one in case someone comes across this one day.

https://community.st.com/s/question/0D53W00001L1bh4SAB/difference-between-user-option-bits-db1m-and-dbank-stm32l4r9

View solution in original post

1 REPLY 1
DerekR
Senior

Hate to respond to a 2.5 year old thread, but I recently had the same question and received an answer so I am linking this thread to that one in case someone comes across this one day.

https://community.st.com/s/question/0D53W00001L1bh4SAB/difference-between-user-option-bits-db1m-and-dbank-stm32l4r9