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

RAM Mapping

Hello,

I'm having a little problem to map the RAM memory in my project.
I'm using LPC2478 and I have 3 memory banks at
0x80000000 with size 0x200000
0x81000000 with size 0x200000
0x82000000 with size 0x200000

The memory map should be :
stack at internal ram 0x40000000
module bank.c using all the tree banks for database

How do I write the scatter file to alloc this memmory map?

Parents
  • Thanks for your help.

    But I think is not exactly that.
    Look a simple example, a have this three areas

    long Bank0[0x80000];
    long Bank1[0x80000];
    long Bank2[0x80000];

    But when I compile the folowing messages is shwon:

    "No space in execution regions with .ANY selector matching Section .bss(banck.c)"

    "Sections of aggregate size 0x600000 bytes could not fit into .ANY selector(s)."

    But in the memory window all parameter are configured with the write address and size. I have area enough to alocate those banks. How do I write the all scatter file?
    What should I do? I'm getting crazy!

Reply
  • Thanks for your help.

    But I think is not exactly that.
    Look a simple example, a have this three areas

    long Bank0[0x80000];
    long Bank1[0x80000];
    long Bank2[0x80000];

    But when I compile the folowing messages is shwon:

    "No space in execution regions with .ANY selector matching Section .bss(banck.c)"

    "Sections of aggregate size 0x600000 bytes could not fit into .ANY selector(s)."

    But in the memory window all parameter are configured with the write address and size. I have area enough to alocate those banks. How do I write the all scatter file?
    What should I do? I'm getting crazy!

Children