Skip to main content
jsoda.1
Associate III
June 5, 2022
Solved

Is there any software like proteus where I can simulate STM32 MCUs??

  • June 5, 2022
  • 4 replies
  • 18192 views

Hello, 

I want to know if there are other platforms like proteus in which I can virtually simulate STM32 MCU and OLED display.

STM32 programs are not working in proteus. I just used simple toggle LED program but it is not running on proteus,

    This topic has been closed for replies.
    Best answer by Andrew Neil

    Nowadays, with cheap & readily-available hardware including on-chip debug, there is a lot less call for such simulation - especially if you want it cheap!

    So, do you really need a simulator - could you not just use real hardware and the debugger?

    "STM32 programs are not working in proteus"

    Proteus is an independent 3rd party product - nothing to do with ST.

    For Proteus support, see:

    https://www.labcenter.com/contact/

    https://support.labcenter.com/forums/index.php

    https://www.labcenter.com/simulation/

    https://www.labcenter.com/tutorials/

    https://www.labcenter.com/support/

    https://www.youtube.com/channel/UCFNnl5S532GMtwXJUYRo_wQ

    Or, as @Community member​ said, take a look at QEMU: https://www.qemu.org/

    https://www.qemu.org/docs/master/system/arm/stm32.html

    4 replies

    LMI2
    Senior III
    June 5, 2022

    Not really.

    There are 2 kinds of professional simulators.

    1. Digital simulator. Simulates internal workings of the CPU. Comes from VHDL or whatever digital design system ARM and ST use. ST wont and can't give you those. ARM will probably sell you something.
    2. Analog simulator. You can probably get models of how CPU inputs and outputs work. ST may have those.
    Tesla DeLorean
    Guru
    June 5, 2022

    Unfortunately the low cost of actual hardware, exponentially expanding part portfolio, and the lack of paying customers (pirates and crackers), and the generally high costs of doing this well, have driven most away from this market space.

    If you're a paying Proteus customer, try requesting functionality from them. Or get involved in QEMU/MAME development by contributing or developing functionality you deem important.

    IRL

    0693W00000NrDvmQAF.jpg

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Andrew NeilBest answer
    Super User
    June 6, 2022

    Nowadays, with cheap & readily-available hardware including on-chip debug, there is a lot less call for such simulation - especially if you want it cheap!

    So, do you really need a simulator - could you not just use real hardware and the debugger?

    "STM32 programs are not working in proteus"

    Proteus is an independent 3rd party product - nothing to do with ST.

    For Proteus support, see:

    https://www.labcenter.com/contact/

    https://support.labcenter.com/forums/index.php

    https://www.labcenter.com/simulation/

    https://www.labcenter.com/tutorials/

    https://www.labcenter.com/support/

    https://www.youtube.com/channel/UCFNnl5S532GMtwXJUYRo_wQ

    Or, as @Community member​ said, take a look at QEMU: https://www.qemu.org/

    https://www.qemu.org/docs/master/system/arm/stm32.html

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    jsoda.1
    jsoda.1Author
    Associate III
    June 14, 2022

    Thank you

    Pavel A.
    June 6, 2022

    Recently ARM advertised their "virtual hardware". Maybe, this.

    Andrew Neil
    Super User
    June 6, 2022

    Interesting - although still not a complete, timing-accurate simulation of a specific microcontroller:

    0693W00000NrHlbQAF.pnghttps://arm-software.github.io/AVH/main/simulation/html/index.html#Development_Challanges

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.