Skip to main content
darla14
Associate III
January 7, 2021
Solved

FreeRTOS support on STM32MPU (cortex-A7)

  • January 7, 2021
  • 2 replies
  • 2599 views

Hello ,

New year 2021 Greetings:party_popper: ! Hope you all are doing great !

Looking at the FreeRTOS wiki , there is no support for Cortex - A7?

Is there an alternate port available for FreeRTOS for Cortex A7? or some customization for the same?

what is the recommendation?

Thanks and Regards,

Have a great Decade !!

D

This topic has been closed for replies.
Best answer by Genadi Zawidowski

Hello.

Tray to find RT-OS here CMSIS_5/CMSIS/RTOS2/Source at develop · ARM-software/CMSIS_5 (github.com)

Also, see my bare-metal project (without OS) running on A7 cores from 157-s: ua1arn/hftrx: Embedded firmware for ham radio transceivers (github.com)

STM32MP1 MPUs is a 32-bit processor.

 I cant see cortex A7 in the link. - Cortex-A7 and A9 is a true compatible, Same interrupt handling, MMU and caches initialization,

Note: MMU is a required for enabling data cache write back feature,

2 replies

KnarfB
Super User
January 7, 2021

Getting a complex SoC like STM32MP1 booted is a quite complex task. Especially if you think of Boot ROM, DRAM, clock tree, caches (?), virtual (?) memory setup, boot peripherals (sd-card ? usb ? network ?) including file systems (?) etc. Its much more than just porting the FreeRTOS core code to Cortex-A7. For the latter, see also http://www.freertos.org/Using-FreeRTOS-on-Cortex-A-Embedded-Processors.html

darla14
darla14Author
Associate III
January 8, 2021

OK , so i read it as "no support". I cant see cortex A7 in the link.

Do you suggest any other alternative to this?

one question - is STM32MPU arm64 or arm32?

Regards,

Piranha
Principal III
January 9, 2021

> one question - is STM32MPU arm64 or arm32?

The answer is written literally in the FIRST line of the datasheet! And you know that it's a Cortex-A7 - it's ARM home page, Wikipedia and Google gives an answer in seconds...

As Genadi said - A7 and A9 are compatible and it should be relatively easy to port the code. But Knarf already warned on the complexity. Especially with such information finding skills...

Genadi Zawidowski
Senior
January 9, 2021

Hello.

Tray to find RT-OS here CMSIS_5/CMSIS/RTOS2/Source at develop · ARM-software/CMSIS_5 (github.com)

Also, see my bare-metal project (without OS) running on A7 cores from 157-s: ua1arn/hftrx: Embedded firmware for ham radio transceivers (github.com)

STM32MP1 MPUs is a 32-bit processor.

 I cant see cortex A7 in the link. - Cortex-A7 and A9 is a true compatible, Same interrupt handling, MMU and caches initialization,

Note: MMU is a required for enabling data cache write back feature,

darla14
darla14Author
Associate III
January 10, 2021

thanks @Genadi Zawidowski​  i will have a look on this.