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

Trying to set the IDE to recognize additional RAM available from a larger external DDRAM designed into current design

I'm currently trying to upgrade the DDRAM externally addressed by a SAM9G15 processor from a 2Meg part to a 4Meg part. The code is being developed on a Keil uVision IDE (vesion 5.14.0.0) and I have been trying to get the development system to recognize that there is additional DDRAM available. The options menu, under "Target", has an option to adjust the RAM1 size, which I changed from 0x200000 to 0x400000. With this change I continue to get error messages about exceeding memory limits. I also tweeked the scatter file (CG_SAM9.sct) to reflect different memory allocation without success. Is there anything else I may need to do to support increased memory availabliity?

Parents
  • Perhaps determine what is being used currently, and where it is being allocated from?

    Usually it will say how much it is being exceeded by, and by what. Perhaps increase the limits to match that, and then review the .MAP file to understand what is eating the memory. Structures using RAM that needs initialization will need to take it from somewhere. For things that don't need initialization consider marking as NOINIT and corralling via scatter file and attributes.

Reply
  • Perhaps determine what is being used currently, and where it is being allocated from?

    Usually it will say how much it is being exceeded by, and by what. Perhaps increase the limits to match that, and then review the .MAP file to understand what is eating the memory. Structures using RAM that needs initialization will need to take it from somewhere. For things that don't need initialization consider marking as NOINIT and corralling via scatter file and attributes.

Children