cancel
Showing results for 
Search instead for 
Did you mean: 

Executing a Program Spanning Both Bank 1 and Bank 2 on STM32G0

Wadeva
Associate III

I have a structure that starts from my own bootloader, and I want to jump to the application. My question is similar to the one in this thread: Is it possible to keep dual bank active and executing the whole FLASH?  

I am using the STM32G0B1RE microcontroller. If I put my program starting at an address in Bank 1 and continue through Bank 2, will it work without any issues?

1 ACCEPTED SOLUTION

Accepted Solutions
Wadeva
Associate III

I finally found related answer in this thread. Thanks for the help: Dual bank issue on stm32G0B1RCT6 

So either i should disable dualbank feature or disable prefetch.


View solution in original post

2 REPLIES 2
Wadeva
Associate III

I plan to adjust my Flash memory structure based on the feedback I receive. If my program starts at 0x800A000 and ends at 0x801B000 (Bank1 finishes in 0x800F7FF and Bank2 starts at 0x800F800), could using both Bank 1 and Bank 2 cause any unexpected issues or behaviors? 

Wadeva
Associate III

I finally found related answer in this thread. Thanks for the help: Dual bank issue on stm32G0B1RCT6 

So either i should disable dualbank feature or disable prefetch.