FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2012 Threads] External taskPosted 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 taskPosted 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 taskPosted 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)
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|