Skip to main content
kKim.1
Associate II
August 25, 2023
Solved

How to Flash an STM32 System Image to a Raspberry Pi Board SD Card Using the STM32CubeProgrammer?

  • August 25, 2023
  • 1 reply
  • 1943 views

Hello.

I have a question about STM32CubeProgrammer.

I'm going to use the STM32 system image in Raspberry Pi.

How do I flash an STM32 image on an SD card that will be mounted on a Raspberry Pi board?

I want to use STM32 program in Windows environment as much as possible.

The following are the methods and results I thought of.
1. Fit formatted SD card into Raspberry Pi and connect to Rsap's micro5 pin and Windows PC, and USB from 'STM32CubeProgrammer' >>> Program not recognized

 

2. Connect with Windows PC using SD Card Reader >>> Program not recognized

This topic has been closed for replies.
Best answer by

Hi,

Flashing an STM32 system image to a Raspberry Pi board SD card using the STM32CubeProgrammer is not directly possible. The STM32CubeProgrammer is designed to program STM32 microcontroller devices, not Raspberry Pi boards. However, you can use the STM32CubeProgrammer to flash the STM32 system image onto an STM32 microcontroller, which can then interact with the Raspberry Pi board.

Regards

1 reply

Best answer
August 25, 2023

Hi,

Flashing an STM32 system image to a Raspberry Pi board SD card using the STM32CubeProgrammer is not directly possible. The STM32CubeProgrammer is designed to program STM32 microcontroller devices, not Raspberry Pi boards. However, you can use the STM32CubeProgrammer to flash the STM32 system image onto an STM32 microcontroller, which can then interact with the Raspberry Pi board.

Regards

kKim.1
kKim.1Author
Associate II
August 27, 2023

Hello.

Thank you for your answer.

I have STM32MP157D-EV1 kit.
Then, should I mount the formatted SD card on the STM32 board I have, flash the system image using STM32CubeProgrammer, and then mount the SD card on the Raspberry Pi?