Quality RTOS & Embedded Software

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




Loading

Simulation of FreeRTOS on windows XP

Posted by child4 on August 9, 2010
Hello,
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)

Thanks.

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

http://interactive.freertos.org/forums/135231-windows-or-linux-based-ports-and-simulators

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


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




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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

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

OpenRTOS and SafeRTOS