cancel
Showing results for 
Search instead for 
Did you mean: 

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

kKim.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
ramprakash09
Associate II

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

View solution in original post

2 REPLIES 2
ramprakash09
Associate II

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

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?