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




Loading

FreeRTOS as Simulation on PC

Posted by Gianluca Renzi on May 23, 2008
Hello list,
My simple question is:
"Is it possible to "emulate" FreeRTOS or its API in a pc, running another OS (i.e.: Windows and/or Linux)?"

My goal is developing on a standard x86 PC running Windows/Linux (just to cut down the developing costs and time), then simply cross-compile all stuff to my embedded board.
Obviously I don't want "Real Time Features" in this environment, just all OS-calls just to check the correctness of my software.

Hint: I was thinking about SDL (libSDL) and its thread's utilities just to make all stuff cross-platform (from Windows to Linux and vice versa) and hopefully easily enough to debug.

Best regards,
Gianluca

RE: FreeRTOS as Simulation on PC

Posted by Richard on May 23, 2008
I have a project sent to me by a third party that allows non-real time use under Windoze. It looks very interesting although I have not had time to play with it myself yet. If you are interested I can send you a copy (email me on r _dot_ barry [at] freertos.org). I have also seem people use Qemu for both ARM7 and Cortex M3, but this tends to be a bit buggy.

Some compiler vendors have simulators too, although I find these of less interest as developing on real hardware is quick and easy these days. For example, you can use a low cost Luminary Micro board and all you need is a USB cable.

Regards.

RE: FreeRTOS as Simulation on PC

Posted by sashiono on May 24, 2008
I have an example of a emulated freertos posted up here
http://pureengineering.pbwiki.com/SkyEye

When I get some more time, I'll post up an updated one that runs freertos5.

Also there is instead of a true emulation, building a mapping of all the freertos calls to get remapped to posix pthreads and queues. I have done this for testing a system before getting hardware.

RE: FreeRTOS as Simulation on PC

Posted by Gianluca Renzi on May 26, 2008
SASHIONO:
> Also there is instead of a true emulation, building a mapping of all the freertos calls to get remapped to posix
> pthreads and queues. I have done this for testing a system before getting hardware.
That's what we are looking for!
So far, our data logger application is running on ARM Cortex M3 with touchscreen b/w lcd -and- Windows/Linux and SDL library sharing the same application code.
This is a terrific value as the user can read data and change the setups (stored on a SD card) using the same interface.
Now it's time to add RTOS functionality to the system, and we would keep the same ease of use and development.
So please can you send us the code you use before getting the real hardware? Here is my e-mail: gianlucarenzi [at] eurekelettronica.it

RICHARD:
> I have a project sent to me by a third party that allows non-real time use under Windoze.
We would be glade to you, if you can send us this project. I will write to your account directly for this.

Best regards,
Gianluca Renzi


[ 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