Skip to main content
Visitor II
March 17, 2020
Solved

STM32MP1 no OS

  • March 17, 2020
  • 4 replies
  • 2603 views

Can I use STM32MP1 without an operating system?

Linux is harder for me to master than a microcontroller.

It would be convenient if the cube generated code hal for the processor

Is there a similar feature planned?

If not, is there a step-by-step instruction on how I can run custom bsp for Linux and compile it?

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

    Vladimir, here https://github.com/ua1arn/hftrx you can find startup, DDR3 memory initialization and some useful functions for use STM32MP1 A7 core as a bare metal.

    CPU peripherials very similar to STM32H7xx CPUs line.

    ps: Russian laguage comments!

    4 replies

    ST Employee
    March 17, 2020

    Hello Vladimir,

    if you would like to avoid Linux, why wouldn't you use a STM32H7 microcontroller?

    It is based on ARM Cortex-M7 and can run up to 480 MHz.

    There is even a dual core version combining ARM Cortex-M7 & ARM Cortex-M4.

    https://blog.st.com/?s=STM32H7&submit=

    https://www.st.com/en/microcontrollers-microprocessors/stm32h7-series.html

    Visitor II
    March 17, 2020

    Hello.

    I need to draw an interface and display a camera image on a 720 display.

    I'm not sure that SDRAM on STM32H7 is able to handle this

    Technical Moderator
    March 17, 2020

    Hi,

    We do not provide any SW for Bare-Metal support, but maybe 3rd party could provide it for STM32MP15 series (likely not for free).

    For sure, the learning curve for Linux on an MPU is much higher than bare-metal on an MCU.

    You could find many information in the ST MPU wiki, e.g. starting with https://wiki.st.com/stm32mpu/wiki/Category:How_to

    Regards

    Visitor II
    March 17, 2020

    Thanks for the link

    Visitor II
    March 17, 2020

    Vladimir, here https://github.com/ua1arn/hftrx you can find startup, DDR3 memory initialization and some useful functions for use STM32MP1 A7 core as a bare metal.

    CPU peripherials very similar to STM32H7xx CPUs line.

    ps: Russian laguage comments!

    Visitor II
    March 17, 2020

    demo project based on mentioned repo

    https://www.youtube.com/watch?v=6PXxH0p2AK0