Page 1 of 1

Update binary in one core at runtime

Posted: Tue Jul 21, 2020 6:31 pm
by Javier
I have an application with all its tasks pinned to core 0, except for a single task pinned to core 1 (core 1 task doesn't need FreeRTOS).
I would like to know if it is possible to dynamically change the task running on processor 1 with a precompiled binary downloaded externally?
I would think in something like writing the binary into a specific location in memory, and then a function pointer into that location.
I'm interested in the details in how to generate the binary for that specific function, and how to jump to it, etc., or if there is any other mechanism I could use.

I will apreciate any pointer into the right direction.
Many thanks!