2023-11-28 10:39 PM
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
Solved! Go to Solution.
2023-11-29 06:16 AM
> 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.
2023-11-28 11:24 PM
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
2023-11-29 06:16 AM
> 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.