cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use UART or SPI to programme the STM32G484QET6 device in production?

HirenThumar2702
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

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

View solution in original post

4 REPLIES 4
KnarfB
Principal III

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

HirenThumar2702
Associate III

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

KnarfB
Principal III

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

Thanks for support