2023-03-22 04:58 AM
Good day, Support Team
We chose the STM32G484QET6 for our product development, and I have a question about programming in production time that I've listed below.
In production, Can we dump the hex file into the controller(STM32G484QET6) via UART or SPI or Modbus?
if have any documents regarding this so please provide them to us
Thanks
Hiren R. Thumar
Solved! Go to Solution.
2023-03-22 05:07 AM
Yes, read AN2606 Application note STM32 microcontroller system memory boot mode.
and
AN5093 Application note Getting started with STM32G4 Series hardware development boards
hth
KnarfB
2023-03-22 05:07 AM
Yes, read AN2606 Application note STM32 microcontroller system memory boot mode.
and
AN5093 Application note Getting started with STM32G4 Series hardware development boards
hth
KnarfB
2023-03-22 09:28 PM
Good day, KnarfB
I appreciate your help.
We can programme through UART/SPI as per the recommended paper, but I have a couple of questions.
1. Is there a specific tool required for this programming purpose through UART/SPI?
2. Is RS485 suitable for programming purposes? because We have RS485 in the product for data sharing.
Thanks
Hiren R. Thumar
2023-03-23 01:29 AM
There is the STM32CubeProgrammer which also comes in a CLI variant. The same protocol is used in Open Bootloader https://github.com/STMicroelectronics/stm32-mw-openbl which could be used as a reference.
Have no specific experience with RS485, sorry, but maybe you can extend Open Bootloader for that.
hth
KnarfB
2023-03-30 06:05 AM
Thanks for support