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
  • Hello,

    I have RAM enough, that I'm sure.

    A long use 4 bytes, so an array with 0x80000 longs will use

    0x80000 x 4 bytes = 2097152 2Mb each array

    So if I have 3 external memorys with 2097152bytes and I want to alocate 3 arrays with 2097152bytes I dont understand how is not memory enough.

    Excuse me if I was not clear enough.

    Thank you

Reply
  • Hello,

    I have RAM enough, that I'm sure.

    A long use 4 bytes, so an array with 0x80000 longs will use

    0x80000 x 4 bytes = 2097152 2Mb each array

    So if I have 3 external memorys with 2097152bytes and I want to alocate 3 arrays with 2097152bytes I dont understand how is not memory enough.

    Excuse me if I was not clear enough.

    Thank you

Children