This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FLIP won't upload program using XDATA, AT89c51cc01

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;
}
}

0