Skip to main content
Explorer II
November 29, 2023
Solved

STM32G030C8T6 update via UART

  • November 29, 2023
  • 2 replies
  • 1813 views

Hi ,

We are using the STM32G030C8T6 ,we are looking for a way to update the FW via UART during normal working of our system without changing the IO status during the update .

It seems that it jumt to the bootloader and all the IO's become defualt stae.

For the first time flash  we are using the ST-LInk. 

We couldn't find how to do so and if it possible.

Regards,

Avi

 

    This topic has been closed for replies.
    Best answer by TDK

    > without changing the IO status during the update

    This is not really possible with the system bootloader.

    Theoretically, if you knew exactly where to jump in the bootloader ROM you could probably jump there without affect pin states, but it's not a great solution. If you're handy with the debugger, you could try it.

    2 replies

    Technical Moderator
    November 29, 2023

    Welcome @Aviam19, to the community!

    Although an own bootloader can be used for this, it significantly reduces the available user flash area, which only has 64KB flash on your STM32G030C8 anyway. It therefore seems to make the most sense to use the embedded bootloader, for which there is also a knowledge base article in addition to the AN2606. Read this article, maybe it will help you with your task?

    Good luck!
    /Peter

    TDKAnswer
    Super User
    November 29, 2023

    > without changing the IO status during the update

    This is not really possible with the system bootloader.

    Theoretically, if you knew exactly where to jump in the bootloader ROM you could probably jump there without affect pin states, but it's not a great solution. If you're handy with the debugger, you could try it.