Skip to main content
Explorer
March 22, 2023
Solved

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

  • March 22, 2023
  • 3 replies
  • 1250 views

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

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

    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

    3 replies

    KnarfBAnswer
    Super User
    March 22, 2023

    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

    Explorer
    March 23, 2023

    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

    Super User
    March 23, 2023

    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

    Explorer
    March 30, 2023

    Thanks for support