• Reading/Writing external memory using xdata
    I like to know how to read external memory using xdata .I've tried like this unsigned char xdata *PORTA=0X8000; unsigned char xdata *CW=0X8003; unsigned char val2, val3; val2=0X80; CR=&val2; val3=0X50;...
  • Reading/Writing external memory using xdata
    I like to know how to read external memory using xdata .I've tried like this unsigned char xdata *PORTA=0X8000; unsigned char xdata *CW=0X8003; unsigned char val2, val3; val2=0X80; CR=&val2; val3=0X50;...
  • Allocate the global variables to XDATA in small memory model
    I have a MCS51 project which is compiled in small memory model, now I want to add a module to the project, the source files of the module comes from other non-C51 project, so I want to compile these...
  • Allocate the global variables to XDATA in small memory model
    I have a MCS51 project which is compiled in small memory model, now I want to add a module to the project, the source files of the module comes from other non-C51 project, so I want to compile these...
  • Using xdata memory and writing to flash/EE data with ECON/EDATA
    When enabling the internal xdata memory (XRAMEN EQ 1 in START_AD.A51), writing to the flash/EE data memory fails with error code 15 in ECON in the code below. If XRAMEN is set to 0, xdata does not...