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


External task

Posted by henrique canova on November 8, 2012

I need to make one project and for it, I need do run an simple code made for an user inside my microcontroloer, I'm thinking to make this code one task of the RTOS, but I want to know if is possible to run this task from an external memory like eeprom or form the flash memory, for example, the user write an code:

int t = a;
do yyy;}

this code will be loaded in an memory (I dont know exactly how to do that)

and finally the code will be executed like an task

is it possible?



RE: External task

Posted by Richard on November 8, 2012
I don't really understand what your asking, but something in the following might answer your questions.

Applications that use FreeRTOS are statically linked into a single binary executable image. If you want to run code from an external EEPROM, or any other external memory, and code that doesn't use FreeRTOS runs from that memory, then code that does use FreeRTOS will also run from that memory. There is nothing magic about a FreeRTOS application, it is just an executable program like any other.

Hope that helps.


RE: External task

Posted by maxter on November 14, 2012
To run code from an externally memory is only possible in a few uC. One workaround can be this:

1.- Load the code that resides in the external EEPROM into the uC RAM
2.- Make your PC (Program Counter) to jump to RAM so it runs from there (that is possible in most ARM uC, indeed)

[ 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