Skip to main content
Werner Bauer
Associate II
February 6, 2017
Question

Flash update via USART

  • February 6, 2017
  • 6 replies
  • 1261 views
Posted on February 06, 2017 at 09:29

Hi guys,

is there any possibility to update the STM32F303 via USART. I have two controller, one as a master the other one as Slave. The Master is connected via RS485 to a Host PC. I want to set the update the Master from the host and then automatically the Slave. Does anyone of you have experience with that? I would be happy when you give me some input.

Greetings

#firmare-update
    This topic has been closed for replies.

    6 replies

    Werner Bauer
    Associate II
    February 6, 2017
    Posted on February 06, 2017 at 13:03

    Hi David,

    thanks a lot. When I read the STM32F303x4(6/8)/334xx/328xx devices bootloader I have one more question.

    Is it possible to fetch the new firmware from Master PA9+PA10, send the Data over PB3+PB4 to the Slave and get the Data on the Slave on PB3+PB4? I think not, I have to take PA9 +PA10 correct?

    David SIORPAES
    ST Employee
    February 6, 2017
    Posted on February 06, 2017 at 17:20

    Not sure I fully understood the question but you'd need to use PA9/PA10 or PA2/PA3 for interfacing with USART bootloader.

    Werner Bauer
    Associate II
    February 7, 2017
    Posted on February 07, 2017 at 07:57

    0690X00000606FuQAI.png

    Hi David,

    In my opinion Variante B is correct, do you agree?

    David SIORPAES
    ST Employee
    February 8, 2017
    Posted on February 08, 2017 at 09:03

    Yes, B option is correct if you want to update via UART Slave device as well. Remember that BOOT0 pin needs to be pulled up in order to enter bootloader so make sure it is properly controlled.

    Werner Bauer
    Associate II
    February 13, 2017
    Posted on February 13, 2017 at 08:14

    Thanks David!