we are designing DATA loggers for Railways. For that we are using 2468 ARM processor. while designing the system we have an issue that
all local variables should be stored in INTERNAL RAM (64k) & all GLOBAL VARIABLES should be stored in EXTERNAL SDRAM.
is this feature available in KEIL ARM if so how to configure it.
Another one is how to STORE a variable in a particular memory location (global or local variable) in Keil compiler..
can any one help me.........
Replay to Are you sure that this is the best (or even a good) way to proceed? ik
Data logger is a very big project, every day it has to log 1lak packets. For this memory managemet is the big issue for us. so we are accessing the EXTERNAL memories also (SDRAMs).we have variuos modules for that we have various buffers common to all modules which are very big in size. so these buffers should be global to the system. internally we have very less memory. So our idea is to make the internal memory for the creation of local variables & external SDRAM memory for global variables creation.
will u suggest any approach......if possible
Before considering how to do this, please explain why you think you need to do it - there may well be better ways to achieve whatever it is that you're trying to do!
The assignment of program "objects" (functions, variables) to hardware memory addresses is done by the Linker - so you need to be studying the Linker manual for that.
The compiler does have facilities to assign an absolute memory address to a variable; see the Compiler manual - but, again, why you think you need to do it?
View all questions in Keil forum