hello, i've declared an external memory mapped at address 8000H, and load data into it :
unsigned char xdata xdisp[15][24] _at_ 0x8000; unsigned char i; for (i = 0; i < 16; i++) { xdisp[i][0] = i; xdisp[i][1] = i + 1; xdisp[i][2] = i + 2; xdisp[i][3] = i + 3; xdisp[i][4] = i + 4; xdisp[i][5] = i + 5; } for (i = 0; i < 16; i++) { P1 = xdisp[i][0]; }
the result in P1 is the address of xdisp[i][0] and not the value in it. how can i use a pointer or something else to recieve the values.
thanks
i have connected A0-A12 to 27c256. also i added 6264 8K ,CS connected to A15. so 6264 chip is starting at address 8000H.
where is the ALE latch????
bible time
here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
ALE is connected to 74ls373 between uC and Eprom/6264. the problem is that no data are send from 6264 back to P0. when i read from RTC which is also included i use :
#define HR_rtc XBYTE[0x4000] time_hr = HR_rtc;
and i can receive all the data i need from the RTC so ALE is not the problem...