Skip to main content
Visitor II
May 20, 2024
Solved

STM32C011F6U6TR Boot Mode Selection Problem

  • May 20, 2024
  • 1 reply
  • 1066 views

Hello, I will use STM32C011F6U6TR in a project.
Since I need to program with USART, I think I need to use the "boot from system memory" mode in BOOT mode, am I right?

As written on the datasheet, there are 3 modes. When switching between these modes on Bluepill boards, there are 2 BOOT pins and we were selecting the mode by setting these pins to 0 and 1.

There is 1 BOOT pin on this processor and it refers to something called "boot selector option bit". I don't understand what exactly is the boot selector pin and how to control it. The datasheet is also quite incomplete in this regard.

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    Welcome @ekremturanfirat, to the community!

    If you want to programme via UART, the easiest way would actually be via the system memory.

    Of the three modes listed in the data sheet, only two are generally of interest to the user:

    • boot from User flash memory --> the normal start of your own programme
    • boot from System memory --> start of the integrated boot loader

    The boot selector option bit is described together with the functionality of the boot loader in the application notes AN2606 and especially for the UART boot loader in AN3155.

    Hope that helps?

    Regards
    /Peter

    1 reply

    Technical Moderator
    May 21, 2024

    Welcome @ekremturanfirat, to the community!

    If you want to programme via UART, the easiest way would actually be via the system memory.

    Of the three modes listed in the data sheet, only two are generally of interest to the user:

    • boot from User flash memory --> the normal start of your own programme
    • boot from System memory --> start of the integrated boot loader

    The boot selector option bit is described together with the functionality of the boot loader in the application notes AN2606 and especially for the UART boot loader in AN3155.

    Hope that helps?

    Regards
    /Peter

    Visitor II
    May 22, 2024

    Hello sir, this answer helped me a lot.

    Thank you for your help