RyanHan
Junior Member level 3
Dear Expert,
I have a MCU Dallas DS89C450 with the follow memory map as attached. I need to declared a Data buffer of 1kbyte as follows
Data1[500], Data2[500];
However, I am quite confused as to where can I declared my variable. The MCU has 1kB SRAM and 16kB Flash memory. I am using Keil C programming but I am not sure how can I declare this 1kB data variable and how to read and write from it using Keil C.
I tried to compiled unsigned char Data1[500], Data2[500]; and the the compiler give memory error.
Anyone know Keil C programming to access my 1kB of SRAM so that I can read and write from it pls help
Thanks a lot
I have a MCU Dallas DS89C450 with the follow memory map as attached. I need to declared a Data buffer of 1kbyte as follows
Data1[500], Data2[500];
However, I am quite confused as to where can I declared my variable. The MCU has 1kB SRAM and 16kB Flash memory. I am using Keil C programming but I am not sure how can I declare this 1kB data variable and how to read and write from it using Keil C.
I tried to compiled unsigned char Data1[500], Data2[500]; and the the compiler give memory error.
Anyone know Keil C programming to access my 1kB of SRAM so that I can read and write from it pls help
Thanks a lot