what is scatter file? what is its advantage? Kindly tell, i do not anything about these.
Thanks Sukhdeep Singh
Please read the manual: Read The Fat Manual
infocenter.arm.com/.../Chdiehag.html
I use this on a daily basis to keep addresses that I might use in my code in sync with the scatter file.
Doing it the other way around, is also possible by accessing linker generated symbols (finding this in the manual is left as an exercise ;-). However, this has the downside that those values are not available at compile time and might cause extra memory accesses.
Regards Marcus http://www.doulos.com/arm/