Skip to main content
Visitor II
January 25, 2022
Solved

Is it possible to do a firmware upgrade via FD-CAN with multiple STM32H7 microcontrollers in the bus?

  • January 25, 2022
  • 4 replies
  • 2858 views

The system looks like this:

-one master controller STM32H7 which holds firmware of slaves

-multiple (~8) "slave" STM32H7 on the same FD-CAN bus

The slave controller firmware should be upgrades via FD-CAN ST bootloader (see AN5405)

AN5405 says "The CAN bootloader firmware supports only one node at a time. This means that it does not support CAN Network Management."

Does it mean multiple nodes/slaves are supported, but must be selected(?) by the master,

or firmware upgrade is only possible with a single node/slave in the bus?

    This topic has been closed for replies.

    4 replies

    Graduate II
    January 25, 2022

    The built-in CAN Bootloader can not work on a CAN bus with multiple devices. But you can write your own bootloader.

    Graduate II
    January 25, 2022

    The ROM based loaders tend to focus on production programming where the access may be limited to a single interface. Most complex/commercial products tend to have to implement a loader that's tailored to all the hardware on the board, and that which may be present or inter-operate together.

    You, or one of the software engineers should be able to code an upgrade/uploading mechanism that is suited to your topology. I'd generally recommend partitioning the memory space to contain a loader and application, with the loader capable of functioning sufficient in the proposed deployment to receive and apply an update to the application.

    Javier1Answer
    Graduate II
    January 26, 2022
    bop0815Author
    Visitor II
    January 26, 2022

    Hello Uwe, Tesla DeLorian and Javier,

    thank you all for you help!

    OK I see thats not possible with the ST ROM Bootloader and

    we have to implement our own for that purpose.

    ST Microelectronics should state this limitations more clearly in their application notes.

    Graduate II
    January 26, 2022

    yes they should