I had rarely similar issues. I usually
- Rebooted PC
- changed optimization to "none"
- rebuilt project
- (very rarely) check for clobbered stack
I'll try the reboot. I changed optimization to "none" in Compiler and Linker settings under the Gcc compiler. Is that all I need to remove optimisation?
Thanks again Bob
I did not mean to change any linker optimization, sorry.