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.
Hello,
I'm using a AT89c51cc01 and would like to add external memory. The code compiles but i can't get it loaded into the µc. Could annyone assist me with this? Kind Regards Rob
#include "t89c51cc01.h" #include "absacc.h" unsigned char xdata PA _at_ 0x800; //Assign PA to xdata location 0x800 main (void) { AUXR=0x0F; //activate EXTRAM while (1) { PA=0xFF; } }
Cross posted 8052.com/.../165953
I would like to address external RAM. I've used Chriss Hills C51 primer, and the µc datasheet as guidance. the only problem encountered (so far) is that i can compile the code but when trying to write the hex file it fails... Are there any special compilation paramters you have to take into account? I've tried using the XBYTE function but here I also encounter the same problem. Can someone tell me some pointers that could help me find the answer?
that i can compile the code but when trying to write the hex file it fails.. assuming Keil tools (it is posted here) 1) the linker makes a file (.omf) 2) bin2hex convert .omf to .hex
Erik