# hw emulation

**URL:** <https://forums.freertos.org/t/hw-emulation/1241>\
**Category:** Kernel\
**Created:** [September 27, 2012, 8:42am UTC](https://forums.freertos.org/t/hw-emulation/1241 "2012-09-27T08:42:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [September 27, 2012, 8:42am UTC](https://forums.freertos.org/t/hw-emulation/1241/1 "2012-09-27T08:42:13Z")

</div>

**[jessie123](https://sourceforge.net/u/jessie123/)** wrote on [Thursday, September 27, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#914c):

Hi. I am new to freeRTOS. Does it possible to emulate HW platform that is supported by freeRTOS and then run and test freeRTOS capabilities on that emulated hardware?&nbsp; Is there any simulator for windows or linux that is capable such thing. Thanks.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 27, 2012, 8:39pm UTC](https://forums.freertos.org/t/hw-emulation/1241/2 "2012-09-27T20:39:49Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Thursday, September 27, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#ebc5):

FreeRTOS runs in various simulators (QEMU, Keil, a PCB CAD package the name of which escapes me temporarily, etc.), and it runs in both windows and Linux simulators.

The real simulators simulate the hardware itself, so you run a real port of FreeRTOS on them.&nbsp; The Windows/Linux simulators run the FreeRTOS scheduler to schedule tasks, where the tasks are Windows/linux threads.&nbsp; That means the kernel selects which task to run, but the context switching is done by WindowsLinux so it is not a real hardware port.

[http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html](http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html) (the MSVC is the demo/port that I maintain actively myself).

[http://www.freertos.org/simple-freertos-demos.html](http://www.freertos.org/simple-freertos-demos.html) (see the Keil simulator)

[http://www.freertos.org/FreeRTOS-simulator-for-Linux.html](http://www.freertos.org/FreeRTOS-simulator-for-Linux.html) (supported/maintained by a third party)

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 4, 2012, 7:10pm UTC](https://forums.freertos.org/t/hw-emulation/1241/3 "2012-12-04T19:10:05Z")

</div>

**[jessie123](https://sourceforge.net/u/jessie123/)** wrote on [Tuesday, December 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#458f):

I cant run the demo program in my eclipse. I think I correctly imported all the files and stuff (maybe not ) and I hit&nbsp; build and then run and it doesnt work. Please help.

[http://img4.imagetitan.com/img.php?image=5\_rtosfail.png](http://img4.imagetitan.com/img.php?image=5_rtosfail.png)

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 4, 2012, 7:22pm UTC](https://forums.freertos.org/t/hw-emulation/1241/4 "2012-12-04T19:22:06Z")

</div>

**[edwards3](https://sourceforge.net/u/edwards3/)** wrote on [Tuesday, December 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#f454):

The image posted does not help. Can you post the results of the build, the output generated by the compiler during the build including any error messages.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 4, 2012, 7:37pm UTC](https://forums.freertos.org/t/hw-emulation/1241/5 "2012-12-04T19:37:19Z")

</div>

**[jessie123](https://sourceforge.net/u/jessie123/)** wrote on [Tuesday, December 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#5904):

I think I didnt imported it correctly but I have no idea how to do it. These steps on [http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html#SourceCodeOrg](http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html#SourceCodeOrg)&nbsp;&nbsp; are super useless I cant figure them out what to do step by step in my eclipse.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 4, 2012, 8:08pm UTC](https://forums.freertos.org/t/hw-emulation/1241/6 "2012-12-04T20:08:33Z")

</div>

**[jessie123](https://sourceforge.net/u/jessie123/)** wrote on [Tuesday, December 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#cb37):

ok I give up. I was able to run the version for the visual studio fortunately. This eclipse crap doesnt work.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 4, 2012, 8:36pm UTC](https://forums.freertos.org/t/hw-emulation/1241/7 "2012-12-04T20:36:32Z")

</div>

**[jessie123](https://sourceforge.net/u/jessie123/)** wrote on [Tuesday, December 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/376ceb8f/#65a7):

btw, are there any nice simple demos for testing and studying in ms vs. I tried eclipse first because I am a java developer so I am used to work in eclipse a lot. But it didnt work so I dont care I use VS to run it. I would like to learn more about this freertos even though I cant develop in C or C++, but I understand c code enough to learn something new. If there is anything please post&nbsp; a link. thanks. bye
