cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G030C8T6 update via UART

Aviam19
Associate

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

> 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.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
TDK
Guru

> 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.

If you feel a post has answered your question, please click "Accept as Solution".