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.
Now I want to read and write data in the flash data memory about the Philips 89C51RD2,as the eeprom function. with its document,I write some test code: void Flash_WR_RD() { AUXR1 = 0x01;//use the DPTR1 R0 = 25; //25MHz in board R1 = 0x0c; //erase 4k blocks DPH = 0x00; //block #0 DPL = 0x00; R0 = 25; R1 = 0x0d;//program data block DPH = 0x08; DPL = 0x00; ACC = 0x10; R0 = 25; R1 = 0x0e;//read data block DPH = 0x08; DPL = 0x00; AUXR1 = 0x00;//use DPTR0 } But I haven't get any data what I want in memory. I don't know how can I get what I want--program store in some memory; and the data store in another area,which can read and write correct. To me some suggest,thanks.
Why not use the best FlashMagic especially since it is free? Because I have not use the serial port(the TXD and RXD pin hasn't used),so I can't use the flashmagic. Now I want to read and write data in the flash data memory about the Philips 89C51RD2,as the eeprom function. yes,I think so,as the document said,but maybe not really correct. I will use the Atmel 89 serial,but I would like to use the philips 89-cpu,as the eeprom function. of course,the document's description isn't clearness,so maybe difficult for implement the function.