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

How and where FreeRTOS boots/starts ?

Posted by bertrandmercier on March 7, 2016

Hello,

I'd like to know how FreeRTOS starts in memory ? Does it need a bootloader like linux ?

Thank you Best Regards


How and where FreeRTOS boots/starts ?

Posted by edwards3 on March 7, 2016

On small micros FreeRTOS apps start just like bare metal apps. Bootloaders are not needed unless you are using something like an Atom. This may help understanding http://www.freertos.org/FAQMem.html#BootTime


How and where FreeRTOS boots/starts ?

Posted by bertrandmercier on March 8, 2016

Thank you very much. What do you mean by small micros ? So for bigger micros, FreeRTOS needs a bootloader. When you speak about Atom, you mean Atom Intel processor ?


How and where FreeRTOS boots/starts ?

Posted by richard_damon on March 8, 2016

The details of how a program is loaded into a machine is very much machine/processor dependent. Many/Most smaller processors have a reasonable amount on non-volitile memory directly attached to the processor, and for those machines, the simplest way to put a program is directly in that memory and have the processor just jump to that code.

Bigger machines, which often have bigger programs, might rather than have that much high speed non-volitile memory, may instead have lots of RAM, and a slower storage that the program needs to be copied out of into RAM, and then run. This is often called bootloading (There is a small program in non-volitile memory that pulls the bigger program to be used).

Note that FreeRTOS is basically a 'nano-kernel' which is compiled into your program, so we have a single program that needs to be in/loaded into the machine, so if we do need a boot strap, it can be fairly simple.

For something like Linux, which grew up as a disk based system, the OS normally needs to be pulled in from some bulk store into ram, and also at this boot time, drivers for devices found get loaded, and additional processes that are needed to run. The Boot Loader to do all this tends to be more complicated than what I described for loading a FreeRTOS application, so often a system will use the sequence I described above to load in the Linux Boot Loader, which then loads Linux. There are version of Linux that have been customized for smaller embedded application that can be loaded just like a typical FreeRTOS application.


[ 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