Hi, I have two memory (Flash & NVRAM). I need to access both memories. I am writing program in C. If I want to store some variables in NVRAM and some in Flash how do I do it? Is there any mechanism (like code if U give it will directly go to code memory) so that I will define NVRAM as my first address of the NVRAM then after that if I declare some variables under NVRAM (like code or Xdata) it will work?
hi; you write this for example: unsigned char xdata messaage _as_ 0x012e every time you use message you can write or read it. ofcouse you must design with nvram. address bus link to 74ls573 latch and data bus to nvram data bus