I have found various information, but it is a bit disconnected. As such I have the genral idea, but was wondering if there is a more consise description of the current status of the ramfuncs, or the moving memory from frlash to RAM (ie: storing in FLAHS, but moving to RAM for execution)
The sources I have looked at are:
now the first source explains the general idea of what is going on under the hood where a code copy command is being inserted at some point, however it appears things have changed terminology since this document.
As such it appears from looking at examples that we just use ramfuncs and codestart, and it appears we need to set the -ramfuncs option to the compiler if we desire all functions to be moved to ram.
I can't find anywhere any specific reference to initialized data? So the question would be, if I just allocate initialized data to RAM, will it be copied from flash to RAM? or do I need a -ramData option? Also in the current form, since we don't seem to need to include wddisable and the copy sections as the first source required... so I'm assuming these have somehow been built into the current version so this code copy is happening solely with the inclusion of codestart and ramfuncs?
Is there any current documentation like the first source that very explicitly explains where/how this code copy is happening?
Thanks.