??? 11/05/08 09:41 Read: times |
#159724 - it's working Responding to: ???'s previous message |
Hello,
here is my part of code for reading and it's work EA_save = EA; EA = 0; pread = 0x1000; FLSCL |= 0x01; PSCTL = 0x00; while (*pread !='') { eedata [jj] = *pread; // copy byte pread++; // advance pointers jj++; } PSCTL = 0x00; // MOVX writes target XRAM FLSCL &= ~0x01; // disable FLASH writes/erases from // user software EA = EA_save; // re-enable interrupt Another question: in the datasheet it is stated that the "write cycle time is 50 μs. Does this mean that to write a byte in a memory address writing time is 50 μs? Thanks Regards |