When code is copied to RAM (for example the code for rewriting internal flash) how the RAM is allocated? Is it allocated statically or just uses any free space remaining below the stack? I cannot find this in the documentation.
For the Cosmic compiler look for "Moveable Code" in the user manual (page 286), there is an explanation and a short example.
Unless there are specific execution requirements, RAM is allocated in normal fashion, off the stack, from the heap or statically.
Understand how the core executes code, address dependency, control transfer, etc.
Thank you Luca
Retrieving data ...