Execute code from ram - When will the code be copied into the ram?

I configured a module in my code so that the functions will be executed from ram. I'm wondering now, when the code will be copied from flash into the ram? At startup? Unpredictable?

Thanks for your advice in advance

Fabian

More questions in this forum