Skip to main content
Explorer
April 9, 2025
Question

STM32 custom Bootloader

  • April 9, 2025
  • 2 replies
  • 1397 views

Dear community,

My device is a logger. the configuration is over USB (UART vcp) via a web interface.
i'm able to connect it, to configure it and store data correctly.
i'm using a stm32L05x (whithout embeded DFU) and ,important, no external reset button.

My aim is to propose a firmware update over the webpage (device already connected).
what do you propose to me for my need.
do you have a experience, example or website to explain me the right way to do that .

my reseach , give me a pyserial could be a good way for the webinterface.
but what about the firmware update ?



 

 

    This topic has been closed for replies.

    2 replies

    jlecl.1Author
    Explorer
    April 9, 2025

    thanks for your rapid reply.

    My post is because i'm not conformable with a system of Two App and bootloader ( i think is the good reflexion)
    i' ve seen all document, the theory is seem to be clear but in pratice is often different.
    do you have an example for trying, to sur that is work as i want before modified it for my STM32xx ?

    Super User
    April 9, 2025

    Pardon?

    Super User
    April 10, 2025

    My device is a logger.

    Logger to what? Is there some external flash chip or SD card that can be used to stage the update?

     

     

    jlecl.1Author
    Explorer
    April 10, 2025

    Exact, it's another way.
    My logger is a ultra tiny things ( 11mm x17mm, micro USB port included), so no sdcard BUT there is a NAND flash onboard .
    my reseach last night with me some example of "IAP" update.
    more news after try this week.