cancel
Showing results for 
Search instead for 
Did you mean: 

Generate .bin/.stm32 files in CM4 for STM32CubeProgeammer

DMårt
Lead

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.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

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

View solution in original post

1 REPLY 1
PatrickF
ST Employee

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