2023-03-16 06:08 PM
2023-03-16 07:07 PM
Proteus?
Perhaps there are videos on YouTube or you could pay for some training.
2023-03-16 07:07 PM
Proteus?
Perhaps there are videos on YouTube or you could pay for some training.
2023-03-17 12:25 AM
Hello @CG3 ,
I recommend you to refer to Introduction to STM32CubeIDE wiki.
You can find in this wiki many Tutorials and MOOCs can help you to simulate your code with STM32CubeIDE.
I hope this help you!
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-03-17 10:15 PM
Dear @KDJEM.1 Thank you for your recommendation
Already I checked it and there is nothing about STM32cubeIDE simulator,
I asked from ChatGTP too, and mentioned exist but can't find
Please can you guide me page , or step by step or YouTube video …
Thank you in advance
2023-03-18 01:49 AM
What aspect(s) do you wish to simulate?
Stm32 microcontrollers consist of an Arm processor as well as Arm-designed and ST-designed peripherals.
But generally we then put the microcontroller into a system with other components.
Arm processor simulation is possible. But generally unnecessary - for most applications the compiler does a good job of translating source code into machine code.
Arm processor + peripherals is harder to simulate. I know Keil (commercial IDE) used to support this. But it misses two key issues. The first is how accurate the simulation is - often you only resort to simulation if hardware isn’t behaving as expected, and there are so many different versions of a peripheral in production that it’s hard for a simulator-provider to keep up. In particular how accurately does it cover “corner cases�? that don’t occur often and might not be clearly documented in the Reference Manual. And the second is that these peripherals interact directly with external hardware; what should the simulator assume about that!
And of course the system the stm32 sits in isn’t something the simulator-provider knows anything about. To make matters worse, so far we’ve only been simulating digital systems - the outside world is analog so it needs a completely different simulation engine.
(Analog problems can exist inside the stm32 as well - how should the simulator respond if you tell it to use an external crystal and then multiply that too much with the pll oscillator?)
2023-03-18 07:27 AM
Good simulation is very expensive, it's not paid for by a lot of people paying nothing for anything.
Hardware prices have dropped significantly, so for $10 - $30 you can get a NUCLEO board with an ST-LINK integrated.
The number of implementations has exploded, so many different parts, from so many different vendors. The exponentially increasing costs of making simulators that work for everything aren't sustainable. That's why businesses aren't rushing into this space.
>>I appreciate to do not commend "use real one"
Unless you're personally willing to bear the costs of what you "want" the solution tends to be what you can afford.
2023-03-18 01:42 PM
Perhaps look at this
The 2nd dot: Cortex-M emulations.
2023-03-28 05:32 AM
Hello @CG3 ,
A similar question is already asked : Is STM32CubeIDE including a simulator in the debug mode?
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-04-06 07:00 PM
Thank you for all for helping :folded_hands: