Hi,
I have two RAM on my board.
I am using external ram which starts with address : 0x6000000 External RAM size : 1Mb
Internal ram which starts with address : 0x2000000 Internal RAM size : 128 kb
As I am running out internal ram. I starts using external ram for global variables. which is not idea.
I specify use external ram per cpp file properties in Keil IDE. these files have global variables. This works but not pretty to maintain.
All heap and stack use internal ram.
How I can use external ram with heap. Can I use Keil Memory pool functions with external ram access? Do I need to overload new and delete operators?
I am do want to use heap allocation for some pointer on internal ram.
External RAM is slow access.
Thanks, Naeem
As we are running out of heap on internal ram.
We should consider using heap on external ram using scatter file.
http://www.keil.com/forum/23045/setup-heap-on-external-ram/
stack can remain on internal ram for fast access.
Any alternative method?