Skip to main content
Visitor II
April 6, 2021
Solved

On STM32H745i-DISCO I would like to use AzureRTOS on both CM4 and CM7 but CubeIDE 1.6.1 only allows CM7, what am I missing ?

  • April 6, 2021
  • 3 replies
  • 1519 views

I am starting a new project on STM32H7 and would like to start using AzureRTOS.

I have a very primitive example on github here : https://github.com/c4chris/H745-Test

I thought I could simply replace FreeRTOS with AzureRTOS on both cores, but so far I failed, I probably do something wrong but I can't figure out what...

Thanks for any help

Kind regards,

Christian

    This topic has been closed for replies.
    Best answer by Walid ZRELLI

    I noticed that only CM4 is selected in the Azure Software Pack and you did not select CM7.

    If you want to use CM7, you need to configure it in the software pack as well.

    The following image shows how to select the required core.

    0693W000008z0LwQAI.pngI have attached an ioc file showing an example that uses both CM4 and CM7. 

    I hope this helps! Please mark my post as Best Answer using the button below in case it solved your issue.

    3 replies

    Visitor II
    April 7, 2021

    Hello @CIsel.1​  ,

    Welcome to ST Community :)

    You can migrate from FreeRTOS to Azure RTOS ThreadX With the FreeRTOS adaptation layer, you can find all the details in the following reference :

    https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Middlewares/ST/threadx/utility/rtos_compatibility_layers/FreeRTOS

    There are some examples developed using AzureRTOS, you can download these examples from the following reference :

    https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-azrtos-h7.license=1617784686089.product=X-CUBE-AZRTOS-H7.version=1.0.0.html

    If you need more details about ThreadX, please consult this reference: https://docs.microsoft.com/en-us/azure/rtos/threadx/overview-threadx

    I hope you find this answer helpful. Do not hesitate in case you have other questions.

    BeST Regards,

    Walid

    CIsel.1Author
    Visitor II
    April 7, 2021

    0693W000008yvyAQAQ.pngDear Walid,

    Thank you for your message. My issue is that I can activate AzureRTOS only on one of the 2 cores. For example I just started over with the H747-DISCO board, initializing all peripherals, then select Azure software pack. Now when configuring the Azure Software pack only CM4 is selected and I cannot select CM7, see attached image.

    What am I missing ?

    Kind regards,

    Christian

    Visitor II
    April 8, 2021

    Could you please share your .ioc file for further check ?

    Thanks in advance.

    CIsel.1Author
    Visitor II
    April 8, 2021

    Indeed, I completely missed the core selector you mentioned.

    Problem solved, thanks a lot

    Kind regards,

    Christian

    CIsel.1Author
    Visitor II
    April 14, 2021

    I got this to work in the end :)

    https://github.com/c4chris/H747-Test