Skip to main content
Constantin Wiesener
Associate
April 24, 2017
Question

Flash a cascade of STM32 with bootloader

  • April 24, 2017
  • 2 replies
  • 691 views
Posted on April 24, 2017 at 17:10

Consider the following setting:

One MAIN STM32F407 and one LOW STM32F407.

There are both connected via a UART. But only the main is connected with the UART to a flasher.

How could I flash both CPU (both are running with bootloader) through the one UART connected to the MAIN CPU?

Thanks for your help and best regards,

Constantin

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    April 24, 2017
    Posted on April 24, 2017 at 17:48

    Make a simple forwarder that copies the data too/from the main device to the slave, so as to create a tunnel. ie data received on one USART is transmitted out the other. Pick a common speed, ie 9600 8E1

    You could also have the main device use the loader protocol to flash the slave.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Constantin Wiesener
    Associate
    April 25, 2017
    Posted on April 25, 2017 at 08:23

    okay, are there any examples on how to start?