Skip to main content
MikeDB
Senior II
May 3, 2019
Question

Is there a free to use STM32 simulator ?

I want to benchmark some code on a variety of STM32 devices before choosing the target device so would like to do this in a software simulation first. Are there any free or one-month trial simulators available that know all (most?) of the STM32 range ? The code isn't huge - about 4k program and 64k data.

    This topic has been closed for replies.

    4 replies

    waclawek.jan
    Super User
    May 3, 2019

    There is no clock-precise simulator and, free nor paid, for various reasons, mainly because the designs are very complex and the details vital for clock-precise simulation are not made public.

    Here https://community.st.com/s/question/0D50X00009XkXReSAN/virtual-device-for-stm32 somebody promoted their "solution" but I did not investigate deeper.

    JW

    MikeDB
    MikeDBAuthor
    Senior II
    May 3, 2019

    ARM's CPAKs are guaranteed clock-precise and available for every model. I was hoping someone had integrated these into the backend of one of the common IDEs.

    waclawek.jan
    Super User
    May 3, 2019

    > available for every model

    For every model of what?

    JW

    MikeDB
    MikeDBAuthor
    Senior II
    May 3, 2019

    Processor cores : M0, M0+, M1, M3, M4, M7, A7, A8, A15, A35, A53, A71, etc, etc

    ARM publish these and they can import .ELF files but it's a PITA to use them, hence I was hoping STM had linked them to CUBE or something.