Skip to main content
Visitor II
May 27, 2021
Solved

Bootloader Versions of STM32F42xxx/43xxx

  • May 27, 2021
  • 4 replies
  • 1635 views

Hello all,

I have STM32F439 MCU.

I use STM32CubeProgrammer to program the MCU through ST Bootloader.

STM32CubeProgrammer writes:

Bootloader protocol version: 3.1

According to AN2606 (STM32 microcontroller system memory boot mode) the valid version for STM32F42xxx/43xxx are: V7.0 or V9.0 or V9.1.

Can you please advise why the reported version of Bootloader is 3.1?

Thanks in advance.

Yacob.

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

    Yes, the STM32CubeProgrammer can also show the bootloader version (better known as Bootloader Identifier or Bootloader ID).

    Just read one byte from the address given in AN2606, you will find it on page 30 with 0x1FFF76DE.

    Good luck!

    /Peter

    4 replies

    Technical Moderator
    May 27, 2021

    Please don't confuse Bootloader Protocol Version with Bootloader Version.

    You can find the Bootloader Protocol Version, which is reported by the STM32CubeProgrammer, in AN2606, table 3 (for rev48 on page 30):

    • Bootloader Version V7 (referenced with ID = 0x70):
      • USART (V3.1)
      • CAN (V2.0)
      • DFU (V2.2)
      • I2C (V1.0)
    • Bootloader Version V9.1 (referenced with ID = 0x91):
      • USART (V3.1)
      • CAN (V2.0)
      • DFU (V2.2)
      • SPI(V1.1)
      • I2C (V1.0)

    So you obviously communicated with the target via USART, right?

    Good luck!

    If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

    /Peter

    YHass.14Author
    Visitor II
    June 3, 2021

    Hello @Peter BENSCH​ ,

    Thanks for your answer.

    You are right.

    I am working via UART.

    How can I find the Bootloader version?

    Does STM32CubeProgrammer show the Bootloader version?

    Sincerely,

    Yacob.

    Technical Moderator
    June 3, 2021

    Yes, the STM32CubeProgrammer can also show the bootloader version (better known as Bootloader Identifier or Bootloader ID).

    Just read one byte from the address given in AN2606, you will find it on page 30 with 0x1FFF76DE.

    Good luck!

    /Peter

    YHass.14Author
    Visitor II
    June 3, 2021

    Hello @Peter BENSCH​ 

    Hello Peter.

    Thank you for your fast response.

    I tried it and saw the value: 0xFFFF0091 on the address 0x1FFF76DE.

    Sincerely,

    Yacob Hassidim.