Daniel,
 
Your pragma suggestions removed the warnings.
Thank you. This was a great help, moving me forward.
Strange that TN235 does not mention this issue.
 
I do not understand how to "Check how your pragma looks..."
Can you please explain this in some more detail, as I cannot find the "context menu".
 
My stack is not banked and after your help I am now able to execute from RAM.
 
I need to execute out of RAM, because I am reprogramming the flash with a new program.
In order to do that I need to erase the flash that is running the current program,
including non-banked flash, so I can put my new program in those banks.
 
I cannot erase memory that I am executing from, so I need to move som programming
functions onto the stack and run it from there, now being able to erase and reprogram.
After all is said and done, I'll let the COP reset, and I'm up and running the new program.
 
This is my plan. I'm not there yet.
 
Thanks for your help,
Anders J