Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/05/02 17:17
Read: times


 
#30238 - 89C51RD2 mem issue

I am using Keil's uVision 2 to develope a small program, but I have some problems:

If I compile this program:

#include <stdio.h>
#include <reg52.h>

void main (void) {

xdata char buffer[100];

SCON = 0x50;
TMOD |= 0x20;
TH1 = 221;
TR1 = 1;
TI = 1;

buffer[1] = 10;
printf("Donen");
while (1);
}

then try to debbug with Keils' uVision Eval using the device Atmel T89C51RD2, the suite crashs. But if I assing the Philphs T89C51RD2 device, the debbuger goes well... anyone have any idea about what can cause this problem? This annoying me. The problem is that I can't modify any value of a xdata variable. Why? I am sure that EECOM is set properly.

Thank you.

List of 2 messages in thread
TopicAuthorDate
89C51RD2 mem issue            01/01/70 00:00      
RE: 89C51RD2 mem issue            01/01/70 00:00      

Back to Subject List