Skip to main content
Associate
September 5, 2023
Solved

Programming STM32H747AI

Hello,

I am currently designing a board with STM32H747AI MCU. May I ask how it is possible to run the RTOS on it and then program it via USB-C without using special internal components such as ST-Link MCU in order to save as much space as possible? Does the same process also apply to the STM32MP157C MPU?

Thank you very much.

Regards

This topic has been closed for replies.
Issamos
IssamosBest answer
Super User
September 5, 2023

Hello @balogandrej9184 

You can add RTOS using CubeMX (go to the middleware and select the RTOS middleware(Azure RTOS , Free RTOS) you want to use. 

Than for the USB programming, you can use the Cube programmer. This video may help you. 

This is for th MCU part. I don't have clear informations about MPU.

Best regards.

II

5 replies

Issamos
IssamosBest answer
Super User
September 5, 2023

Hello @balogandrej9184 

You can add RTOS using CubeMX (go to the middleware and select the RTOS middleware(Azure RTOS , Free RTOS) you want to use. 

Than for the USB programming, you can use the Cube programmer. This video may help you. 

This is for th MCU part. I don't have clear informations about MPU.

Best regards.

II

Olivier GALLIEN
ST Technical Moderator
September 5, 2023

Hi @balogandrej9184 ,

I can answer for STM32MP157C MPU. 

Indeed STM32MP1x needs external flash memory programmable by serial USB or UART. Refer to stm32mpu 

While STM32MP15 is only provided with Linux ecosystem, the STM32MP13 will soon support RTOS with Microsoft Azure RTOS pre-integrated.

For further questions please open a new post in STM32 MPU products - STMicroelectronics Community

Olivier 

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.
Associate
September 5, 2023

Perfect, thank you very much.

Tesla DeLorean
Guru
September 6, 2023

With BOOT0=HIGH it should boot into the System ROM and provide a device "STM32 Boot Device" which implements USB DFU mode, and connectivity via USB in STM32 Cube Programmer.

You can also write your own code, or review USB-DFU Device examples, to facilitate programming / update in a manner of your choosing / creation.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..