Skip to main content
Lead
August 2, 2024
Solved

Generate .bin/.stm32 files in CM4 for STM32CubeProgeammer

  • August 2, 2024
  • 1 reply
  • 1004 views

Yes. I know that is possible to program the STM32MP by using ST-link V2 in CM4 inside STM32CubeIDE.

I want to know if its possible to generate e.g .bin/.stm32 files from CM4 and paste them into a FlashLayout, and then later program it over STM32CubeProgammer.

My goal is to run bare bones code and program that over USB.

Best answer by PatrickF

Hi @DMårt 

you cannot run Cortex-M4 FW without a running Linux (or at least uBoot) as Cortex-M4 is seen as a 'coprocessor' of the Cortex-A7 subsystem.

Cortex-M4 FW is located within the bootfs partition (together with many other stuffs), I think this is prepared thru yocto build process (I'm not SW expert).

 

See some details in this page: https://wiki.st.com/stm32mpu/wiki/How_to_start_the_coprocessor_from_the_bootloader#Introduction

 

Regards.

1 reply

PatrickF
PatrickFBest answer
Technical Moderator
August 2, 2024

Hi @DMårt 

you cannot run Cortex-M4 FW without a running Linux (or at least uBoot) as Cortex-M4 is seen as a 'coprocessor' of the Cortex-A7 subsystem.

Cortex-M4 FW is located within the bootfs partition (together with many other stuffs), I think this is prepared thru yocto build process (I'm not SW expert).

 

See some details in this page: https://wiki.st.com/stm32mpu/wiki/How_to_start_the_coprocessor_from_the_bootloader#Introduction

 

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here