I'm looking for examples/suggestions on how I can most easily go about using the extra RAM I have.
Our application quite happily runs in the 64k available at the moment
- but I some large arrays(debug type stuff) that I could cache away in the higher bank to free up some space
I'm quite familiar with the concept
- and it makes logical sense to put this data away there
I've contemplated a readByte(char *) write(char*, val) approach
- manually defining the addresses of my static arrays
- and switching banks under the covers in there
but it seems quite heavy that way
Is there a simple way to tell the compiler/linker that a static array will be in the higher bank (so it will "overlap" the lower adress space somewhere)
-then I can just manually switch when I need to access it (ensuring that I leave space in the onchip ram into which I can transfer the data)
Hope that makes sense?
- any and all suggestions gratefully received
All the best