Skip to main content
Associate II
June 22, 2023
Solved

Bootloader Get Version Command on STM32F407VGT6

  • June 22, 2023
  • 1 reply
  • 2490 views

Hello, 

I used BOOT0 and BOOT1 to reboot in System Memory in order to use the embedded bootloader. 
I wanted to use the Get Version Command (i saw it in AN3155). I first sent 0x7F to initialize the communication with the bootloader.
Then, i sent 0x01 and 0xFE. And there is what i receive : 

Capture STM32_2.PNGFirst ACK is responding to 0x7F, the second one to 0x01 + 0xFE.
Then i'm supposed to get the version (0x31 = 3.1) 
And then 2 options bytes 0x00. 
As you can see, i can have only one, the second one is 0x01 finishing by an ACK. And there i've got 0x96 and 0xFF. 
I don't really understand, did i miss something ? 
There is the sequence of the Get Version Command from device side : 

Capture STM32_3.PNG



Thanks.

Regard,

Cyril Campanella.

    This topic has been closed for replies.
    Best answer by Cyril C

    For people working on it, i had good configuration of BOOT pins but my serial monitor wasn't configure well, 
    i used another one to display in hex, and configure parity as even, 1 stop bit, and 8 data bits then it worked

    1 reply

    Cyril CAuthorBest answer
    Associate II
    June 28, 2023

    For people working on it, i had good configuration of BOOT pins but my serial monitor wasn't configure well, 
    i used another one to display in hex, and configure parity as even, 1 stop bit, and 8 data bits then it worked

    Associate
    November 3, 2023

    Hi, 

    I am trying to do the same. But when I sent the 0x7F I received a NACK. Could you share your code with me? only that part so I can compare? I do not understand what is falling. 

    I really appreciate any help you can provide.