We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using AT89C5131 uC with hardwaired external 32K RAM from address 0x0000 to 0x07fff. I am able to read/write OnChip 1K RAM and External connected RAM by toggling EXTRAM Bit in AUXR register.
I wanted to declare huge amount of varaiables in both the RAMs for my static arrays by using -at- keyword. How can I do this in ERAM?
Why do you want to use the _at_ keyword? I do (by other means) when using SILabs chips.
This allow 'sorting' of variables so that the most frequently accessed ones are in the faster internal RAM.
However, instead of using the _at_, which ever so easily lead to errors (overlap), what I do is to declare all RAM in an assembler module and have a .h module with all the extenals decalrations to it.
Erik