This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to store a variable in a particular memory location

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.........

Parents
  • "Data logger is a very big project"

    The Keil tools are used to dealing with large projects - it is far better to leave the tools to manage this stuff than to try to "fight" them.

    Unless you have some specific problem with the way that the tools allocate memory, I would strongly recommend that you do not interfere!

    If you find that you really do need to take manual control, then the Linker Scatter Loading File (or just "Scatter File" for short) is the means by which to do it.
    See the Linker manuals for details.

    NB: it's "reply" rather than "replay"

Reply
  • "Data logger is a very big project"

    The Keil tools are used to dealing with large projects - it is far better to leave the tools to manage this stuff than to try to "fight" them.

    Unless you have some specific problem with the way that the tools allocate memory, I would strongly recommend that you do not interfere!

    If you find that you really do need to take manual control, then the Linker Scatter Loading File (or just "Scatter File" for short) is the means by which to do it.
    See the Linker manuals for details.

    NB: it's "reply" rather than "replay"

Children