Skip to main content
Graduate II
November 12, 2024
Solved

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

  • November 12, 2024
  • 2 replies
  • 899 views

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?

    This topic has been closed for replies.
    Best answer by Wadeva

    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.


    2 replies

    WadevaAuthor
    Graduate II
    November 15, 2024

    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? 

    WadevaAuthorAnswer
    Graduate II
    January 17, 2025

    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.