Quality RTOS & Embedded Software

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


Loading

External task

Posted by henrique canova on November 8, 2012
Hi,

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:

if(xxx){
int t = a;
do yyy;}
do_this(xxx);


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?

thanks

hcanova

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.

Regards.

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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner