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

Problems with external memory

Hello everyone,

I am working with a LPC2292 board,and as I jus started with this board I am a bit lost.My problem is that I have to use big variables,so I tried to locate then in the external RAM. I wasn't able to do it automatically with the linker,so I did it using the tool "__at",this memory is accesible at direction 0x81000000. The variable is created at this position without problems, but when executing the program the values of any variable at that memory are 0, and never changes, whatever I do, I have tried everything but still does not work, I need help.

Does anyone know what's the problem??

Does anyone knows why I am not able to automatically configure the linker to alloate variables at external memory automatically?? I have tried with the examples, and they did not work.

Thank you in advance.

Parents
  • Thank you very much for your fast reply,


    Do you have any external memory?

    Yes, the device have two, a flash memory allocated at 0x80000000 and a RAM memory allocated at 0x81000000

    Do you have configured the project, and told how large the memory are, and where it is located?

    Yes, I did it, at target dialog.

    Have you specified that the memory is writeable?

    I configured the memory as a RAM memory, and I think the program configures it as writable.


    Are you using the free evaluation version?
    If so, is this a limitation of the free evaluation version?

    It is not a free vresion, it fact, the simulator does it perfectly, but it is not the same using the debugger

    Again, thank you very much

Reply
  • Thank you very much for your fast reply,


    Do you have any external memory?

    Yes, the device have two, a flash memory allocated at 0x80000000 and a RAM memory allocated at 0x81000000

    Do you have configured the project, and told how large the memory are, and where it is located?

    Yes, I did it, at target dialog.

    Have you specified that the memory is writeable?

    I configured the memory as a RAM memory, and I think the program configures it as writable.


    Are you using the free evaluation version?
    If so, is this a limitation of the free evaluation version?

    It is not a free vresion, it fact, the simulator does it perfectly, but it is not the same using the debugger

    Again, thank you very much

Children
No data