Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


Simulation of FreeRTOS on windows XP

Posted by child4 on August 9, 2010
I want to simulate MultiTasking environment on my PC (with windows XP and over AMD Athlon dual core),
I have read the documentation on the "http://www.freertos.org/" site, and I'm a little bit confused from the explanation there.

I tried to compile the project of "Demo\PC" directory, after downloading the zip file of version 6.0.5 of FreeRTOS.
The compilation was failed.

I tried to create new project with the same files and definitions of the existing project,
but I've realized that it was impossible, since there are some definitions that I couldn't find in open watcom (version 1.8)

1. Is that directory (Demo\PC) what I need in order to do such simulation?

2. In case that the Demo\PC is the correct directory I need,
What should be the watcom definitions for:
* memory model,
* target processor,
* Linker system[SYS] ?

Thank you.

RE: Simulation of FreeRTOS on windows XP

Posted by MEdwards on August 9, 2010
The Demo/PC directory contains an Open Watcom project that should contain everything you need, so all you have to do is open the project. Make sure you have the 16bit version of the Open Watcom tools installed though, it is an option during the installation process.

RE: Simulation of FreeRTOS on windows XP

Posted by child4 on August 9, 2010
You are right. The 16-bit option was not checked, when I installed the watcom. I installed it again, and now it can be compiled.

I assume that your answer for my first question is: 'Yes', meaning that this is the way for simulating RT embedded environment
on my PC...? (I haven't yet looked deeply inside the tasks code)


RE: Simulation of FreeRTOS on windows XP

Posted by MEdwards on August 9, 2010
The Watcom port is a real mode emulation. Not real real time, but no windows simulation will be real real time. See also


You can also run Keil ARM demos in the Keil simulator on a PC.

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists