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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/27/05 17:38
Modified:
  09/27/05 17:43

Read: times


 
#101614 - 1) wrong place the setting of "use inyte
Responding to: ???'s previous message
is 768bytes. how can i access that? Is that config AUXR = 16 at the beginning of the main program?

#include "AT89c51ED2.h"

void main(void)
{
AUXR = 16;


1) wrong place the setting of "use internal XRAM should be in (a private copy of) startup.a51 IMMEDIATELY following the label STARTUP1:. There are XDATA activities by the program BEFORE main() is reached.

2) whether '16' is the right bit, you will have to check with the datasheet. I do, however not like the use of '16' which is totally unclear. Either use a bit name or 010h.

Erik


List of 7 messages in thread
TopicAuthorDate
Problems about XRAM on AT89C51ED2            01/01/70 00:00      
   1) wrong place the setting of "use inyte            01/01/70 00:00      
   config in Startup.a51            01/01/70 00:00      
      Learn to walk first            01/01/70 00:00      
      Also, if you want to be able to work in            01/01/70 00:00      
   Thanks for all~!            01/01/70 00:00      
      learning by trying can be very dangerous            01/01/70 00:00      

Back to Subject List