Skip to main content
ATank.1
Associate III
March 12, 2024
Solved

Emulator for STM32H745

  • March 12, 2024
  • 2 replies
  • 8959 views

Hello,

We are using a hardware with STM32H745 controller with FreeRTOS.

Can you please suggest a good PC Emulator which can be used to emulate above controller with FreeRTOS.

Also we use UART, SPI, LED, CAN peripherals on the actual hardware. Can these peripherals be emulated?

Some options I looked at are QEMU and Renode but not sure about STM32745H7 support or FreeRTOS support.

Thanks & Regards,

Anuj

 

 

Best answer by Peter BENSCH

The hardware structure of the STM32, especially the Cortex-M7 based STM32F7 and STM32H7 is so complex that an emulator or simulator would be much too expensive. In this respect, the answer is: no, there is (currently) no emulator or simulator .

However, there are universal evaluation boards called NUCLEO with which you could test all of them live.

Regards
/Peter

2 replies

Peter BENSCH
Technical Moderator
March 12, 2024

The hardware structure of the STM32, especially the Cortex-M7 based STM32F7 and STM32H7 is so complex that an emulator or simulator would be much too expensive. In this respect, the answer is: no, there is (currently) no emulator or simulator .

However, there are universal evaluation boards called NUCLEO with which you could test all of them live.

Regards
/Peter

In order 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.
ATank.1
ATank.1Author
Associate III
March 12, 2024

Hi 

Thanks for the super quick reply:)

Do you mean to say there no ready made emulator /simulator or STM32H745? 

Few options I checked QEMU, Renode, Proteus. Your thoughts on the same?

 

Also If I want to simulate only the software with RTOS and not the hardware then are there any good options?

Thanks & Regards,

Anuj

 

 

 

Andrew Neil
Super User
March 12, 2024

@ATank.1 wrote:

Do you mean to say there no ready made emulator /simulator or STM32H745? 


Yes.

With on-chip debug and low-cost boards like Nucleo, there's really no call for it nowadays.

 


@ATank.1 wrote:

 If I want to simulate only the software with RTOS and not the hardware then are there any good options?


See the Windows simulator link, above.

 

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.
Andrew Neil
Super User
March 12, 2024

As @Peter BENSCH said, emulators haven't been viable for decades now.

Instead, microcontrollers have debug built-in - accessible via JTAG or SWD.

So you can use actual target hardware, while getting all the internal access that Emulators used to give.

To examine FreeRTOS features which are independent of the target hardware, there's a Windows simulator:

https://www.freertos.org/FreeRTOS-simulator-for-Windows.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.