Skip to main content
Zenk91
Associate II
January 13, 2023
Solved

Is STM32CubeIDE including a simulator in the debug mode?

  • January 13, 2023
  • 4 replies
  • 9788 views

Hi,

I am approaching for the first time with STM32nucleo board and I am using STM32CubeIde. The debug tool provides a simulator to test if the firmware is working properly? I mean a simulation tool like that of MPLAB IDE for PIC microcontrollers which provides a simulation tool in the debug mode. Thank you very much.

Regards.

This topic has been closed for replies.
Best answer by S.Ma

Microcontrollers are deeply embedded and close to input and output stimulus, unless debugging pure sw algo, which points to matlab, running code in ddbug mode onto a nucleo board brings you closer to reality, power condumption, profiling, wcet, esd and emi rating, etc....

4 replies

KnarfB
Super User
January 13, 2023

No. You may attach one of the many cheap Nucleo boards or check out Keil MDK software.

hth

KnarfB

S.Ma
S.MaBest answer
Principal
January 14, 2023

Microcontrollers are deeply embedded and close to input and output stimulus, unless debugging pure sw algo, which points to matlab, running code in ddbug mode onto a nucleo board brings you closer to reality, power condumption, profiling, wcet, esd and emi rating, etc....

Semer CHERNI
ST Employee
January 16, 2023

Hello @Zenk91​ 

First let me thank you for posting.

In fact, I agree with @KnarfB​  and @S.Ma​  response.

I only want to point to another alternative. QEMU offer some sort of simulator for CortexM. You can find more details on there web site.

Kind regards,

Semer.

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.
Zenk91
Zenk91Author
Associate II
January 16, 2023

Thanks to all of you for your answers. After trying to work with this board, I realised that effectively it's more immediate to test the firmware with a physical board instead of performing simulations.

Regards.