2023-09-05 12:00 AM
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
Solved! Go to Solution.
2023-09-05 12:53 AM - edited 2023-09-05 01:03 AM
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
2023-09-05 12:53 AM - edited 2023-09-05 01:03 AM
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
2023-09-05 12:55 AM
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
2023-09-05 01:50 AM
Perfect, thank you very much.
2023-09-06 08:42 AM
Operating system kernel, which support the particular CPU core, can run on it regardless of whether some manufacturer "supports" it. Therefore, as, for example, FreeRTOS supports both Cortex-M4 and Cortex-A7 cores out of the box, it can run on any core of the STM32MP157C regardless of ST's support.
2023-09-06 08:57 AM
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.