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

vmware qemu port

Posted by sashiono on August 14, 2007
I would like to try to get FreeRTOS to run in an emulated environment. I'm Thinking the best platform would be Qemu. mainly because this could simulate many different hardware configurations.

RE: vmware qemu port

Posted by sashiono on August 14, 2007
Originally I was thinking that it could be based off of one of the dos ports. but I think better would be to use QEMU. Perhaps the qemu-system-arm flag would be the best option. as it has a dual uart, Ethernet and a ARM926E core.

The Main hurdle is getting FreeRTOS to compile into the proper form that QENU can recognize, boot, and execute. Or really any application for that matter. If I could find a "hello world" type makefile that builds a QEMU bootable image. that would be a great starting point.

Once we can do that, then debugging via gdb would be simple and we really have unlimited ram to try out things with freertos.

I don't have much experience with QEMU, but it seems that it would be possible.

It would also be a good way for people to try out FreeRTOS without hardware. Or before their hardware is ready.

RE: vmware qemu port

Posted by sashiono on August 14, 2007
just found this as well, working on getting it setup. http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU
essentially an emulated S3C2410A and some peripherals.
could make a decent Simulated FreeRTOS environment.

FreeRTOS running on skyeye simulator

Posted by sashiono on August 18, 2007
I finally got FreeRTOS running on a simulated arm7.
I'm using Skyeye simulating the lpc2210 hardware.
I'm using timer0 and uart0 simulated hardware

right now I have direct serial print functions working, When I try interrupt driven I can't only get one character to print out. So I'm guessing that the interrupt driven uart is not properly simulated.

so far I have been able to get tasks and coroutines(in the idle hook)
right now I have three tasks and two coroutines all being scheduled properly.

Both preemptive and not preemptive modes seem to work as well. (to test out preemptive I have one task not blocking and other tasks still get swapped in to run)

A couple of stuff I haven't figured out yet is that the timers are not quite operating at the correct speed, so right now even though the tick should be every 1ms. its more like every 2 seconds. (and I know that skyeye is not that slow) I'm guessing that it is not properly simulating the pll. and I have no idea what the default clock is running at.

I'll post up an example when I get more stuff figured out.

but everything is looking good so far.

RE: FreeRTOS running on skyeye simulator

Posted by Richard on August 20, 2007
Sounds very interesting. I am not familiar with SkyEye at all. Let me know when you post something up so I can link to it.

Regards,
Richard.

RE: FreeRTOS running on skyeye simulator

Posted by sashiono on August 20, 2007
Here is a link to what I have working so far.

http://pureengineering.pbwiki.com/SkyEye

If anyone has played with skyeye before and could help me figure out the bugs that I have that would be great.


[ 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