Is it that the "link application to ram" idea is that we can easily start debug application which usually runs in flash ?
Isn't it possible to debug application in flash ?
Yes, you can debug in flash. This is how most people develop their applications. The link-to-ram is a specialist setting that you do not need to use.
Just for my general knowledge, what was the idea behind "link to ram" ? Is it for flash that can be debugged ?
It is for running your application in RAM instead of FLASH. That was necessary in 'old' days if you only were able to program the FLASH a few time until it weared out. Another benefit is that on some targets running the application in RAM is faster, but in that case you probably want to have the code in FLASH and then copy it to RAM at runtime.
I hope this helps,
Retrieving data ...